:root{--bg:#f3f6fa;--paper:#fff;--ink:#17263d;--muted:#718096;--line:#dce5ee;--accent:#0c7792;--accents:#e9f8fc;--dark:#10283c;--amber:#efaa3b;--shadow:0 8px 28px #10283c0d;--r:14px}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg);color:var(--ink);font-size:13px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}#app{height:100vh;height:100dvh;display:flex;flex-direction:column;min-height:550px;overflow:hidden}.top{min-height:66px;background:var(--dark);color:#fff;display:flex;align-items:center;gap:13px;padding:10px 18px;box-shadow:0 3px 12px #12283e22;z-index:3}.brand{display:flex;align-items:center;gap:12px;min-width:220px}.brandmark{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#13a3bc,#0c5d8e);font-weight:900;font-family:Georgia,serif;font-size:21px;box-shadow:inset 0 1px #ffffff50}.brand strong{display:block;font-size:16px;letter-spacing:.2px}.brand small{font-size:10px;color:#b1c8d5}.top-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.grow{flex:1}.btn{min-height:34px;border:1px solid var(--line);border-radius:9px;padding:7px 11px;display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--paper);color:var(--ink);font-weight:650;white-space:nowrap;transition:background .12s,transform .12s}.btn:hover{background:#f1f8fb}.btn:active{transform:translateY(1px)}.top .btn{border-color:#466074;background:#1e3a50;color:#f3faff}.top .btn:hover{background:#31556a}.btn.primary,.top .btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.primary:hover{background:#0d6680}.btn.light,.top .btn.light{background:#fff;color:#13324b;border-color:#fff}.btn.tiny{min-height:28px;padding:5px 9px;font-size:12px}.btn.square{padding:7px;min-width:34px}.btn[aria-pressed=true],.tool.active{background:var(--accents);color:var(--accent);border-color:#8dcddc}.top .btn[aria-pressed=true]{background:#176c7e;color:#fff}.workspace{display:grid;grid-template-columns:270px minmax(300px,1fr) 322px;flex:1;min-height:0;gap:10px;padding:10px}.panel{min-height:0;background:var(--paper);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);display:flex;flex-direction:column;overflow:hidden}.panel-head{padding:15px 15px 12px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #edf1f6}.panel-head strong{font-size:14px}.panel-head .meta{margin-left:auto;color:var(--muted);font-size:11px}.panel-body{overflow:auto;min-height:0}.left .panel-body{padding:13px}.seg{display:flex;background:#f0f4f7;padding:3px;border-radius:10px;gap:3px}.seg button{flex:1;min-width:0;border:0;border-radius:8px;background:transparent;padding:9px 6px;color:var(--muted);font-weight:700}.seg button.active{background:#fff;color:var(--accent);box-shadow:0 2px 5px #24455c13}.category{margin:20px 2px 10px;font-size:11px;font-weight:800;letter-spacing:.9px;color:#798b9c;text-transform:uppercase}.preset{width:100%;border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 11px;text-align:left;display:flex;align-items:center;gap:11px;margin-bottom:8px;transition:box-shadow .14s,border .14s}.preset:hover{border-color:#75c0d1;box-shadow:0 4px 14px #157c951a}.preset .thumb{display:grid;place-items:center;min-width:45px;height:43px;border-radius:8px;background:#edf8fa;color:#0b7189;font:italic 23px Georgia,serif}.preset strong{display:block;font-size:12px;line-height:1.35}.preset small{display:block;color:var(--muted);font-size:10.5px;margin-top:3px}.tipbox{margin-top:15px;padding:12px;background:#f7f9fc;border:1px dashed #cbd7e3;border-radius:10px;color:#697c8e;line-height:1.55}.tipbox strong{color:var(--ink)}.tools-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.tool{background:#fff;border:1px solid var(--line);border-radius:10px;padding:11px 4px;display:flex;align-items:center;flex-direction:column;gap:7px;min-height:72px;color:#415169;font-weight:650}.tool .ico{font-size:22px;color:#0c7792;font-family:Georgia,serif}.tool:hover{border-color:#81c9d8}.center{min-width:0}.canvas-top{padding:11px 12px;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);flex-wrap:wrap;min-height:60px}.canvas-top strong{white-space:nowrap;font-size:13px;margin:0 auto 0 2px}.switch{display:flex;gap:5px;align-items:center;color:#51667a;font-size:12px;white-space:nowrap}.switch input{accent-color:var(--accent)}.canvas-wrap{position:relative;flex:1;min-height:0;background:#fbfcfe;overflow:hidden}.canvas-wrap.grid-on{background-color:#fbfcfe;background-image:linear-gradient(#e8edf366 1px,transparent 1px),linear-gradient(90deg,#e8edf366 1px,transparent 1px),linear-gradient(#ccd8e966 1px,transparent 1px),linear-gradient(90deg,#ccd8e966 1px,transparent 1px);background-size:20px 20px,20px 20px,100px 100px,100px 100px;background-position:center}.svgstage{width:100%;height:100%;display:block;touch-action:none;cursor:crosshair}.svgstage.select{cursor:default}.svgstage.pan{cursor:grab}.svgstage.pan.dragging{cursor:grabbing}.svgstage .shape{cursor:pointer}.svgstage .shape.selected{filter:drop-shadow(0px 0px 3px #0696be77)}.svgstage .shape.selected:not(text){stroke:#069dbb!important}.svgstage .shape.selected text{fill:#069dbb!important}.svgstage .shape:hover{opacity:.85}.editor-handle{fill:#fff;stroke:#0794b7;stroke-width:2.4;cursor:crosshair;pointer-events:all}.editor-handle:hover{fill:#e1faff}.vector-caption{pointer-events:none}.property-content .btn{font-size:11px}.properties-help{background:#f4fafc;border:1px solid #d8ebf0;border-radius:9px;padding:9px;color:#48667c;font-size:11px;line-height:1.5;margin-bottom:11px}.canvas-note{position:absolute;top:13px;left:50%;transform:translate(-50%);background:#fffef3e8;border:1px solid #e9e2c4;border-radius:100px;padding:8px 13px;color:#64717a;font-size:11px;pointer-events:none;white-space:nowrap;max-width:94%;overflow:hidden;text-overflow:ellipsis;box-shadow:0 2px 8px #ddd6bb20}.zoom-controls{position:absolute;bottom:15px;right:15px;display:flex;align-items:center;gap:4px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);padding:5px;border-radius:100px}.zoom-controls button{border:0;background:#f5f8fb;width:27px;height:27px;border-radius:50%;color:#486176;cursor:pointer;font-size:17px}.zoom-controls span{padding:0 10px;min-width:50px;text-align:center;font-variant-numeric:tabular-nums}.canvas-footer{border-top:1px solid var(--line);padding:9px 14px;color:#65788b;font-size:11px;display:flex;gap:15px;align-items:center}.canvas-footer b{color:#344e63}.right .panel-body{padding:0}.right-tabs{padding:5px;background:#f1f5f8;border-radius:9px;display:flex;gap:3px;margin:10px}.right-tabs button{border:0;background:transparent;border-radius:7px;flex:1;padding:10px 5px;font-weight:700;color:#607184}.right-tabs button.active{background:#fff;color:var(--accent);box-shadow:0 2px 7px #526a8220}.section-label{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.7px;color:#8a99a7;padding:10px 14px}.property-content{padding:0 14px 18px}.empty{border:1px dashed var(--line);border-radius:11px;text-align:center;padding:26px 15px;color:#788a9d;line-height:1.65;margin:14px 0}.prop-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:13px}.field label{font-size:11px;color:#697e8f;font-weight:650}.field input,.field select{width:100%;min-height:34px;background:#fff;border:1px solid #d6e1e9;border-radius:8px;padding:7px 9px;outline:none;color:#23394d}.field input:focus{border-color:#38a7bb;box-shadow:0 0 0 3px #1da3b51a}.field input[type=color]{padding:2px;height:35px}.field input[type=checkbox]{width:auto;min-height:0;accent-color:var(--accent)}.field.horizontal{flex-direction:row;align-items:center;justify-content:space-between}.prop-actions{display:flex;gap:7px;flex-wrap:wrap}.code-wrap{display:flex;flex-direction:column;height:100%;min-height:0;padding:0 11px 11px}.code-actions{display:flex;gap:6px;margin:2px 0 10px}.code-area{background:#f7f9fb;color:#334155;white-space:pre;line-height:1.55;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;tab-size:2;overflow:auto;flex:1;min-height:230px;border:1px solid var(--line);border-radius:10px;padding:14px;user-select:text}.code-help{font-size:11px;color:#718196;line-height:1.5;padding:8px 4px}.status{min-height:32px;padding:7px 18px;display:flex;align-items:center;gap:12px;color:#77899b;font-size:11px;background:#fff;border-top:1px solid #e4eaf1}.status .spacer{flex:1}.status strong{color:var(--accent)}.hidden{display:none!important}.hamburger{display:none}@media (max-width:1180px){.workspace{grid-template-columns:220px minmax(260px,1fr) 278px}.brand{min-width:190px}.preset .thumb{min-width:38px;width:38px}.canvas-note{display:none}}@media (max-width:880px){.workspace{grid-template-columns:minmax(0,1fr);position:relative}.left,.right{position:absolute;z-index:4;top:8px;bottom:8px;width:min(310px,calc(100vw - 30px));box-shadow:0 15px 40px #10283c34;display:none}.left{left:8px}.right{right:8px}.left.show,.right.show{display:flex}.center{grid-column:1;grid-row:1}.hamburger{display:inline-flex}.brand{min-width:0}.brand strong{font-size:13px}.brand small{display:none}.top{gap:7px;padding:9px}.top-actions{gap:5px}.top-actions .optional{display:none}.top .btn{padding:6px 8px}.status{padding:7px 9px}.canvas-top{min-height:45px}}@media (max-width:520px){.brand{display:none}.top-actions{flex-wrap:nowrap}.top{gap:4px}.brand{gap:5px}.brandmark{width:30px;height:30px;border-radius:8px;font-size:17px}.brand strong{font-size:12px}.top .btn.mobile-text{font-size:0}.top .btn.mobile-text span{font-size:15px}.canvas-footer{flex-wrap:wrap;gap:5px 12px}.switch{font-size:11px}}.preset-group{margin-top:10px;border:1px solid #e1e8ef;border-radius:11px;overflow:hidden;background:#fff}.preset-group>summary{list-style:none;cursor:pointer;background:#f3f7fa;padding:12px 10px;font-weight:800;font-size:12px;color:#254c62;display:flex;justify-content:space-between;gap:6px;align-items:center}.preset-group>summary::-webkit-details-marker{display:none}.preset-group>summary:before{content:"\25b8";display:inline-block;transition:transform .2s;color:var(--accent)}.preset-group[open]>summary:before{transform:rotate(90deg)}.preset-group>summary span{font-size:10px;font-weight:600;color:#7790a0;margin-left:auto}.preset-group>.preset{width:calc(100% - 14px);margin:7px}.right-tabs button{font-size:11px;padding:9px 3px}.compile-box{padding:0 12px 18px;display:flex;flex-direction:column;gap:9px;min-height:100%}.compile-status{font-size:11px;padding:9px 10px;color:#4c7385;border-radius:8px;background:#f1f6f9}.compile-status.ready{background:#e7f7f0;color:#146448}.compile-status.warn{background:#fff3e9;color:#9a5933}.compile-label{font-weight:800;font-size:11px;color:#506579}.tex-editor{display:block;width:100%;min-height:175px;resize:vertical;border:1px solid #c8dbe5;border-radius:9px;padding:11px;background:#f8fbfd;font:12px/1.48 ui-monospace,Consolas,monospace;color:#26394f;tab-size:2;white-space:pre}.tex-editor:focus{outline:2px solid #a8dcea;outline-offset:1px}.compile-action-row{display:flex;gap:5px;flex-wrap:wrap}.compile-input-row{display:flex;gap:7px;flex-wrap:wrap}.compile-input-row>label{font-size:11px;font-weight:700;color:#597188;display:flex;gap:5px;flex-direction:column;min-width:0;flex:1}.compile-input-row select,.compile-input-row input{width:100%;min-height:33px;padding:7px 6px;border:1px solid #d2dfe8;border-radius:7px;background:#fff;font:12px system-ui}.compile-main{min-height:38px;width:100%}.compile-preview{display:grid;place-items:center;border:1px solid #d6e3ec;background:repeating-conic-gradient(#f8fafc 0% 25%,#eef3f8 0% 50%) 50% / 16px 16px;border-radius:8px;min-height:155px;max-height:260px;overflow:auto;padding:12px}.compile-preview img{display:block;max-width:100%;max-height:240px;object-fit:contain;background:#fff;box-shadow:0 3px 8px #153a4e1a}.compile-result{display:flex;flex-direction:column;gap:8px}.compile-log{padding:10px;background:#edf7f5;border:1px solid #cde8df;border-radius:8px;font:11px/1.45 ui-monospace,Consolas,monospace;white-space:pre-wrap;overflow:auto;max-height:185px;margin:0;color:#24594d}.compile-log.error{background:#fff2ee;border-color:#f5c5b9;color:#9b3329}@media (max-width:880px){.right-tabs button{font-size:11px}.compile-box{padding-bottom:30px}}@media (max-width:520px){#quickCompileBtn{font-size:0!important;min-width:35px;padding:6px 5px}#quickCompileBtn:before{content:"\2318";font-size:17px}}#modelMount{font-size:12px}.lib-head{padding:6px 6px 12px}.lib-count{font-size:12px;color:#47616b;margin-bottom:8px}.lib-count b{color:#116680}#libSearch{width:100%;height:36px;border:1px solid #d2dee6;border-radius:9px;padding:0 10px;background:#fff;color:#123b52;font:inherit}.lib-filter{display:flex;gap:6px;margin:10px 0}.lib-filter button{flex:1;background:#eef4f8;color:#385363;border:1px solid #d9e5eb;border-radius:8px;padding:7px 4px;cursor:pointer}.lib-filter button.active{background:#0c758f;color:#fff;border-color:#0c758f}.lib-hint{font-size:10px;color:#6f8191;line-height:1.4}.lib-topic{border-top:1px solid #e0ebf1;padding:3px 2px}.lib-topic>summary{display:flex;align-items:center;justify-content:space-between;padding:9px 4px;cursor:pointer;color:#21425b;font-size:13px;list-style:none}.lib-topic>summary:before{content:"\25b8";color:#568396;padding-right:7px}.lib-topic[open]>summary:before{content:"\25be"}.lib-topic summary span,.lib-sub summary span{color:#658291;font-size:11px;font-weight:400}.lib-sub{padding:2px 2px 2px 8px;border-left:2px solid #c6dfe9}.lib-sub>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:11px;color:#3b6376;padding:8px 4px}.lib-tile{width:100%;border:1px solid #e5edf3;background:#fff;border-radius:9px;display:flex;align-items:center;gap:8px;text-align:left;margin:4px 0;padding:7px;cursor:pointer;color:#233d50;font:inherit}.lib-tile:hover,.lib-tile:focus-visible{border-color:#4aa5bd;background:#edfaff;outline:none}.lib-tile img,.lib-icon{height:47px;width:66px;object-fit:contain;border-radius:6px;background:#f7f9fb;flex:none;padding:3px}.lib-icon{font-size:29px;display:flex;align-items:center;justify-content:center;color:#0d7290}.lib-title{flex:1;line-height:1.32;font-size:11px;min-width:0}.lib-title small{display:block;color:#78909b;font-size:10px;margin-top:3px}.right-tabs button{font-size:11px;padding:10px 7px}.layers-head{display:flex;justify-content:space-between;align-items:center;padding:8px 3px;border-bottom:1px solid #d8e5ed}.layers-head small{color:#607989}.layers-list{overflow-y:auto;max-height:calc(100% - 42px)}.layer-item{display:flex;align-items:center;gap:5px;padding:7px 4px;border-bottom:1px solid #e7edf3;font-size:11px}.layer-item.selected{background:#e4f4fb}.layer-item button{border:1px solid #dae5eb;background:#fff;border-radius:5px;min-width:26px;padding:4px;cursor:pointer}.layer-item .layer-name{flex:1;min-width:0;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lib-note{padding:10px;background:#eff7fa;color:#536a78;font-size:11px;line-height:1.5;border-radius:8px;margin:8px 0}.asset-card-badge{font-size:10px;background:#e9f1f4;border-radius:6px;padding:5px;margin-top:6px}.asset-svg-path{pointer-events:visiblePainted}.seg{gap:4px}.seg button{font-size:12px;padding:7px 6px}.graph-head{display:grid;gap:8px;padding:12px;border-bottom:1px solid #e5ebf1}.graph-head input{width:100%;padding:10px;border:1px solid #dce3ed;border-radius:8px;font:inherit}.graph-head small{color:#65788a;line-height:1.45}.graph-section{margin:9px 10px;border:1px solid #e4eaf1;border-radius:10px;overflow:hidden;background:#fff}.graph-section>summary{cursor:pointer;padding:11px;font-weight:700;color:#38516a;display:flex;justify-content:space-between}.graph-section>summary span{color:#8191a3}.plot-tile{display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:10px;background:#fff;border:0;border-top:1px solid #eef2f6;cursor:pointer;color:#23384d;font-size:12.5px}.plot-tile:hover{background:#f1f8fc}.plot-tile .plot-icon{display:grid;place-items:center;color:#267aa6;background:#e8f5fc;width:33px;height:33px;flex:none;border-radius:9px;font-size:20px}.plot-tile small{display:block;color:#75899b;padding-top:3px}.plot-properties{display:flex;flex-direction:column;gap:10px}.plot-properties .plot-header{font-weight:700;color:#174c74;font-size:15px}.plot-preview{width:100%;height:175px;border:1px solid #e0e9f2;background:#fff;border-radius:10px;overflow:hidden}.plot-preview svg{width:100%;height:100%}.plot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.plot-grid label{font-size:11px;color:#566c7f;display:flex;flex-direction:column;gap:5px}.plot-grid input{width:100%;box-sizing:border-box;border:1px solid #d7e2ed;border-radius:7px;padding:8px;font-size:13px}.plot-checks{display:flex;gap:12px;flex-wrap:wrap}.plot-checks label{font-size:12px;display:flex;gap:5px;align-items:center}.plot-hint{color:#718397;font-size:11px;line-height:1.6;background:#f3f8fc;padding:10px;border-radius:8px}.plot-param-actions{display:flex;gap:8px;flex-wrap:wrap}.plot-param-actions .btn{flex:1}@media (max-width:760px){.right-tabs{overflow:auto;white-space:nowrap}.canvas-top{font-size:11px}}.seg{flex-wrap:wrap}.seg button{min-width:0;flex:1 1 65px}.object-tree{padding-bottom:18px}.object-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.object-tile{min-width:0;display:flex;flex-direction:column;align-items:center;gap:5px;position:relative;background:#fff;border:1px solid #dbe6ed;border-radius:11px;padding:8px 5px 9px;cursor:grab;min-height:124px;transition:border-color .15s,background .15s,box-shadow .15s}.object-tile:hover,.object-tile:focus-visible{border-color:#3797c1;background:#f5fbff;box-shadow:0 4px 12px #1b557119;outline:none}.object-tile:active{cursor:grabbing}.object-preview{width:92px;height:77px;display:grid;place-items:center;flex:none}.object-preview svg{width:100%;height:100%;pointer-events:none}.object-name{display:block;font-size:11px;text-align:center;color:#263e53;font-weight:650;line-height:1.3;padding:0 4px}.object-add{position:absolute;right:7px;top:5px;color:#367c9f;font-size:14px}.object-drop-over{outline:3px dashed #2a9ec8;outline-offset:-8px;background-color:#f3fcff!important}.snap-guide{pointer-events:none}.canvas-top{flex-wrap:wrap;row-gap:6px}.canvas-top .switch{font-size:11px}#objectLibrary{height:100%;overflow:auto}#objectLibrary .lib-head{position:sticky;top:0;z-index:1;background:#fff}#objectLibrary .lib-head .lib-count{font-size:12px;color:#577084}@media (max-width:1250px){.object-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.object-preview{width:75px;height:70px}}@media (max-width:550px){.object-tile{min-height:112px}.object-preview{height:63px}.canvas-top .switch{font-size:10px}}.hat-about-link{text-decoration:none;white-space:nowrap;color:inherit}.hat-about-footer{color:#377da0;font-size:11px;margin-right:12px;white-space:nowrap}.hat-about-footer:hover,.hat-about-link:hover{text-decoration:underline}@media (max-width:900px){.hat-about-link{font-size:0!important;min-width:34px;text-align:center}.hat-about-link:first-letter{font-size:17px}}@media (max-width:520px){.hat-about-link{display:none}.hat-about-footer{font-size:10px;margin-right:7px}}.canvas-top .layout-quick{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.canvas-top .layout-quick .btn{font-size:11px;padding:6px 8px}.layout-panel{display:flex;flex-direction:column;gap:13px}.layout-panel .layout-title{font-size:13px;font-weight:750;color:#244c63}.layout-panel .layout-hint{color:#688194;font-size:12px;line-height:1.6}.layout-panel .layout-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.layout-panel .layout-grid button{min-height:38px;border-radius:9px;border:1px solid #cadce6;background:#fff;color:#234b62;cursor:pointer;font-weight:700;font-size:12px}.layout-panel .layout-grid button:hover:not(:disabled){background:#eaf5fa;border-color:#62a3c5}.layout-panel button:disabled{opacity:.35;cursor:not-allowed}.layout-panel .layout-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.layout-panel .layout-actions button{font-size:12px;padding:8px 4px}.layout-panel .layout-check{display:flex;align-items:center;gap:8px;font-size:12px;color:#37546b}.layout-panel hr{border:0;border-top:1px solid #e1eaf0;width:100%}.layout-panel .layout-help{background:#f2f7fa;border:1px solid #e0eaf0;border-radius:10px;padding:11px;font-size:12px;color:#60778a;line-height:1.65}.svgstage .shape.multi-selected{filter:drop-shadow(0 0 2px #2a9fd3)}.selection-outline{fill:none;stroke:#1381b4;stroke-width:1.6;stroke-dasharray:6 4;pointer-events:none}.marquee-overlay{fill:#36a1d017;stroke:#2385b1;stroke-width:1.5;stroke-dasharray:5 4;pointer-events:none}.layout-guide{stroke:#ee8f35;stroke-width:1.3;stroke-dasharray:4 4;pointer-events:none}.connector-anchor-hint{stroke:#db842c;stroke-width:2;fill:#ffffffa8;pointer-events:none}.connector-tip{font-size:12px;color:#598198}#tabLayout{white-space:nowrap}@media (max-width:1190px){.canvas-top .layout-quick{display:none}.canvas-top{gap:6px}.right-tabs button{font-size:11px;padding:8px 7px}}@media (max-width:660px){.canvas-top .switch{font-size:10px}.canvas-top{overflow-x:auto;justify-content:flex-start}.canvas-top strong{flex-shrink:0}.right-tabs{overflow-x:auto}.layout-panel .layout-grid{grid-template-columns:repeat(3,1fr)}}:root{font-family:Segoe UI,Tahoma,Arial,sans-serif}body,button,input,select,textarea{font-family:Segoe UI,Tahoma,Arial,sans-serif;font-kerning:normal;font-synthesis:none}#app :not(svg):not(svg *){letter-spacing:normal!important;word-spacing:normal!important;font-stretch:normal;text-align-last:auto}#app :is(.lib-title,.object-name,.plot-tile,.panel-head,.library-picker,.preset,.right-tabs,.tool){line-height:1.43;overflow-wrap:break-word}.left .panel-body{padding:10px}.library-picker{position:relative;z-index:2;border:1px solid #c8dbe5;background:#f1f7fb;border-radius:11px;margin:1px 0 8px}.library-picker>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;padding:11px;color:#4b6578;font-size:12px}.library-picker>summary::-webkit-details-marker{display:none}.library-picker summary strong{font-size:13px;color:#0a617d;flex:1}.library-picker .picker-chevron{font-size:18px;transition:transform .15s}.library-picker[open] .picker-chevron{transform:rotate(180deg)}.library-picker-items{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:10px;border-top:1px solid #dbe8ee;background:#fff;border-radius:0 0 10px 10px}.library-picker-items button{min-height:62px;text-align:left;font-size:12px;font-weight:750;color:#23465c;background:#f5f9fb;border:1px solid #dbe7ee;border-radius:9px;padding:9px;cursor:pointer}.library-picker-items button.active{background:#e2f4fa;color:#116581;border-color:#7dbdd3}.library-picker-items button small{display:block;font-size:10px;line-height:1.4;font-weight:400;color:#617d8b;margin-top:3px}.library-controls{display:flex;justify-content:flex-end;gap:8px;border-bottom:1px solid #e5edf1;padding-bottom:10px}.library-controls button{border:1px solid #d6e5ec;background:#fff;border-radius:7px;color:#476376;font-size:11px;font-weight:600;padding:6px 9px;cursor:pointer}.library-controls button:hover{background:#eaf6fa}.lib-topic{border:1px solid #deebf0;border-radius:9px;margin:8px 0;overflow:hidden;padding:0}.lib-topic>summary{min-height:40px;padding:10px 12px;background:#f5f9fc}.lib-topic>summary b{flex:1;line-height:1.35}.lib-sub{margin:4px 7px 6px;border-left:2px solid #c9e2ee;border-radius:0 6px 6px 0;background:#fff}.lib-sub>summary{min-height:36px;padding:8px 10px;font-size:12px}.graph-section{margin:8px 0}.graph-section>summary{padding:11px 12px;gap:8px;align-items:center}.graph-section>summary span{margin-left:auto}#modelLibrary,#objectLibrary,#graphLibrary,#toolLibrary{min-width:0}.compile-offline-note{padding:11px 12px;background:#f1f7fb;border:1px solid #d7e6ef;border-radius:9px;color:#355e75;font-size:12px;line-height:1.6}.compile-status.warn{color:#76500d}@media (max-width:880px){.library-picker-items{grid-template-columns:1fr 1fr}}:root,html,body,#app,button,input,select,textarea{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;word-spacing:normal;letter-spacing:normal;font-kerning:normal}#app,.panel,.panel-body,.library-picker,.library-picker-items,.library-tree,.preset-group,.object-group,.graph-section{min-width:0}#app button,#app a,#app label,#app .panel-head,#app .category,#app .tipbox,#app .library-picker,#app .meta{letter-spacing:normal;word-spacing:normal}.hat-about-link{white-space:nowrap}.library-picker>summary{min-height:42px;cursor:pointer}.library-picker-items button{overflow-wrap:anywhere;line-height:1.35;min-height:46px;text-align:left}#modelLibrary details>summary,#objectLibrary details>summary,#graphLibrary details>summary{cursor:pointer;overflow-wrap:anywhere}.library-controls{display:flex;gap:8px;flex-wrap:wrap}.compile-offline-note{line-height:1.55}@media (max-width:880px){.hat-about-link{padding:6px 8px;font-size:12px}}@media (max-width:520px){.hat-about-link{font-size:0;padding:8px}.hat-about-link:before{content:"\2615";font-size:17px}.top{flex-wrap:nowrap}}.lib-boot,.lib-error{padding:14px;background:#f2f8fb;border:1px solid #d5e4ed;border-radius:10px;font-size:12px;line-height:1.65;color:#284960}.lib-boot a,.lib-error a{color:#0b6c9f;font-weight:750;text-decoration:underline}.lib-topic[open]>summary{background:#eaf5fb;border-bottom:1px solid #dcebf1}.lib-sub[open]>summary{background:#f3faff;color:#114d6a;font-weight:700}#modelLibrary .lib-topic>summary,#modelLibrary .lib-sub>summary{cursor:pointer;user-select:none}#modelLibrary .lib-topic>summary:hover,#modelLibrary .lib-sub>summary:hover{background:#e1f3fa}#modelLibrary .lib-tile:focus-visible{outline:2px solid #087ca8;outline-offset:2px}@media (max-width:880px){#modelLibrary .lib-topic>summary{padding:13px 12px}#modelLibrary .lib-tile{min-height:56px}}.v09-precision{border:1px solid #c9dfe9;border-radius:12px;margin:15px 0;background:#f7fbfd;overflow:hidden}.v09-precision>summary{font-size:13px;font-weight:750;padding:11px 12px;color:#154b65;cursor:pointer;background:#e7f3f8}.v09-precision-body{display:flex;flex-direction:column;gap:9px;padding:12px}.v09-precision-body label,.v09-dimension label,.v09-array-fields label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#466479;font-weight:600}.v09-precision-body input:not([type=checkbox]),.v09-precision-body select,.v09-dimension input,.v09-array-fields input{width:100%;height:36px;min-width:0;border:1px solid #cadbe5;background:#fff;border-radius:8px;padding:6px 8px;font:inherit;color:#23475b}.v09-precision-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.v09-precision-grid label:first-child{grid-column:1/-1}.v09-check{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important}.v09-check input{accent-color:#1188a5}.v09-precision small{font-size:11px;color:#6e8595;line-height:1.5}.v09-dimension{display:flex;gap:8px;align-items:end;flex-wrap:wrap;margin:9px 0 15px}.v09-dimension label{flex:1;min-width:90px}.v09-dimension button{min-height:36px}.v09-array-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:9px 0}.v09-array-fields input{font-variant-numeric:tabular-nums}#v09MakeArray{margin-bottom:11px}#objectLibrary .object-tree>.lib-topic:first-child>summary,#graphTree .graph-section:first-child>summary{background:#eaf5fa}#modelLibrary .lib-boot,#objectLibrary .lib-hint{line-height:1.55}@media (max-width:880px){.v09-precision-body{padding:10px}.v09-array-fields{gap:5px}}:root{--v10-border:#dfe7ee;--v10-soft:#f5f8fb;--v10-primary:#17618d}body,.panel,.v10-panel{font-family:Arial,Segoe UI,Roboto,sans-serif;letter-spacing:normal!important}.v10-panel{display:flex;flex-direction:column;gap:9px;color:#273b4b;font-size:13px;padding:2px 1px 22px;line-height:1.48}.v10-panel details{border:1px solid var(--v10-border);border-radius:10px;background:#fff;overflow:hidden;flex-shrink:0}.v10-panel details>summary{display:block;cursor:pointer;font-weight:700;padding:11px 12px;background:var(--v10-soft);color:#29495e;list-style:none}.v10-panel details>summary:after{content:"\25be";float:right;font-size:13px}.v10-panel details:not([open])>summary:after{content:"\25b8"}.v10-panel details>*:not(summary){margin-left:11px;margin-right:11px}.v10-panel details>.v10-templates{margin-top:8px;margin-bottom:10px}.v10-panel details>small.v10-help{display:block;margin-top:8px;margin-bottom:11px;color:#62768a;line-height:1.55}.v10-panel .v10-inputs{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px;margin-bottom:8px}.v10-panel button{font:inherit;cursor:pointer;border:1px solid #d3e0e9;border-radius:7px;padding:7px 9px;background:#fff;color:#254960;line-height:1.35;letter-spacing:0!important;text-align:left}.v10-panel button:hover{background:#eaf5fc;border-color:#8bbbd5}.v10-panel button:disabled{opacity:.5;cursor:wait}.v10-panel .v10-primary{display:block;width:calc(100% - 22px);margin:9px 11px 8px;background:#17618d;color:#fff;border-color:#17618d;text-align:center;font-weight:650}.v10-templates{display:flex;flex-direction:column;gap:5px}.v10-templates button{display:flex;justify-content:space-between;align-items:center}.v10-templates button span{font-weight:900;color:#1781ad}.v10-panel label,.v10-panel input,.v10-panel select{font:inherit;font-size:12.5px}.v10-panel input:not([type=checkbox]):not([type=range]):not([type=file]),.v10-panel select{border:1px solid #cedde7;border-radius:6px;padding:7px 8px;width:100%;min-width:0;background:#fff;color:#243b50}.v10-panel input[type=range]{width:calc(100% - 22px);margin:6px 11px;accent-color:#1c78a4}.v10-field,.v10-panel details>label.v10-field{display:flex;flex-direction:column;gap:4px;margin:8px 11px;color:#506679;font-weight:550}.v10-checkbox{display:flex;gap:8px;align-items:center;margin:7px 11px;font-size:12px}.v10-parameter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px 0}.v10-parameter-grid label{display:flex;flex-direction:column;color:#526a7e;font-size:12px;gap:4px}.v10-panel .v10-parameter-grid{margin-top:6px;margin-bottom:9px}.v10-selected{display:flex;flex-direction:column;gap:2px;border-left:3px solid #438fb5;margin-top:9px;padding:8px 9px;background:#f3f9fc}.v10-selected small{color:#70879a;font-size:11px;word-break:break-all}.v10-panel #v10EntityControls{margin-top:7px}.v10-panel #v10EntityControls>button{width:calc(100% - 22px);margin:4px 11px 10px;text-align:center}.v10-slider{display:flex;justify-content:space-between;margin:11px 11px 0;gap:5px}.v10-slider output{font-weight:700;color:#1d759e}.v10-formula-examples{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.v10-formula-examples button{font-family:"Cambria Math",monospace!important;font-size:11px;padding:5px 7px}.v10-favorites-head{padding:9px 0;display:flex;flex-direction:column;color:#51677a;font-size:12px}.v10-favorites-head small{margin-top:5px}.v10-favorite-item{display:flex;align-items:center;gap:5px;margin:3px 0}.v10-favorite-item button:first-child{flex:1;text-align:left;background:#fff;border:1px solid #dce7ef;padding:9px;border-radius:7px;color:#284759;min-width:0}.v10-favorite-item button:last-child{padding:8px;background:none;border:0;color:#c67b14;font-size:17px}.v10-star{border:0;position:relative;z-index:2;margin:1px 4px 6px -24px;width:21px;height:25px;background:#fff;font-size:18px;font-weight:700;color:#d39020;border-radius:6px;vertical-align:top;cursor:pointer}#favoriteLibrary{padding:0 5px}#tabStudio{white-space:nowrap}@media (max-width:880px){.v10-panel{font-size:13px}.v10-panel details>summary{padding:10px}.v10-parameter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.right-tabs{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;min-height:43px}.right-tabs button{flex:0 0 auto!important;white-space:nowrap;min-width:max-content;padding:9px 11px!important;font-size:11px!important}#studioPane{overflow-y:auto;overscroll-behavior:contain;padding:8px 11px 18px}#favoriteLibrary .v10-favorite-item{margin:6px 0}@media (max-width:880px){#v11TraceTop{padding:6px 8px;white-space:nowrap;font-size:11px}}@media (max-width:520px){#v11TraceTop{font-size:0;min-width:30px}#v11TraceTop:before{content:"\25a7";font-size:18px;line-height:1}}html,body{overflow:hidden}#app{min-height:0;height:100vh;height:100dvh}body{font-family:Segoe UI,Tahoma,Arial,sans-serif}@media (min-width:1350px){.top{min-height:60px;padding:7px 14px;gap:9px}.brand{min-width:185px;gap:8px}.brand strong{font-size:15px}.top-actions{gap:5px;flex-wrap:nowrap}.top-actions .btn{padding:7px 8px;min-height:33px;font-size:12px}.workspace{grid-template-columns:clamp(236px,15vw,284px) minmax(320px,1fr) clamp(335px,19vw,395px);gap:8px;padding:8px}.panel{border-radius:9px}.panel-head{padding:11px 13px}.right-tabs{flex-wrap:wrap;gap:4px;flex-shrink:0}.right-tabs button{flex:1 0 23%;min-width:72px;font-size:11px;padding:8px 3px}.canvas-top{padding:8px 10px;gap:7px;min-height:52px}.canvas-top .switch{font-size:11px}.canvas-footer{padding:6px 10px;gap:12px}}@media (min-width:1850px) and (min-height:850px){.workspace{grid-template-columns:294px minmax(550px,1fr) 412px}.brand strong{font-size:17px}.panel-head strong{font-size:15px}.left .panel-body{padding:13px}.top{min-height:64px}.canvas-top{min-height:57px}}.canvas-wrap{display:flex;align-items:center;justify-content:center;padding:16px;min-width:0;min-height:0;overflow:hidden;background:#ecf1f6}.canvas-wrap.grid-on{background-color:#ecf1f6;background-image:radial-gradient(#c6d2df .75px,transparent .75px);background-size:16px 16px;background-position:center}.v12-artboard-frame{position:relative;width:100%;aspect-ratio:16/9;max-width:100%;max-height:100%;flex:none;background:#fff;border:1px solid #cad7e1;box-shadow:0 9px 30px #243b4e25;overflow:hidden}.v12-artboard-frame>.svgstage{position:absolute;inset:0;display:block;width:100%;height:100%;background:#fff}.v12-artboard-frame .v12-safe-area{position:absolute;inset:5%;border:1.5px dashed rgba(17,123,161,.55);pointer-events:none}.canvas-note{top:17px;z-index:2;max-width:68%}.zoom-controls{z-index:3;bottom:23px;right:23px}#app.v12-focus .workspace{grid-template-columns:minmax(0,1fr)}#app.v12-focus .workspace>.left,#app.v12-focus .workspace>.right{display:none!important}#app.v12-focus .workspace>.center{grid-column:1;grid-row:1;min-width:0}#app.v12-focus .top .optional,#app.v12-focus .hat-about-link{display:none}#app.v12-focus .canvas-top{justify-content:space-between}#app.v12-focus #v12FocusMode{background:#c9edf5;color:#15526b}.v12-precision-panel{overflow-y:auto!important}.v12-precision-inner{padding:13px 15px 24px;display:flex;flex-direction:column;gap:11px}.v12-precision-inner h3{font-size:16px;color:#1a526c;margin:2px 0}.v12-hint{font-size:12px;line-height:1.55;color:#6c8191;margin:2px 0}.v12-mini-title{border-top:1px solid #e1ebf1;padding-top:13px;font-size:12px;font-weight:800;color:#2e657e}.v12-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.v12-form-grid label,.v12-precision-inner>label:not(.v12-check){font-size:12px;display:flex;flex-direction:column;gap:5px;color:#486478;font-weight:650}.v12-form-grid input,.v12-precision-inner select{width:100%;min-width:0;border:1px solid #cbdde9;border-radius:7px;padding:8px;background:#fff;color:#233d50}.v12-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px}.v12-buttons .btn{white-space:normal;font-size:11px;padding:8px;line-height:1.3}.v12-check{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.45}.v12-check input{accent-color:#0b829f}.v12-diagnostics{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.5 Consolas,monospace;background:#f2f8fa;border:1px solid #d2e3ec;padding:10px;border-radius:8px;max-height:170px;overflow-y:auto}@media (max-width:1349px){.top{gap:6px}.canvas-top{gap:5px}.canvas-wrap{padding:10px}.right-tabs{flex-wrap:wrap}.right-tabs button{flex:1 1 25%;min-width:70px}}@media (max-width:880px){.workspace{grid-template-columns:minmax(0,1fr)}.canvas-wrap{padding:6px}.canvas-top #v12Fullscreen{display:none}.v12-artboard-frame{box-shadow:0 3px 10px #2342}.zoom-controls{right:9px;bottom:9px}}@media (max-height:680px) and (min-width:881px){.top{min-height:48px}.canvas-top{min-height:43px}.canvas-wrap{padding:8px}.canvas-note{display:none}}#canvas:focus{outline:none}#deleteSelectionTop:disabled{opacity:.45;cursor:not-allowed}#tabVector91{font-weight:650}#vector91Pane{overflow:auto;line-height:1.45}.v91-panel{padding:13px 12px 26px;display:flex;flex-direction:column;gap:12px;color:#344b5c}.v91-panel h3{font-size:15px;margin:0;color:#183b52}.v91-panel details{background:#f8fbfd;border:1px solid #dce6ed;border-radius:10px;padding:8px 9px}.v91-panel summary{font-weight:650;cursor:pointer;color:#244968;padding:2px 0}.v91-panel p,.v91-panel small{font-size:12px;line-height:1.55;color:#61758a;margin:7px 0}.v91-panel .v91-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}.v91-panel .v91-buttons button{border:1px solid #c9d7e1;background:#fff;color:#234c67;border-radius:7px;padding:8px 4px;cursor:pointer;font-size:12px}.v91-panel button:hover{background:#eaf5f8}.v91-panel input[type=number]{width:100%;max-width:100%;border:1px solid #ccd8e2;border-radius:6px;padding:6px}.v91-panel .v91-fields{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:7px}.v91-panel label{font-size:12px;display:block}.v91-panel .v91-check{display:flex;align-items:center;gap:8px}#v91Status{font-size:12px;line-height:1.5;white-space:normal;background:#edf7f8;border:1px solid #cce5e8;color:#226174;border-radius:8px;padding:9px}#v91-reference-layer{pointer-events:none}@media (min-width:1400px){.v91-panel{padding:16px}.v91-panel h3{font-size:16px}}#aiPane{overflow:auto;scrollbar-gutter:stable}.hat-ai{font-family:Arial,Segoe UI,sans-serif;letter-spacing:normal;font-size:13px;line-height:1.55;color:#244256}.hat-ai h3{font-size:16px;margin:1px 0 6px;font-weight:750;letter-spacing:normal}.hat-ai p{margin:4px 0 11px;color:#64788b}.hat-ai details{background:#fff;border:1px solid #e0e8ee;border-radius:10px;margin-bottom:10px;padding:10px}.hat-ai summary{font-weight:750;cursor:pointer}.hat-ai label{display:block;margin:8px 0 4px;font-size:12px;font-weight:650}.hat-ai input[type=file],.hat-ai select,.hat-ai input[type=text]{width:100%;min-width:0;border:1px solid #d5e2eb;border-radius:7px;background:#fff;padding:8px 9px;color:#223e50}.hat-ai .ai-actions{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.hat-ai button{border-radius:8px;border:1px solid #ccdce7;color:#244b65;background:#f7fafc;font:inherit;font-weight:600;padding:8px;cursor:pointer;letter-spacing:normal}.hat-ai button.primary{background:#176b99;border-color:#176b99;color:#fff}.hat-ai button:disabled{opacity:.48;cursor:not-allowed}.hat-ai img{display:block;object-fit:contain;max-width:100%;max-height:230px;margin:8px auto;border:1px solid #d7e3e9;background:#fff}.hat-ai .ai-preview{background:#fff;border:1px solid #d7e3e9;border-radius:8px;max-height:240px;aspect-ratio:16/9;overflow:hidden;display:grid;place-items:center}.hat-ai .ai-preview svg{width:100%;height:100%;max-height:240px}.hat-ai .ai-status{padding:10px;border-radius:8px;background:#f1f6fa;color:#37536a;margin:10px 0;white-space:pre-wrap}.hat-ai .ai-status[data-state=ok]{background:#edf8f4;color:#17654d}.hat-ai .ai-status[data-state=error]{background:#fff2ec;color:#963e29}.hat-ai .ai-check{display:flex;align-items:flex-start;gap:7px;font-weight:500}.hat-ai .ai-check input{margin-top:3px}.hat-ai .ai-note{color:#6b7e8e;font-size:11px}#aiResult[hidden],#aiImagePreview[hidden]{display:none!important}@media (max-width:880px){.hat-ai .ai-actions button{flex:1 1 120px}}.hat-semantic{padding:12px 12px 24px;font-size:13px;line-height:1.5;letter-spacing:normal;min-width:0}.hat-semantic h3{margin:2px 0 8px;color:#184867;font-size:16px;letter-spacing:normal}.hat-semantic p{margin:5px 0 10px;color:#617384;font-size:12px;line-height:1.55}.hat-semantic details{border:1px solid #d8e4ec;border-radius:10px;margin:10px 0;background:#fff;padding:8px}.hat-semantic summary{cursor:pointer;font-weight:700;color:#284b65;padding:4px}.hat-semantic input,.hat-semantic select,.hat-semantic textarea{width:100%;box-sizing:border-box;max-width:100%;padding:7px 8px;border-radius:7px;border:1px solid #c5d5e0;background:#fff;color:#234459;font-size:13px;letter-spacing:normal}.hat-semantic label:not(.sem-object){display:block;font-size:12px;margin:7px 0 4px;color:#496176}.hat-semantic .sem-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.hat-semantic button{border:1px solid #c4d8e5;border-radius:8px;padding:7px 9px;background:#f6fafc;color:#254f6b;cursor:pointer;font-size:12px;line-height:1.25;letter-spacing:normal}.hat-semantic button.sem-primary{background:#146e9a;color:#fff;border-color:#146e9a;font-weight:600}.hat-semantic button:disabled{opacity:.4;cursor:not-allowed}.hat-semantic .sem-status{background:#eaf5f7;color:#236079;border-radius:8px;padding:9px;margin:10px 0;font-size:12px;overflow-wrap:anywhere}.hat-semantic .sem-error{background:#fff1ef;color:#984837}.hat-semantic #semanticPhoto{display:block;max-width:100%;max-height:175px;object-fit:contain;background:#fff;border:1px solid #dae3ea;border-radius:8px;margin:8px auto}.hat-semantic #semanticPhoto[hidden]{display:none}.hat-semantic .sem-objects{max-height:260px;overflow:auto;border:1px solid #e0eaf1;border-radius:8px;padding:4px}.hat-semantic .sem-object{display:flex;gap:7px;align-items:flex-start;border-bottom:1px solid #edf1f4;padding:6px 2px;cursor:pointer}.hat-semantic .sem-object:last-child{border-bottom:none}.hat-semantic .sem-object input{width:17px;height:17px;flex:0 0 17px;margin:2px 0 0}.hat-semantic .sem-object span{display:flex;flex-direction:column;min-width:0}.hat-semantic .sem-object small{font-size:11px;color:#657e8e;overflow-wrap:anywhere}.hat-semantic textarea#semanticCode{min-height:130px;resize:vertical;font-family:ui-monospace,Consolas,monospace;white-space:pre;font-size:11px;line-height:1.45}.hat-semantic .sem-warn{font-size:11px;color:#89583f;white-space:normal}@media (max-width:620px){.hat-semantic{padding:10px}}.hat-semantic .sem-preview{margin:10px 0 4px;border:1px solid #d5e4ef;border-radius:8px;overflow:hidden;background:#fff;min-height:92px}.hat-semantic .sem-preview svg{display:block;width:100%;height:auto;max-height:235px}.hat-semantic #apparatusObjectSelect{min-width:0}.hat-semantic details .hidden{display:none!important}.hat-semantic #semanticTikzMode{font-size:12px}.hat-semantic .sem-qa-head{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:10px 0 6px}.hat-semantic .sem-qa-summary{border-radius:8px;background:#edf6fa;padding:8px;color:#22475c;font-size:12px;line-height:1.5}.hat-semantic .sem-qa-issues{max-height:160px;overflow-y:auto;margin:5px 0;border:1px solid #e6d9c7;border-radius:8px}.hat-semantic .sem-qa-issue{padding:6px 8px;border-bottom:1px solid #f1e9dc;color:#71462c;font-size:11px;line-height:1.4}.hat-semantic .sem-qa-issue:last-child{border:0}.hat-semantic .sem-qa-issue.info{color:#536c7e}.hat-semantic .sem-ocr-edit{display:flex;align-items:center;gap:4px;margin-top:4px;flex-wrap:wrap}.hat-semantic .sem-ocr-edit input{width:135px;max-width:100%;padding:4px 5px;font-size:11px}.hat-semantic .sem-ocr-edit button{padding:4px 7px;font-size:11px}.hat-semantic .sem-rel-list{max-height:190px;overflow-y:auto}.hat-semantic .sem-rel-list .sem-object{line-height:1.4}.hat-semantic .sem-review-chip{font-size:10px;background:#fff4e1;color:#8c521e;padding:2px 4px;border-radius:4px;display:inline}.hat-semantic .sem-ocr-edit input{height:auto;min-height:27px;flex:1 1 125px;margin:0;min-width:100px}.hat-semantic .sem-ocr-edit button{flex:0 0 auto}.hat-semantic .ev-review{border:1px solid #9dc7df;background:#f8fcff}.hat-semantic .ev-compare{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.hat-semantic .ev-image-card{min-width:0;background:#fff;border:1px solid #d8e7ef;border-radius:9px;padding:5px;overflow:hidden}.hat-semantic .ev-image-card strong{display:block;font-size:11px;color:#2d5974;margin:2px 0 5px}.hat-semantic #evOriginal{width:100%;height:auto;display:block;aspect-ratio:16/9;touch-action:none;cursor:crosshair;background:#eef3f7}.hat-semantic #evVector{width:100%;background:#fff;overflow:hidden}.hat-semantic #evVector svg{display:block;width:100%;height:auto;max-height:300px}.hat-semantic .ev-region{cursor:grab}.hat-semantic .ev-region:active{cursor:grabbing}.hat-semantic .ev-linked{cursor:pointer}.hat-semantic .ev-linked.active{filter:drop-shadow(0 0 4px #ffb700)}.hat-semantic .ev-chips{display:flex;gap:4px;overflow-x:auto;padding:7px 0;max-width:100%;white-space:nowrap}.hat-semantic .ev-chips button{flex:0 0 auto;font-size:11px;padding:5px 7px}.hat-semantic .ev-chips button.active{background:#146e9a;color:#fff;border-color:#146e9a}.hat-semantic .ev-summary{font-size:11px;color:#496578;padding:5px;border-radius:6px;background:#eaf4f8}.hat-semantic .ev-form{margin-top:9px;padding:8px;background:#fff;border:1px solid #dce8ee;border-radius:8px}.hat-semantic .ev-form strong{font-size:11px;overflow-wrap:anywhere}.hat-semantic .ev-coords{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.hat-semantic .ev-coords label{min-width:0}.hat-semantic .ev-coords input{min-width:0;padding:5px 2px;text-align:center;font-size:11px}.hat-semantic .ev-disclaimer{border-top:1px solid #dbe6ea;padding-top:8px}.hat-semantic .ev-close{display:none}.hat-semantic .ev-review.ev-expanded{position:fixed;inset:3vh 3vw;z-index:100000;overflow-y:auto;max-height:94vh;background:#f7fbfd;box-shadow:0 0 0 100vmax #102d3bbd,0 18px 50px #192c4099;padding:18px;border-radius:13px}.hat-semantic .ev-review.ev-expanded .ev-compare{grid-template-columns:repeat(2,minmax(0,1fr))}.hat-semantic .ev-review.ev-expanded #evOriginal{max-height:56vh;aspect-ratio:auto}.hat-semantic .ev-review.ev-expanded #evVector svg{max-height:56vh}.hat-semantic .ev-review.ev-expanded .ev-close{display:inline-flex}body.ev-review-open{overflow:hidden}@media (max-width:750px){.hat-semantic .ev-review.ev-expanded{inset:1vh 2vw;max-height:98vh;padding:7px}.hat-semantic .ev-review.ev-expanded .ev-compare{grid-template-columns:1fr}.hat-semantic .ev-review.ev-expanded #evOriginal{max-height:33vh}.hat-semantic .ev-review.ev-expanded #evVector svg{max-height:33vh}}.hat-semantic .ev-live-link{padding:8px;background:#e9f5fc;border:1px solid #aed4e8;border-radius:8px;margin:8px 0}.hat-semantic .ev-live-link label{font-weight:650;font-size:12px;display:flex;align-items:center;gap:7px}.hat-semantic .ev-live-link small{color:#4a667a;display:block;line-height:1.55;margin-top:4px}.hat-semantic .ev-anchor-controls{padding:7px;background:#fff9e9;border:1px solid #eadab3;border-radius:7px;margin:7px 0;font-size:11px}.hat-semantic .ev-anchor-controls label{display:block;font-size:11px}.hat-semantic .ev-anchor-coords{display:flex;gap:5px;align-items:end;margin:5px 0}.hat-semantic .ev-anchor-coords label{flex:1;min-width:0}.hat-semantic .ev-anchor-coords input{width:100%;min-width:0;padding:5px}.hat-semantic .ev-anchor-coords button{font-size:11px;white-space:nowrap;padding:6px}.hat-semantic .ev-anchor-controls small{display:block;color:#76622f}:root{--v159accent:#147d99}.left{min-width:280px}.left .panel-body{padding:9px 10px;scrollbar-gutter:stable}.library-picker{border-radius:12px;margin:0 0 7px;background:#f6fafc}.library-picker>summary{padding:7px 9px;font-size:11px}.library-picker-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:7px}.library-picker-items button{padding:7px 3px;min-height:45px;text-align:center;font-size:11px;line-height:1.25;border-radius:7px}.library-picker-items button small{display:none}.library-picker-items button.active{background:#e2f4fb;border-color:#63b7d0;box-shadow:inset 0 0 0 1px #9ad8ea}.library-controls{padding:3px 2px 7px}#modelLibrary,#objectLibrary,#electricLibrary,#graphLibrary,#toolLibrary,#favoriteLibrary{min-width:0}.electric-intro{padding:10px 9px;background:#eaf4f9;border:1px solid #d1e7f0;border-radius:10px;margin:5px 0 10px}.electric-intro strong{display:block;font-size:13px;color:#184e68}.electric-intro small{display:block;color:#527184;font-size:11px;line-height:1.5;margin:4px 0 8px}.electric-intro input{display:block;width:100%;max-width:100%;min-width:0;border:1px solid #c6dce6;border-radius:7px;padding:9px 10px;background:#fff;font-size:12px}.electric-topic{margin:7px 0}.electric-preset-list{display:flex;flex-direction:column;gap:4px;padding:6px}.electric-preset{width:100%;display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:8px;padding:8px 7px;background:#fff;border:1px solid #dbe8ee;border-radius:9px;text-align:left;color:#2a5268;cursor:pointer}.electric-preset:hover{background:#eaf7fc;border-color:#9ad2e6}.electric-preset strong{display:block;font-size:12px;line-height:1.3}.electric-preset small{display:block;font-size:10px;line-height:1.4;color:#6d8795;margin-top:3px}.electric-symbol{display:grid;place-items:center;width:38px;height:35px;border-radius:7px;background:#e9f2fa;color:#217590;font-size:23px}.electric-object .object-preview svg{max-width:95%;max-height:100%}.v159-quickbar{display:flex;flex-wrap:wrap;gap:7px;padding:7px 9px;border-bottom:1px solid #dbe8f0;background:linear-gradient(180deg,#fafdff,#f1f7fa);flex-shrink:0}.v159-toolbar-group{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-width:0}.v159-toolbar-group>strong{font-size:11px;color:#3a6174;margin-right:3px;white-space:nowrap}.v159-toolbar-group button{border:1px solid #bfd3de;border-radius:7px;background:#fff;padding:6px 8px;font-size:11px;font-weight:650;color:#315d75;white-space:nowrap;cursor:pointer;line-height:1.3}.v159-toolbar-group button:hover{background:#e9f6fb;border-color:#6fb4cc}.v159-toolbar-group button.v159-accent{background:#167f9f;border-color:#167f9f;color:#fff}.v159-toolbar-group label{display:inline-flex;align-items:center;gap:3px;padding:3px 5px;border:1px solid #dceaf0;border-radius:6px;background:#fff;font-size:11px;color:#3d6377;white-space:nowrap;min-height:27px}.v159-toolbar-group label input[type=number]{width:58px;border:1px solid #c7dde7;border-radius:5px;font:inherit;font-size:12px;padding:4px}.v159-toolbar-group label input[type=color]{width:27px;height:24px;border:1px solid #c7dce6;border-radius:5px;padding:1px;background:#fff;cursor:pointer}.v159-toolbar-group label input[type=range]{width:58px}.v159-toolbar-group label input[type=checkbox]{margin:0;accent-color:#1381a3}.v159-advanced{opacity:.85}@media (min-width:1540px){.workspace{grid-template-columns:minmax(292px,20vw) minmax(0,1fr) minmax(320px,21vw)!important}.v159-quickbar{gap:12px}.v159-toolbar-group{gap:7px}}@media (max-width:1450px){.v159-quickbar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.v159-toolbar-group{flex-wrap:nowrap;flex:none}.v159-toolbar-group>strong{margin-right:5px}}@media (max-width:880px){.v159-quickbar{padding:6px;gap:10px}.library-picker-items{grid-template-columns:repeat(3,minmax(0,1fr))}.electric-intro{padding:9px}.left{min-width:0}}.v160-circuitbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:6px 10px;background:#e9f5fa;border-bottom:1px solid #cde6ee}.v160-circuitbar strong{font-size:12px;color:#225c76}.v160-circuitbar button,.v160-circuitbar select{border:1px solid #9ec9db;background:#fff;border-radius:7px;color:#245972;font:600 12px system-ui;padding:7px 10px;cursor:pointer}.v160-circuitbar button.active{background:#167a99;color:#fff;border-color:#167a99}.v160-circuitbar .v160-tip{font-size:11px;color:#507181;line-height:1.4}.v160-schematic-part{stroke-width:2.5px}.v160-port{fill:#fff;stroke:#0782ae;stroke-width:2.2;pointer-events:none}.v160-draft{stroke:#f29a31;stroke-width:3;stroke-dasharray:8 6;fill:none;pointer-events:none}.electric-circuit-item .electric-symbol{background:#e6f4e8;color:#205f58}.v160-section-hint{font-size:11px;color:#57788b;margin:6px 9px;line-height:1.45}@media (max-width:880px){.v160-circuitbar{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap}.v160-circuitbar .v160-tip{display:none}.v160-circuitbar button,.v160-circuitbar select{min-height:38px}}.thermal-intro{display:grid;gap:8px;padding:12px 11px 13px;border-bottom:1px solid #d7e4ed;background:linear-gradient(120deg,#fff7ec,#edf8fb)}.thermal-intro strong{font-size:14px;color:#8d4b30}.thermal-intro small{font-size:11px;color:#526d7d;line-height:1.4}.thermal-intro p{font-size:11px;line-height:1.5;color:#547185;margin:0}.thermal-intro input{width:100%;box-sizing:border-box;border:1px solid #c8d9e6;border-radius:9px;padding:10px 11px;font:inherit;font-size:13px;color:#1f4055;background:#fff}.thermal-preset-list{display:flex;flex-direction:column;gap:5px;padding:6px 8px 10px}.thermal-preset{display:grid;grid-template-columns:33px 1fr 17px;align-items:center;gap:8px;border:1px solid #e4e9ef;border-radius:9px;padding:9px;background:#fff;text-align:left;color:#294a5c;cursor:pointer}.thermal-preset:hover,.thermal-preset:focus-visible{border-color:#e2a06f;background:#fff7ee;outline:none}.thermal-preset strong{display:block;font-size:12px;font-weight:650;line-height:1.35}.thermal-preset small{display:block;color:#6b8492;font-size:10px;line-height:1.5}.thermal-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;background:#fff0dc;color:#ba633c;font-size:19px}.thermal-object .object-preview{background:linear-gradient(145deg,#fffdf8,#eef7fb)}.thermal-object .object-preview svg{max-width:92%;max-height:90%}@media (max-width:880px){.thermal-preset{min-height:50px}.thermal-intro input{min-height:42px}}.v160-circuitbar.thermal-hidden{display:none}.thermal-filter-row{display:flex;gap:5px;flex-wrap:wrap}.thermal-filter-row button{border:1px solid #d3dfe8;border-radius:17px;padding:6px 9px;background:#fff;color:#375a6d;font-size:11px;cursor:pointer}.thermal-filter-row button.chosen{border-color:#d68a57;color:#924a2e;background:#fff2e4;font-weight:700}.thermal-preset{grid-template-columns:57px 1fr 14px;min-height:64px}.thermal-icon{width:56px;height:50px;background:#f7fafc;overflow:hidden}.thermal-icon img{width:100%;height:100%;object-fit:contain;display:block}.thermal-preset strong{line-height:1.4}.thermal-preset:focus-visible,.thermal-object:focus-visible{outline:2px solid #b9693e;outline-offset:1px}@media (max-width:600px){.thermal-preset{grid-template-columns:48px 1fr 12px;padding:6px;min-height:60px}.thermal-icon{width:47px;height:45px}.thermal-filter-row button{min-height:35px}}.optics-intro{display:grid;gap:8px;margin:8px 0 12px;padding:12px;background:#eff9fc;border:1px solid #b9ddeb;border-radius:12px;color:#214b65}.optics-intro strong{font-size:14px}.optics-intro small,.optics-intro p{font-size:11px;line-height:1.5;margin:0;color:#597487}.optics-intro input{width:100%;min-height:38px;border:1px solid #c5dce8;border-radius:9px;padding:9px 10px;background:#fff;color:#233e50;font:inherit;font-size:12px}.optics-filter-row{display:flex;gap:5px;flex-wrap:wrap}.optics-filter-row button{border:1px solid #bfd5e2;background:#fff;color:#356178;border-radius:8px;padding:8px 10px;cursor:pointer;font-size:11px;font-weight:600}.optics-filter-row button.chosen{border-color:#1584a8;background:#176b91;color:#fff}.optics-preset-list{display:grid;gap:7px;padding:6px}.optics-preset{display:flex;align-items:center;gap:8px;width:100%;text-align:left;background:#fff;border:1px solid #d7e5ed;border-radius:9px;min-height:73px;padding:6px 8px;cursor:pointer;color:#234355}.optics-preset:hover,.optics-object:hover{border-color:#238caf;background:#f3fbff}.optics-icon{display:flex;align-items:center;justify-content:center;flex:0 0 82px;height:57px;background:#f8fcff;border:1px solid #e6f0f5;border-radius:7px;overflow:hidden}.optics-icon img{display:block;max-width:100%;max-height:100%;object-fit:contain}.optics-preset-desc{flex:1;min-width:0;display:grid;gap:4px}.optics-preset-desc strong{font-size:11px;line-height:1.3}.optics-preset-desc small{font-size:10px;color:#688092;line-height:1.2}@media (max-width:880px){.optics-intro{padding:10px}.optics-preset{min-height:64px}.optics-icon{flex-basis:70px;height:49px}}.opt164-panel{background:#f2f8fd;border:1px solid #cadfeb;border-radius:13px;padding:12px;margin:6px 0 16px;color:#203b55}.opt164-panel h3{font-size:15px;margin:2px 0 7px;color:#145c80}.opt164-panel p{font-size:12px;line-height:1.5;margin:5px 0 11px}.opt164-label{font-size:12px;font-weight:800;color:#34566e;margin:13px 0 6px}.opt164-actions{display:flex;gap:5px;flex-wrap:wrap}.opt164-panel button{border:1px solid #c2d8e8;background:#fff;color:#24617e;border-radius:7px;padding:7px 9px;font-weight:700;font-size:12px;cursor:pointer}.opt164-panel .opt164-main{display:block;width:100%;background:#0f7594;border-color:#0f7594;color:#fff;margin-top:8px;padding:10px}.opt164-panel button:focus-visible,.opt164-panel input:focus-visible{outline:2px solid #ef9d36;outline-offset:1px}.opt164-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.opt164-inputs label{min-width:0;display:flex;flex-direction:column;gap:4px;font-size:11px;font-weight:700}.opt164-inputs input,.opt164-inputs select{min-width:0;max-width:100%;width:100%;box-sizing:border-box;border:1px solid #b4cfdf;border-radius:6px;padding:7px 5px;background:#fff;color:#18394b;font-size:13px}.opt164-panel .opt164-note{font-size:11px;color:#526e80;margin-top:12px}@media (max-width:600px){.opt164-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.opt164-panel button{min-height:37px}}.opt165-panel{margin:5px 0 15px;padding:13px;border:1px solid #bad9e9;border-radius:12px;background:#eff8fd;color:#1a435b}.opt165-panel h3{margin:0 0 6px;font-size:15px;color:#146484}.opt165-panel p,.opt165-foot{font-size:12px;line-height:1.5;margin:6px 0 11px}.opt165-panel select,.opt165-panel input{width:100%;box-sizing:border-box;min-width:0;background:#fff;color:#183d50;border:1px solid #b9d5df;border-radius:7px;padding:8px;font-size:13px}.opt165-label{display:block;font-weight:700;font-size:12px;margin-bottom:5px}.opt165-panel button{width:100%;border:1px solid #a6c9d7;background:#fff;color:#18627c;border-radius:7px;margin-top:7px;padding:9px;font-size:12px;font-weight:700;cursor:pointer}.opt165-panel button.opt165-main{background:#086e95;color:#fff;border-color:#086e95}.opt165-panel details{border-top:1px solid #d4e5ef;padding:7px 0;margin-top:8px}.opt165-panel summary{font-size:12px;font-weight:700;cursor:pointer;line-height:1.4}.opt165-grid,.opt165-propgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:9px}.opt165-grid label,.opt165-propgrid label{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:11px;font-weight:600}.opt165-panel button:focus-visible,.opt165-panel input:focus-visible,.opt165-panel select:focus-visible{outline:2px solid #d6923c;outline-offset:2px}.opt165-prop p{font-size:12px;line-height:1.55}.opt165-propgrid input,.opt165-propgrid select{width:100%;min-width:0;padding:7px;box-sizing:border-box;border:1px solid #bfdae7;border-radius:7px;background:#fff;color:#193c4b}.opt165-prop #opt165Apply{width:100%;margin:12px 0 7px}.opt165-row{display:flex;gap:6px;flex-wrap:wrap}.opt165-row .btn{flex:1 1 90px;min-width:80px;white-space:normal}.opt165-help{padding:8px;background:#eef8fc;color:#43677a;border-radius:8px}@media (max-width:530px){.opt165-row{flex-direction:column}.opt165-grid,.opt165-propgrid{gap:6px}}.opt164-shell{margin:10px 0 12px}.opt164-shell>summary{font-size:12px;font-weight:750;cursor:pointer;color:#2a6079;padding:8px 10px;background:#f5f8fb;border:1px solid #c8d9e3;border-radius:8px}.opt164-shell .opt164-panel{margin-top:7px}.em166-panel{padding:12px;color:var(--ink,#26445a);font-size:13px}.em166-panel>strong{font-size:15px}.em166-panel p,.em166-panel small{line-height:1.5;color:#617a8a}.em166-panel input[type=search]{width:100%;margin:7px 0;padding:9px 10px;border:1px solid #c8d9e4;border-radius:9px;background:#fff;color:#183e58}.em166-panel details{margin:10px 0;border:1px solid #d2e3eb;border-radius:10px;padding:9px;background:#f9fcff}.em166-panel summary{cursor:pointer;color:#1a506c}.em166-filters,.em166-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:8px 0}.em166-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.em166-filters button,.em166-actions button,.em166-entry{border:1px solid #b9d1e0;background:#fff;color:#20465c;border-radius:8px;padding:8px;cursor:pointer;min-height:36px;font-size:12px}.em166-filters .chosen,.em166-actions button:hover,.em166-entry:hover{background:#e6f5fc;border-color:#2080ad}.em166-panel input[type=range]{width:100%;accent-color:#1684b5}.em166-entry{display:flex;width:100%;text-align:left;justify-content:space-between;gap:6px;margin:4px 0;align-items:center}.em166-entry small{font-size:19px}.em166-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;width:calc(50% - 4px);min-height:125px;background:#fff;border:1px solid #d3e2eb;border-radius:9px;margin:3px;padding:5px;color:#254c65;cursor:grab}.em166-tile svg{width:100%;height:73px}.em166-tile small{text-align:center;font-size:11px;line-height:1.25}.em166-tile:hover{border-color:#2383b3;background:#f1faff}#em166Objects{display:flex;flex-wrap:wrap;gap:2px}.em166-disclaimer{border-top:1px solid #d5e4e9;margin-top:12px;padding-top:10px}@media (max-width:600px){.em166-tile{width:calc(50% - 4px)}.em166-panel{padding:8px}.em166-actions button{min-height:42px}}.em166-params{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0}.em166-params label{display:block;font-size:11px}.em166-params input{width:100%;box-sizing:border-box;border:1px solid #cbdce6;border-radius:7px;padding:7px;background:#fff;color:#234e68}.em166-main{width:100%;border:0;border-radius:9px;background:#167fa7;color:#fff;font-weight:600;padding:10px;cursor:pointer}.em167-builder{margin:10px 0;border:1px solid #b5d2dc;border-radius:12px;padding:10px;background:var(--panel,#f6fafc)}.em167-builder>summary{cursor:pointer;line-height:1.5;color:#176d88}.em167-builder p{font-size:12px;line-height:1.55;color:var(--muted,#4a6273)}.em167-builder .em166-params{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.em167-builder .em166-params label,.em167-probe label{min-width:0;font-size:11px;font-weight:600}.em167-builder .em166-params input,.em167-probe input{width:100%;min-width:0;box-sizing:border-box;border:1px solid #9dbccc;border-radius:6px;padding:7px 3px;font-size:13px;background:#fff;color:#203e51}.em167-probe{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:10px 0}.em167-check{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:600}.em167-buttons{display:grid;gap:6px;margin-top:9px}.em167-buttons button{min-height:36px;border:1px solid #9bbbc9;border-radius:8px;padding:7px 8px;cursor:pointer}.em167-builder .em166-main{background:#0d7897;color:#fff;font-weight:700}@media (max-width:540px){.em167-builder .em166-params{grid-template-columns:repeat(3,minmax(0,1fr))}.em167-builder{padding:8px}.em167-builder .em166-params input{font-size:12px;padding:6px 2px}}.em167-vglyph{position:relative;display:inline-block;margin:0 5px 0 2px;font-family:Georgia,serif;font-style:italic;font-weight:700}.em167-vglyph:before{content:"\2192";position:absolute;top:-.64em;left:-.09em;font-size:.65em;font-family:Arial,sans-serif;font-style:normal}.em168-live-panel{border:1px solid #90c5af;border-radius:12px;background:#f2fbf6;padding:10px;margin:12px 0;color:#22483d}.em168-live-panel>summary{font-weight:700;cursor:pointer;line-height:1.5;color:#186849}.em168-live-panel p{font-size:12px;line-height:1.55;margin:9px 0}.em168-controls{display:grid;gap:8px;margin:10px 0}.em168-controls label{font-size:12px;line-height:1.6}.em168-controls select{width:100%;background:#fff;border:1px solid #9cbead;color:#203a36;border-radius:8px;padding:8px;font-size:14px}.em168-check{display:flex;align-items:center;gap:7px}.em168-check input{width:17px;height:17px;flex:none;accent-color:#158264}.em168-buttons{display:grid;gap:6px}.em168-buttons button{background:#fff;color:#145f46;border:1px solid #a3c4b7;border-radius:9px;padding:9px 8px;min-height:40px;cursor:pointer;font-weight:600;text-align:left}.em168-buttons button:first-child{background:#17795d;color:#fff}.em168-live-panel small,.em168-live-panel output{display:block;font-size:11px;line-height:1.55;color:#526960;margin-top:9px}.em168-source-handle{fill:#ffffff0f;stroke:#13916d;stroke-width:3.3;cursor:grab;touch-action:none;pointer-events:all;filter:drop-shadow(0 1px 2px #809e8c)}.em168-source-handle:active{cursor:grabbing;fill:#dafff0}.em168-source-label{font-size:13px;font-weight:700;fill:#0b7254;pointer-events:none;paint-order:stroke;stroke:#fff;stroke-width:3}.em168-source-locked{stroke:#7e8d98;fill:#7f98ac1f;cursor:not-allowed}.em168-preview-indicator{font-size:15px;fill:#187855;pointer-events:none}@media (max-width:880px){.em168-buttons button{min-height:44px;font-size:13px}.em168-source-handle{stroke-width:4}}.gas169-head{padding:11px 12px;border:1px solid #b7d6df;border-radius:12px;background:#f2f9fb;margin-bottom:10px;color:#21465c}.gas169-head strong{font-size:14px;display:block;margin-bottom:5px}.gas169-head small{display:block;font-size:11.5px;line-height:1.55;color:#4c6d7c}.gas169-head input{box-sizing:border-box;width:100%;margin:10px 0 7px;border:1px solid #bfd3df;border-radius:9px;padding:9px 10px;background:#fff;color:#19394a;font-size:13px}.gas169-head p{margin:8px 0 0;font-size:11px;line-height:1.5;color:#506b79}.gas169-filters{display:flex;flex-wrap:wrap;gap:5px}.gas169-filters button{border:1px solid #bfd6e1;border-radius:16px;background:#fff;color:#315768;cursor:pointer;padding:6px 10px;font-size:11px}.gas169-filters button.chosen{background:#d9f2ed;color:#12685f;border-color:#67b9a5;font-weight:750}.gas169-topic>summary{color:#23566a}.gas169-samples{display:grid;gap:6px;padding:5px 1px 8px}.gas169-sample{display:grid;grid-template-columns:66px 1fr 16px;gap:8px;align-items:center;min-height:66px;width:100%;padding:7px;border:1px solid #dae6ed;background:#fff;text-align:left;border-radius:9px;cursor:pointer;color:#244355}.gas169-sample:hover{border-color:#54a7a7;background:#f0fafb}.gas169-sample:focus-visible,.gas169-part:focus-visible{outline:2px solid #218d8c;outline-offset:2px}.gas169-sample b{font-size:12px;line-height:1.35;display:block}.gas169-sample small{display:block;font-size:10px;color:#6b8896;margin-top:4px}.gas169-thumb{width:65px;height:48px;background:#f8fbfd;border:1px solid #ecf1f4;border-radius:5px;overflow:hidden}.gas169-thumb img{width:100%;height:100%;object-fit:contain;display:block}.gas169-empty{padding:14px;font-size:12px;color:#587080}@media (max-width:600px){.gas169-sample{grid-template-columns:53px 1fr 12px;min-height:58px}.gas169-thumb{width:53px;height:44px}.gas169-head{padding:10px}.gas169-head input{font-size:16px}}.topic170-intro{padding:12px;border:1px solid #cce1ea;background:#f6fbff;border-radius:12px;margin-bottom:10px;color:#294c62}.topic170-intro strong{display:block;font-size:15px;margin-bottom:6px}.topic170-intro small{display:block;margin-bottom:8px;line-height:1.5}.topic170-intro input[type=search],.topic170-intro select,.topic170-toolbox input,.topic170-toolbox select{width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:8px;border:1px solid #b6ccda;border-radius:7px;background:#fff;color:#23475f}.topic170-intro p{margin:10px 0 0;font-size:12px;line-height:1.6}.topic170-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.topic170-filters label,.topic170-toolbox label{font-size:12px;color:#466276;display:block}.topic170-total{font-size:12px;color:#607a8c;margin:10px 0}.topic170-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.topic170-card{border:1px solid #d2e3eb;background:#fff;color:#29475c;border-radius:10px;padding:8px;cursor:pointer;min-width:0;text-align:left;display:flex;flex-direction:column;gap:5px;align-items:stretch}.topic170-card:hover,.topic170-card:focus-visible{border-color:#2683b0;background:#ecf7fc;outline:2px solid #d6e9f5}.topic170-thumb{height:70px;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:32px;color:#487d9a}.topic170-thumb svg,.topic170-thumb img{display:block;height:65px;width:100%;object-fit:contain}.topic170-name{font-size:12px;font-weight:700;line-height:1.4}.topic170-card small{font-size:10px;color:#607e91;line-height:1.35}.topic170-toolbox{border:1px solid #c9dce7;border-radius:9px;margin:10px 0;padding:12px;background:#f6fbfd}.topic170-toolbox h3{margin:0 0 7px;font-size:15px}.topic170-toolbox p{font-size:12px;line-height:1.5;margin:6px 0}.topic170-toolbox .fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.topic170-toolbox button{border:1px solid #2380a9;border-radius:8px;color:#fff;background:#287da1;padding:8px;margin-top:8px;cursor:pointer;font-size:12px}.topic170-toolbox button:disabled{background:#ccc;border-color:#bbb}.topic170-toolbox .secondary{background:#fff;color:#216b8e}.topic170-toolbox .status{font-size:12px;line-height:1.5;color:#4b6878;margin:8px 0 0;min-height:16px}@media (min-width:1100px){.topic170-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.topic170-filters,.topic170-toolbox .fields{grid-template-columns:1fr}.topic170-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.topic170-card{padding:6px}}.topic171-builder{border:1px solid #b8d9e5;border-radius:10px;background:#f6fbfc;margin:10px 0;color:#2b4e64}.topic171-builder summary{cursor:pointer;padding:11px;font-size:13px;font-weight:700;line-height:1.45}.topic171-content{padding:0 11px 11px}.topic171-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:9px 0}.topic171-fields label{display:block;min-width:0;font-size:11px;color:#526c7b;line-height:1.5}.topic171-fields input,.topic171-fields select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #b7cfdc;padding:7px 6px;color:#24455a;background:#fff;border-radius:7px;font-size:12px}.topic171-builder button{border:1px solid #317d9f;background:#277da2;color:#fff;padding:8px 10px;border-radius:7px;font-size:12px;cursor:pointer;margin:3px 0}.topic171-builder button:hover,.topic171-builder button:focus-visible{background:#135a80}.topic171-actions{display:flex;flex-wrap:wrap;gap:8px}.topic171-hint{font-size:11px;color:#607587;line-height:1.5;margin:5px 0}.topic171-status{font-size:11px;color:#2c5670;line-height:1.6;min-height:16px;overflow-wrap:anywhere}.topic171-divider{border-top:1px solid #d7e5eb;margin:11px 0}@media (max-width:650px){.topic171-fields{grid-template-columns:1fr}}.snd172-panel{border:1px solid #afcedf;border-radius:11px;background:#f4f9fc;color:#264a60;margin:11px 0}.snd172-panel summary{padding:12px;cursor:pointer;font-size:13px;font-weight:750;line-height:1.45}.snd172-content{padding:0 12px 12px}.snd172-content p{font-size:11px;line-height:1.55;color:#526c7c}.snd172-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.snd172-fields label{min-width:0;color:#496b7d;font-size:11px}.snd172-fields input,.snd172-fields select{display:block;box-sizing:border-box;width:100%;margin-top:4px;min-width:0;background:#fff;color:#263f52;padding:7px 6px;border:1px solid #b6cbd7;border-radius:7px;font-size:12px}.snd172-actions{display:flex;flex-wrap:wrap;gap:5px;margin:7px 0}.snd172-actions button{border:0;border-radius:7px;padding:8px 10px;background:#236b91;color:#fff;font-size:11px;cursor:pointer;flex:1 1 126px}.snd172-actions button.snd172-sub{background:#e3f0f6;color:#265979;border:1px solid #9fbecf}.snd172-actions button:focus-visible{outline:3px solid #f09a56;outline-offset:2px}.snd172-status{min-height:15px;overflow-wrap:anywhere}@media (max-width:600px){.snd172-fields{grid-template-columns:1fr}.snd172-actions button{min-height:42px}}.ac173-panel{border:1px solid #adc9d9;border-radius:12px;background:#f4f9fb;color:#213f55;margin:11px 0}.ac173-panel>summary{padding:12px;cursor:pointer;font-weight:800;font-size:13px;line-height:1.5}.ac173-content{padding:0 12px 12px}.ac173-content p{color:#526c7a;font-size:11px;line-height:1.55}.ac173-content strong{display:block;font-size:12px;margin-top:12px}.ac173-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.ac173-fields label{min-width:0;font-size:11px;color:#425f73}.ac173-fields input{display:block;box-sizing:border-box;width:100%;min-width:0;margin-top:4px;background:#fff;color:#233d51;border:1px solid #a9c1d0;border-radius:7px;padding:8px;font-size:12px}.ac173-actions{display:flex;flex-wrap:wrap;gap:6px;margin:9px 0}.ac173-actions button{flex:1 1 130px;min-height:36px;border:0;border-radius:7px;padding:8px;background:#236f99;color:#fff;font-size:11px;font-weight:650;cursor:pointer}.ac173-actions button.ac173-sub{background:#dfedf4;border:1px solid #9fc2d3;color:#275874}.ac173-actions button:focus-visible{outline:3px solid #e9a159;outline-offset:2px}.ac173-status{min-height:17px;overflow-wrap:anywhere;font-size:11px}@media (max-width:600px){.ac173-fields{grid-template-columns:1fr}.ac173-actions button{min-height:43px}}.ast174-panel{border:1px solid #b6c7dd;border-radius:12px;background:#f3f8fd;color:#213e59;margin:12px 0}.ast174-panel>summary{padding:12px;cursor:pointer;font-weight:800;font-size:13px;line-height:1.5}.ast174-content{padding:0 12px 12px}.ast174-content p{color:#536b80;font-size:11px;line-height:1.6}.ast174-content strong{font-size:12px}.ast174-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:10px 0}.ast174-fields label{font-size:11px;min-width:0;color:#45617c}.ast174-fields input{display:block;box-sizing:border-box;width:100%;min-width:0;margin-top:4px;padding:8px;background:#fff;color:#243c53;border:1px solid #a3bcd2;border-radius:7px;font-size:12px}.ast174-actions{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0}.ast174-actions button{flex:1 1 130px;min-height:36px;cursor:pointer;border:0;border-radius:8px;background:#2c6999;color:#fff;padding:8px;font-size:11px;font-weight:700}.ast174-actions button.ast174-sub{background:#e2edf6;color:#2c5477;border:1px solid #a9c6df}.ast174-actions button:focus-visible{outline:3px solid #e4a956;outline-offset:2px}.ast174-status{overflow-wrap:anywhere;min-height:15px}.ast174-hit{cursor:grab;touch-action:none}.ast174-hit:active{cursor:grabbing}@media (max-width:600px){.ast174-fields{grid-template-columns:1fr}.ast174-actions button{min-height:43px}}.qe175-panel{border:1px solid #b8c5de;border-radius:12px;background:#f4f7ff;color:#273c62;margin:12px 0}.qe175-panel>summary{padding:12px;cursor:pointer;font-size:13px;font-weight:800;line-height:1.5}.qe175-content{padding:0 12px 12px}.qe175-content p{color:#566a84;font-size:11px;line-height:1.6}.qe175-content strong{display:block;margin:10px 0 7px;font-size:12px}.qe175-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.qe175-fields label{font-size:11px;color:#516483;min-width:0}.qe175-fields input{display:block;width:100%;box-sizing:border-box;margin:4px 0 0;padding:8px;border:1px solid #b6c6dc;background:#fff;color:#1b3554;border-radius:7px}.qe175-actions{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.qe175-actions button{flex:1 1 120px;min-height:36px;border:0;border-radius:7px;padding:8px 7px;background:#445db1;color:#fff;font-weight:700;font-size:11px;cursor:pointer}.qe175-actions .qe175-sub{background:#e7ebf9;color:#344e8c;border:1px solid #bdcae8}.qe175-actions button:focus-visible{outline:3px solid #f7b24e;outline-offset:2}.qe175-status{overflow-wrap:anywhere;min-height:20px}@media (max-width:640px){.qe175-fields{grid-template-columns:1fr}.qe175-actions button{min-height:43px}}.lab176-panel{border:1px solid #8bbaca;background:#f1fafc;border-radius:12px;margin:12px 0;color:#21435a}.lab176-panel>summary{padding:11px;font-size:13px;font-weight:800;cursor:pointer;line-height:1.55}.lab176-body{padding:2px 12px 12px;display:grid;gap:9px}.lab176-body p{font-size:11px;line-height:1.6;margin:3px 0;color:#4b6476}.lab176-body label{font-size:11px;color:#304e63}.lab176-body input:not([type=checkbox]),.lab176-body select{display:block;box-sizing:border-box;width:100%;min-width:0;margin-top:4px;border:1px solid #accbd4;background:#fff;border-radius:7px;padding:8px;color:#193b4d}.lab176-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lab176-grid[hidden]{display:none}.lab176-actions{display:flex;flex-wrap:wrap;gap:7px}.lab176-actions button{border:0;border-radius:8px;padding:10px;font-size:11px;min-height:36px;font-weight:750;background:#16748f;color:#fff;flex:1 1 115px;cursor:pointer}.lab176-actions button.sub{border:1px solid #9ec5d2;background:#e6f2f7;color:#26566d}.lab176-lock{display:flex;align-items:center;gap:7px;font-weight:650}.lab176-lock input{width:17px;height:17px}.lab176-hit{fill:#def9ff;stroke:#087a9c;stroke-width:3;cursor:grab;touch-action:none;filter:drop-shadow(0 1px 3px #5a94aa)}.lab176-hit.lab176-locked{fill:#e8ebed;stroke:#7f8f98;cursor:not-allowed}@media (max-width:650px){.lab176-grid{grid-template-columns:1fr}.lab176-actions button{min-height:42px}}.rel177-panel{margin:12px 0;border:1px solid #87b5cf;background:#f0f9fd;border-radius:12px;color:#234255;overflow:hidden}.rel177-panel>summary{padding:12px;font-size:13px;font-weight:800;line-height:1.45;cursor:pointer}.rel177-body{padding:4px 12px 12px;display:grid;gap:9px}.rel177-body p{font-size:11px;line-height:1.6;margin:3px 0;color:#4b6476}.rel177-body label{font-size:11px;font-weight:650;color:#274a64;min-width:0}.rel177-body select,.rel177-body input{display:block;width:100%;min-width:0;box-sizing:border-box;margin-top:5px;padding:8px;border:1px solid #afcad8;border-radius:7px;background:#fff;color:#173a53;font-size:12px}.rel177-body [hidden]{display:none!important}.rel177-field{display:grid;gap:4px}.rel177-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.rel177-buttons{display:flex;flex-wrap:wrap;gap:6px}.rel177-buttons button,.rel177-field button{cursor:pointer;border:0;border-radius:7px;min-height:36px;padding:8px 10px;background:#087d9a;color:#fff;font-size:11px;font-weight:750}.rel177-buttons button{flex:1 1 115px}.rel177-buttons button.rel177-minor,.rel177-field button.rel177-minor{background:#e2f1f7;color:#205771;border:1px solid #a7cddd}.rel177-body #rel177Status{color:#12566e;font-weight:750}.rel177-overlay{pointer-events:none!important}.rel177-property{border-left:3px solid #0b8ba9}@media (max-width:650px){.rel177-two{grid-template-columns:1fr}.rel177-buttons button,.rel177-field button{min-height:42px}}.svgstage text:not(.v10-math):not(.math-formula),.optics-preset svg text,.object-preview svg text{font-family:Arial,Tahoma,DejaVu Sans,sans-serif;font-kerning:normal;font-variant-ligatures:none;letter-spacing:normal;word-spacing:normal;text-rendering:geometricPrecision}.physics-qa-message{font-size:12px;color:#6a4b2a;background:#fff8ec;border:1px solid #e6d1ad;padding:8px;border-radius:8px;line-height:1.4}.hat-ui-1772 .workspace{grid-template-columns:minmax(245px,270px) minmax(450px,1fr) minmax(265px,298px);gap:8px;padding:8px}.hat-ui-1772 .panel-head{padding:10px 12px 8px}.hat-ui-1772 #leftPanel .panel-body{padding:10px;scrollbar-gutter:stable}.hat-ui-1772 .top{min-height:52px;padding:7px 12px;gap:8px}.hat-ui-1772 .top .brand{min-width:190px}.hat-ui-1772 .top .brandmark{width:32px;height:32px;border-radius:8px}.hat-ui-1772 .top-actions{flex-wrap:nowrap;gap:5px}.hat-ui-1772 .top-actions .btn{font-size:11px;padding:6px 8px}.hat-ui-1772 .canvas-top{min-height:44px;padding:7px 9px;gap:5px}.hat-ui-1772 .canvas-top .switch{font-size:11px}.hat-ui-1772 .canvas-footer{padding:6px 10px;gap:9px;flex-wrap:wrap}.hat-ui-1772 #libraryPicker{margin-bottom:6px}.hat-ui-1772 #libraryPicker:not([open]){border:1px solid #cbdfe8}.hat-ui-1772 .library-picker>summary{font-size:12px;padding:9px 10px;cursor:pointer}.hat-ui-1772 .library-picker-items{grid-template-columns:repeat(2,minmax(0,1fr))}.hat-ui-1772 .library-picker-items button{text-align:left;padding:8px;min-height:48px}.hat-ui-1772 .hat-task-header{border:1px solid #bedee9;border-radius:10px;background:#f5fbfd;margin:6px 0 10px;padding:7px 9px}.hat-ui-1772 .hat-task-header button{width:100%;display:flex;align-items:center;justify-content:space-between;border:0;background:none;color:#165b74;padding:5px 3px;font-weight:750;font-size:12px;cursor:pointer;text-align:left}.hat-ui-1772 .hat-task-header small{color:#5f7581;line-height:1.5;display:block;margin-top:3px}.hat-ui-1772 #hatBuildShelf[hidden]{display:none!important}.hat-ui-1772 #hatBuildShelf{border:1px solid #d0e3eb;padding:7px;border-radius:12px;max-height:48vh;overflow-y:auto;margin-bottom:11px}.hat-ui-1772 #hatBuildShelf>details{margin:3px 0}.hat-ui-1772 #hatBuildShelf>details>summary{font-size:12px!important;padding:9px 7px!important;line-height:1.3!important}.hat-ui-1772 .topic170-intro{padding:10px}.hat-ui-1772 .topic170-intro p{font-size:10.5px}.hat-ui-1772 .topic170-card{transition:border-color .12s,transform .12s}.hat-ui-1772 .topic170-card:hover{transform:translateY(-1px)}.hat-ui-1772 .hat-topic-more{margin:10px auto;display:block;border-radius:9px;border:1px solid #b0cfdb;padding:10px 20px;background:#e9f7fa;color:#14546a;font-weight:750;cursor:pointer}.hat-ui-1772 .hat-qa-tag{color:#8b5715!important;background:#fff4d9;border-radius:5px;padding:3px 5px;font-size:9px!important}.hat-ui-1772 .right-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;align-items:start;margin:6px;padding:4px}.hat-ui-1772 .right-tabs button{font-size:11px;min-height:33px;line-height:1.2;padding:6px 2px}.hat-ui-1772 #hatMoreTabs{position:relative;min-width:0}.hat-ui-1772 #hatMoreTabs>summary{list-style:none;cursor:pointer;min-height:33px;display:grid;place-items:center;border-radius:7px;color:#3c657b;font-weight:700;background:#ddebf2;font-size:11px}.hat-ui-1772 #hatMoreTabs>summary::-webkit-details-marker{display:none}.hat-ui-1772 .hat-more-tabs-list{position:absolute;z-index:10;right:0;top:37px;width:202px;display:grid;gap:4px;background:#fff;padding:7px;border:1px solid #bdd4e2;border-radius:10px;box-shadow:0 10px 25px #1c3d5836;max-height:55vh;overflow:auto}.hat-ui-1772 .hat-more-tabs-list button{text-align:left;padding:9px!important;font-size:12px}.hat-ui-1772.hat-compact:not(.hat-expanded-bars) .v159-quickbar,.hat-ui-1772.hat-compact:not(.hat-expanded-bars) .v160-circuitbar{display:none!important}.hat-ui-1772 #hatSimpleTools{color:#16667d;border-color:#b6d5dd;background:#e7f5fa}.hat-ui-1772.hat-expanded-bars #hatSimpleTools{background:#147e98;color:#fff}@media (max-width:1280px) and (min-width:881px){.hat-ui-1772 .workspace{grid-template-columns:230px minmax(310px,1fr) 255px}.hat-ui-1772 .top .brand{min-width:155px}.hat-ui-1772 .top-actions .btn:not(#hatQuickSearchBtn){font-size:10px;padding:5px}}@media (max-width:880px){.hat-ui-1772 .workspace{grid-template-columns:minmax(0,1fr);padding:5px}.hat-ui-1772 .top{gap:6px;padding:6px 7px}.hat-ui-1772 .top-actions #hatQuickSearchBtn{min-width:37px}.hat-ui-1772 .canvas-top{gap:4px}.hat-ui-1772 #hatBuildShelf{max-height:45vh}.hat-ui-1772 #leftPanel .panel-body{padding:9px}.hat-ui-1772 .right-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}.hat-ui-1772 .hat-more-tabs-list{right:0;max-width:80vw}.hat-ui-1772 footer.status{min-height:24px!important;max-height:30px!important;padding:3px 7px!important;font-size:10px!important;overflow:hidden}.hat-ui-1772 footer.status .hat-about-footer,.hat-ui-1772 footer.status .spacer,.hat-ui-1772 footer.status strong{display:none!important}.hat-ui-1772 footer.status #statusText{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hat-ui-1772 .canvas-note{max-width:86vw}.hat-ui-1772 .canvas-top .layout-quick{display:none}.hat-ui-1772 #leftPanel.show,.hat-ui-1772 #rightPanel.show{width:calc(100vw - 16px);max-width:420px}}@media (prefers-reduced-motion:reduce){.hat-ui-1772 .topic170-card{transition:none!important}}.hat-ui-1772.hat-compact:not(.hat-expanded-bars) .canvas-top .switch:not(:first-of-type),.hat-ui-1772.hat-compact:not(.hat-expanded-bars) #clearBtn,.hat-ui-1772.hat-compact:not(.hat-expanded-bars) .canvas-top .layout-quick{display:none!important}.hat-ui-1772 #hatMoreTabs:has(button.active)>summary{background:#ccecf3;color:#0a6c85}@media (max-width:880px){.hat-ui-1772 .canvas-top{align-content:start;min-height:42px}.hat-ui-1772 .canvas-top strong{font-size:12px;margin:0 2px 0 0}.hat-ui-1772 .canvas-note{display:none}.hat-ui-1772 .canvas-footer>span:not(#objectCount):not(#selLabel){display:none}.hat-ui-1772 .canvas-footer{min-height:26px}}.hat-ui-1772 .hat-qa-checked{display:block;font-size:10px;color:#175e76!important;background:#e9f4f9;padding:3px 5px;border-radius:5px;line-height:1.4}.hat-ui-1772 .topic170-card:focus-visible{outline:3px solid #187caa;outline-offset:2px}.v1774-prop-status{margin:0 12px 10px;padding:9px 10px;border:1px solid #d8e6ed;border-radius:9px;background:#f6fafc;display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:11px;color:#35556b}.v1774-prop-status>span{flex:1;min-width:120px;overflow-wrap:anywhere;font-weight:600}.v1774-prop-status label{display:flex;align-items:center;gap:4px;font-weight:600;white-space:nowrap}.v1774-lock-note{margin:0 12px 10px;padding:8px 10px;color:#8b551b;background:#fff8ea;border:1px solid #f1d5a9;border-radius:8px;font-size:12px;line-height:1.4}.v1774-metrics{margin:6px 0 12px;padding:10px;background:#edf7fc;border-left:3px solid #2783af;font-size:12px;line-height:1.5;color:#25485f}.v1774-metrics small{display:block;font-size:11px;color:#526b79;margin-top:4px}#properties .field input:disabled,#properties .field select:disabled{background:#eff2f5;color:#7b8b96;border-color:#e2e7ec;cursor:not-allowed}#properties .field input:focus-visible,#properties .field select:focus-visible,#properties button:focus-visible{outline:2px solid #0e84bb;outline-offset:2px}@media (max-width:880px){.v1774-prop-status{gap:8px}.v1774-prop-status>span{width:100%;flex:auto}}.v1774-check,.v1774-flips{margin:6px 12px 10px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:#34566a}.v1774-check input,.v1774-flips input{accent-color:#0d819d;vertical-align:middle}.v1776-topology-report{background:#ecf5fa;border:1px solid #a7cbdc;border-radius:8px;margin:5px 12px;padding:9px 12px;font-size:13px;line-height:1.6;white-space:normal;color:#1d4c66;max-height:122px;overflow:auto}.v1776-topology-report.has-error{background:#fff0eb;border-color:#dd9c88;color:#873b23}.v1776-topology-report[hidden]{display:none!important}@media (max-width:880px){.v1776-topology-report{margin:3px 6px;font-size:12px;max-height:90px}}.hat-ui-1772.hat-compact:not(.hat-expanded-bars) .v1776-topology-report,.v160-circuitbar.thermal-hidden+.v1776-topology-report{display:none!important}#qa178Open{font-weight:700;color:#165c67;background:#eaf8f6;border:1px solid #78b4b8}#qa178Modal[hidden]{display:none!important}#qa178Modal{position:fixed;inset:0;z-index:24000;background:#102331ad;display:flex;align-items:center;justify-content:center;padding:16px}.qa178-dialog{background:#fff;border-radius:14px;padding:20px;max-height:90vh;overflow:auto;width:min(760px,100%);box-shadow:0 20px 60px #0d25344d;color:#203c4d}.qa178-dialog h2{margin:0 0 8px;font-size:21px}.qa178-help,.qa178-note{font-size:13px;color:#526b79}.qa178-stats{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.qa178-stats span{background:#f0f5f7;padding:7px 10px;border-radius:7px;font-size:13px}.qa178-list{max-height:240px;overflow:auto;border:1px solid #d4e0e5;border-radius:8px;padding:8px}.qa178-entry{font-size:13px;border-left:3px solid #d89f38;padding:6px 9px;margin:4px 0;background:#fffcf4}.qa178-entry.error{border-color:#d0524c;background:#fff2f2}.qa178-review{display:flex;gap:10px;align-items:flex-start;background:#eff7f8;padding:12px;border-radius:8px;margin:12px 0;font-size:13px}.qa178-review input{margin-top:3px}.qa178-actions{display:flex;gap:7px;flex-wrap:wrap}.qa178-actions button{border-radius:7px;border:1px solid #acc7d0;background:#fff;padding:8px 11px;cursor:pointer}.qa178-actions button.primary{background:#116679;color:#fff}.qa178-actions button:disabled{opacity:.5;cursor:not-allowed}@media (max-width:720px){.qa178-dialog{padding:12px}.qa178-actions button{flex:1 1 44%}#qa178Open{padding:8px}}.qa179-panel{margin:12px 0;padding:12px;border:1px solid #94a3b8;border-radius:10px}.qa179-panel summary{cursor:pointer;font-weight:700}.qa179-panel label{display:block;margin:10px 0;font-size:13px}.qa179-panel input,.qa179-panel textarea{display:block;width:100%;box-sizing:border-box;margin-top:4px;background:#fff;color:#17233a;border:1px solid #9ca3af;border-radius:5px;padding:8px;font:inherit}.qa179-panel textarea{font:12px/1.5 monospace;resize:vertical}.qa179-panel button:disabled{opacity:.35;cursor:not-allowed}.qa179-panel p{line-height:1.5}@media (min-width:850px){#qa178Modal .qa178-dialog{width:min(1060px,calc(100vw - 40px));max-width:1060px}}@media (max-width:720px){#qa178Modal{padding:5px}#qa178Modal .qa178-dialog{max-height:96dvh;width:100%;box-sizing:border-box}}.qa17710-panel{margin:12px 0;padding:12px;border:1px solid #87a6bd;border-radius:10px;background:#f4f8fc;color:#243b53}.qa17710-panel summary{cursor:pointer;font-weight:700}.qa17710-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:10px}.qa17710-settings label{display:flex;flex-direction:column;gap:5px}.qa17710-settings textarea{width:100%;min-height:66px}.qa17710-settings button{align-self:end;min-height:36px}.qa178-entry[role=button],button.qa178-entry{border:1px solid #bdccdc;background:#fff;border-radius:6px;padding:9px;margin:5px 0;color:#243b53}button.qa178-entry.error{border-left:4px solid #c43434}button.qa178-entry.warning{border-left:4px solid #c48a16}@media (max-width:600px){.qa17710-settings{grid-template-columns:1fr}}.hat178-more,.hat178-menu{display:none}@media (min-width:881px) and (max-width:1279px){header.top #aiQuickOpen,header.top #v11TraceTop,header.top #quickCompileBtn,header.top #openBtn,header.top #saveBtn,header.top #newBtn{display:none!important}header.top .hat178-more{display:inline-flex;align-items:center;justify-content:center;min-width:40px;font-size:20px;line-height:1}}@media (max-width:1279px){.hat178-menu:not([hidden]){display:flex;flex-direction:column;position:fixed;z-index:1000;top:54px;right:8px;min-width:220px;max-height:calc(100vh - 70px);overflow:auto;background:#fff;border:1px solid #cfdde6;border-radius:12px;box-shadow:0 12px 32px #0f283c38;padding:6px}.hat178-menu button{all:unset;box-sizing:border-box;display:block;width:100%;padding:11px 14px;border-radius:8px;font:500 15px/1.2 system-ui,Segoe UI,Arial,sans-serif;color:#16344a;cursor:pointer}.hat178-menu button:hover,.hat178-menu button:focus-visible{background:#e8f4f8;outline:2px solid #0f6e8c;outline-offset:-2px}.hat178-sep{height:1px;background:#e2ebf0;margin:4px 6px}}@media (max-width:880px){header.top{flex-wrap:nowrap;overflow:hidden}header.top .top-actions>*:not(#undoBtn):not(#redoBtn){display:none!important}header.top #qa178Open,header.top #hat200PaletteBtn,header.top #hat200WordBtn,header.top #svgBtn,header.top #pngBtn,header.top .hat-about-link,header.top .grow{display:none!important}header.top .hat178-more{display:inline-flex;align-items:center;justify-content:center;min-width:40px;font-size:20px;line-height:1;margin-left:auto}}.lib-tile+.v10-star{display:block;margin:-33px 8px 12px auto}.topic170-thumb img.hat190-thumb{height:66px;width:100%;object-fit:contain;background:#fff;border-radius:6px}.hat190-export{border:1px solid #cfe0ea;border-radius:12px;padding:10px 14px 6px;margin:12px 0;background:#f7fbfd}.hat190-export legend{font-weight:700;color:#1d4a63;padding:0 6px}.hat190-frames{display:flex;flex-wrap:wrap;gap:6px 20px;margin-bottom:8px}.hat190-row{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:end;margin-bottom:8px}.hat190-row label{display:flex;flex-direction:column;gap:3px;font-size:13px;color:#33566b}.hat190-row input,.hat190-row select{width:110px;padding:6px 8px;border:1px solid #bcd3df;border-radius:8px;font:inherit}.hat190-row input:disabled{opacity:.5}.hat190-mono{display:block;margin:2px 0 6px}.hat190-size{margin:4px 0;font-size:13px;color:#0f6e8c;font-weight:600;min-height:1.2em}.hat190-preview{position:fixed;inset:0;z-index:1200;background:#0e233273;display:flex;align-items:center;justify-content:center;padding:16px}.hat190-preview[hidden]{display:none}.hat190-preview section{background:#fff;border-radius:16px;box-shadow:0 24px 64px #0a1e2d4d;padding:18px 20px;width:min(720px,100%);max-height:94vh;overflow:auto;outline:none}.hat190-preview h2{margin:0 0 4px;font-size:20px;color:#163c52}.hat190-topics{margin:0 0 10px;color:#5d7a8c;font-size:13px}.hat190-preview-img{border:1px solid #dce8ef;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;color:#7a93a3}.hat190-preview-img img{max-width:100%;max-height:100%;display:block}.hat190-help{font-size:13px;color:#4c6878;margin:10px 0}.hat190-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.hat190-actions button{padding:9px 14px;border-radius:10px;border:1px solid #bcd3df;background:#fff;font:600 14px/1.2 inherit;cursor:pointer;color:#163c52}.hat190-actions button.primary{background:#0f6e8c;border-color:#0f6e8c;color:#fff}.hat190-actions button:focus-visible{outline:3px solid #f2b84b;outline-offset:2px}.hat190-mode{border:1px solid #bcd3df;background:#fff;border-radius:999px;padding:4px 10px;font:600 12px/1.2 inherit;color:#0f6e8c;cursor:pointer;white-space:nowrap}.hat190-mode[aria-pressed=true]{background:#0f6e8c;color:#fff;border-color:#0f6e8c}body.hat-simple #aiQuickOpen,body.hat-simple #v11TraceTop,body.hat-simple #quickCompileBtn,body.hat-simple .hat-task-header,body.hat-simple #hatBuildShelf,body.hat-simple #tabStudio,body.hat-simple #hatMoreTabs,body.hat-simple #qa178Modal .qa179-panel,body.hat-simple #hatMoreMenu [data-target=aiQuickOpen],body.hat-simple #hatMoreMenu [data-target=v11TraceTop],body.hat-simple #hatMoreMenu [data-target=quickCompileBtn]{display:none!important}.hat190-reviewlink{display:inline-block;margin:4px 0 6px;font-size:13px;font-weight:600;color:#0f6e8c}.hat200-menu{position:fixed;z-index:9000;min-width:250px;max-width:340px;background:#fff;border:1px solid var(--line,#dce5ee);border-radius:10px;box-shadow:0 12px 32px #10283c2e;padding:5px;font-size:13.5px}.hat200-menu button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;border:0;background:none;padding:7px 10px;border-radius:6px;color:var(--ink,#17263d);cursor:pointer;text-align:left;font:inherit}.hat200-menu button:hover,.hat200-menu button:focus-visible{background:var(--accents,#e9f8fc);outline:none}.hat200-menu hr{border:0;border-top:1px solid var(--line,#dce5ee);margin:4px 6px}.hat200-menu kbd,.hat200-palette kbd,.hat200-keys kbd{font:11.5px/1.4 ui-monospace,Consolas,monospace;color:#5a6b7d;background:#f3f6fa;border:1px solid #dce5ee;border-radius:4px;padding:1px 5px;white-space:nowrap}.hat200-backdrop{position:fixed;inset:0;z-index:9500;background:#10283c40;display:flex;align-items:flex-start;justify-content:center;padding-top:9vh}.hat200-palette{width:min(680px,94vw);background:#fff;border-radius:14px;box-shadow:0 24px 60px #10283c55;overflow:hidden;display:flex;flex-direction:column;max-height:76vh}.hat200-palette input{border:0;border-bottom:1px solid var(--line,#dce5ee);padding:15px 18px;font-size:16px;outline:none}.hat200-palette ul{list-style:none;margin:0;padding:6px;overflow:auto}.hat200-palette li{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;cursor:pointer}.hat200-palette li.on{background:var(--accents,#e9f8fc)}.hat200-palette li .k{flex:0 0 72px;font-size:11px;color:#0c7792;text-transform:uppercase;letter-spacing:.04em}.hat200-palette li .l{flex:1;color:var(--ink,#17263d)}.hat200-palette li small{color:#8696a6;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hat200-palette li.none{color:#8696a6;cursor:default}.hat200-hint{margin:0;padding:8px 16px;font-size:12px;color:#8696a6;border-top:1px solid var(--line,#dce5ee)}.hat200-keys{background:#fff;border-radius:14px;box-shadow:0 24px 60px #10283c55;padding:18px 22px;width:min(560px,94vw)}.hat200-keys h3{margin:0 0 10px;font-size:17px}.hat200-keys table{border-collapse:collapse;width:100%;font-size:13.5px}.hat200-keys td{padding:5px 6px;border-bottom:1px solid #eef2f6;vertical-align:top}.hat200-keys td:first-child{white-space:nowrap;width:1%}.hat200-keys button{margin-top:12px;float:right;border:1px solid var(--line,#dce5ee);background:#fff;border-radius:8px;padding:6px 14px;cursor:pointer}.hat200-coords{font:12px ui-monospace,Consolas,monospace;color:#5a6b7d;margin-left:14px;white-space:nowrap}@media (max-width:760px){.hat200-coords{display:none}}footer.status{flex-wrap:nowrap!important;white-space:nowrap;overflow:hidden}footer.status #statusText{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}footer.status>strong{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}footer.status .hat200-coords{flex:none}
