:root{font-family:Inter,Noto Sans JP,Yu Gothic,Meiryo,sans-serif;color:#233640;background:#f3f6f7;font-synthesis:none;font-weight:400}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #dce3e6;background:#fff;color:#41535d;border-radius:7px;padding:9px 14px;font-size:12px;font-weight:600;transition:background .15s}button:hover{background:#edf4f2}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #45a995;outline-offset:3px}.app{min-height:100vh;display:flex;flex-direction:column}.app-header{height:76px;background:#fff;border-bottom:1px solid #e1e7e9;display:flex;align-items:center;padding:0 32px;gap:32px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#193c3b;font-size:25px;letter-spacing:-1px;font-weight:750}.brand-light{font-weight:400}.brand-mark{width:32px;height:34px;position:relative;display:inline-block}.brand-mark i{position:absolute;left:3px;width:25px;height:16px;border:2px solid #1f897a;border-radius:3px;transform:rotate(-30deg) skew(30deg) scaleY(.72);background:#fff}.brand-mark i:nth-child(1){top:17px;background:#d7eee8}.brand-mark i:nth-child(2){top:9px}.brand-mark i:nth-child(3){top:1px;background:#1f897a}.version{font-size:9px;font-weight:650;letter-spacing:.8px;padding:4px 6px;background:#eff4f2;color:#658079;border:1px solid #dce8e2;border-radius:4px;margin-left:2px}.header-note{display:flex;align-items:center;gap:8px;letter-spacing:1.6px;font-size:9px;color:#80908e}.live-dot{height:6px;width:6px;border-radius:50%;background:#399985;display:inline-block;flex-shrink:0}.file-actions{margin-left:auto;display:flex;gap:8px;align-items:center}.file-actions button{display:flex;align-items:center;gap:9px}.file-actions .primary{background:#177867;border-color:#177867;color:#fff}.file-actions .primary:hover{background:#126352}.workspace-heading{display:flex;justify-content:space-between;align-items:center;margin:27px 32px 23px}.eyebrow{font-size:9px;color:#718883;letter-spacing:2px;font-weight:650}h1{font-size:23px;letter-spacing:.1px;margin:8px 0 6px;font-weight:650}.workspace-heading p{font-size:12px;color:#839099;margin:0}.scope-pill{background:#eaf2ee;border:1px solid #d6e5df;color:#427569;border-radius:30px;padding:11px 17px;font-size:12px;display:flex;align-items:center;gap:12px;font-weight:650}.scope-pill span{width:7px;height:7px;background:#338a78;border-radius:50%}.scope-pill b{font-weight:400;color:#97afa5}.workspace{display:grid;grid-template-columns:minmax(330px,31%) minmax(0,1fr);margin:0 32px;gap:18px;height:calc(100vh - 330px);min-height:480px}.editor-panel,.preview-panel{background:#fff;border:1px solid #dce4e7;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;min-height:0;box-shadow:0 2px 4px #193f3a03}.panel-header{height:49px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 15px;border-bottom:1px solid #e6ecee;font-size:12px;font-weight:650}.panel-header>div{display:flex;align-items:center;gap:9px}.file-icon{color:#639184;font-size:20px}.file-type{font-size:9px;letter-spacing:.6px;background:#f0f3f5;color:#83919b;border-radius:3px;padding:3px 5px}.saved{font-size:10px;color:#92a29d;font-weight:400}.unsaved{color:#b18138}.filename-row{height:34px;display:flex;justify-content:space-between;align-items:center;background:#fbfcfd;border-bottom:1px solid #edf0f2;font-size:10px;color:#8b98a3;padding:0 15px}.filename-row span:first-child{color:#54756c}.editor{flex:1;min-height:0;overflow:hidden}.editor-bottom{height:31px;flex-shrink:0;padding:0 12px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e7ecee;font-size:9px;color:#95a0a6}.preview-toolbar{min-height:49px;display:flex;justify-content:space-between;gap:12px;align-items:center;padding:6px 14px;border-bottom:1px solid #e6ecee}.tabs{display:flex;gap:3px;background:#f0f4f4;border-radius:6px;padding:3px}.tabs button{font-size:11px;border:none;padding:6px 12px;color:#89958f;background:transparent;border-radius:4px;white-space:nowrap}.tabs button.active{background:#fff;color:#227d6c;box-shadow:0 1px 3px #354c3b18}.toggle-label{display:flex;gap:7px;align-items:center;font-size:10px;white-space:nowrap;color:#71837e;cursor:pointer}.toggle-label input{position:absolute;opacity:0;width:1px;height:1px}.toggle-track{width:26px;height:15px;border-radius:14px;background:#ced9d5;position:relative}.toggle-track:after{content:"";position:absolute;width:11px;height:11px;border-radius:50%;background:#fff;left:2px;top:2px;transition:left .15s}.toggle-label input:checked+.toggle-track{background:#268c77}.toggle-label input:checked+.toggle-track:after{left:13px}.toggle-label input:disabled+.toggle-track{opacity:.3}.toggle-label input:focus-visible+.toggle-track{outline:3px solid #45a995;outline-offset:3px}.preview-info{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;gap:8px;font-size:10px;border-bottom:1px solid #edf1f1}.preview-label{display:flex;align-items:center;gap:7px;letter-spacing:1.4px;color:#859790;font-size:9px}.preview-info label{display:flex;align-items:center;gap:8px;color:#879690}.preview-info select{font-size:10px;color:#4a6b60;border:1px solid #dfe7e3;background:#fff;border-radius:5px;padding:4px;max-width:200px}.viewport{position:relative;flex:1;min-height:0;overflow:auto;background-color:#f7faf9;background-image:radial-gradient(#dce6e1 .8px,transparent .8px);background-size:16px 16px}.diagram-space{position:relative;min-width:100%;min-height:100%}.diagram{position:absolute;left:32px;top:32px;transform-origin:0 0;box-shadow:0 3px 18px #264e3d12;background:#fff}.diagram svg{display:block}.diagram [data-device]{cursor:pointer;transition:opacity .18s}.diagram .other-device{opacity:.25}.diagram .selected-device rect{stroke:#05987b;stroke-width:3}.diagram [data-device]:focus{outline:none}.diagram [data-device]:focus rect{stroke:#05987b;stroke-width:3}.preview-bottom{min-height:43px;display:flex;justify-content:space-between;align-items:center;padding:6px 13px;gap:12px;border-top:1px solid #e4ebe7}.legend{display:flex;gap:13px;font-size:9px;color:#85968e}.legend span{display:flex;align-items:center;gap:5px}.legend i{width:15px;display:inline-block;border-top:2px solid #6d8792}.legend .line-dash{border-top:2px dashed #916eb0}.zoom-controls{display:flex;gap:3px;align-items:center;color:#83988e;font-size:10px}.zoom-controls button{padding:4px 7px;font-size:11px;border-color:transparent}.zoom-controls span{min-width:38px;text-align:center}.zoom-controls button:last-child{border-left:1px solid #e1e8e4;border-radius:0;margin-left:4px;font-size:10px}.validation{margin:15px 32px 0;border:1px solid #dce7e2;background:#fff;border-radius:8px;flex-shrink:0}.validation-title{display:flex;align-items:center;gap:10px;min-height:45px;padding:9px 14px;font-size:11px}.status-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#e4f3ed;color:#27886e;font-size:12px}.invalid .status-icon{color:#ae6140;background:#f9eee6}.pending .status-icon,.loading .status-icon{color:#9d813d;background:#faf4e4}.validation-title strong{font-size:11px;color:#5c776c}.invalid .validation-title strong{color:#ae6140}.counts{color:#98a89f;font-size:10px;margin-left:8px}.counts b{font-weight:400;margin:0 8px}.validation-hint{margin-left:auto;color:#98a69f;font-size:10px}.issue{display:flex;align-items:baseline;gap:9px;text-align:left;border:0;border-top:1px solid #f2e8e2;width:100%;border-radius:0;background:#fffaf7;color:#a86444;font-size:11px;font-weight:400;padding:10px 14px}.issue span{white-space:nowrap}.issue code{font-size:10px;overflow-wrap:anywhere}.stale-banner{position:sticky;top:0;z-index:3;background:#fff8dfed;color:#a3883e;padding:9px 14px;font-size:11px;border-bottom:1px solid #eee1b5}.stale-banner.error{background:#fff1e9f5;color:#a66543;border-color:#eed8ca}.empty-state{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8a9f96}.empty-state h2{font-size:16px;font-weight:500}.empty-state p{font-size:11px}.empty-glyph{font-size:60px;color:#a6c2b6}footer{display:flex;justify-content:space-between;gap:12px;padding:18px 33px 22px;color:#9ba7a3;font-size:9px;line-height:1.7}footer b{padding:0 7px;font-weight:400}.toast{position:fixed;right:30px;bottom:25px;z-index:20;border:1px solid #cbded3;background:#fff;box-shadow:0 3px 18px #1a49351c;border-radius:8px;padding:10px 14px;font-size:12px;color:#446f5c}.toast button{border:0;padding:3px 8px;margin-left:15px}@media(min-height:1000px){.workspace{height:calc(100vh - 335px)}}@media(max-width:1100px){.header-note{display:none}.app-header{padding:0 20px}.workspace-heading{margin-left:20px;margin-right:20px}.workspace{margin:0 20px;grid-template-columns:330px minmax(0,1fr);gap:12px}.validation{margin-left:20px;margin-right:20px}.tabs button{padding:6px 7px}.preview-toolbar{flex-wrap:wrap}.validation-hint{display:none}.legend{gap:7px}.preview-bottom{flex-wrap:wrap}}@media(max-width:760px){.app-header{height:auto;min-height:76px;flex-wrap:wrap;padding:16px;gap:15px}.brand{font-size:24px}.file-actions{width:100%;margin:0;gap:6px}.file-actions button{padding:8px;font-size:10px;flex:1;justify-content:center}.workspace-heading{margin:22px 16px}.workspace-heading h1{font-size:19px}.scope-pill{display:none}.workspace{margin:0 16px;display:flex;flex-direction:column;height:auto;min-height:0}.editor-panel{height:380px;flex:none}.preview-panel{height:620px;flex:none}.validation{margin:12px 16px 0}.counts{margin-left:0}.validation-title{flex-wrap:wrap}footer{padding:17px;flex-direction:column}.preview-label{font-size:8px}.preview-info{padding:10px}.preview-info select{max-width:170px}.toast{right:16px;bottom:16px;left:16px}}.help-trigger span{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;border:1px solid currentColor;border-radius:50%;font-size:10px}.sample-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 15px;margin:0 32px 15px;border:1px solid #dce4e7;border-radius:9px;background:#fff}.sample-controls{display:flex;align-items:center;gap:10px}.sample-controls label{font-size:11px;color:#657b72;font-weight:600}.sample-controls select{background:#f7faf8;border:1px solid #d8e4dd;border-radius:6px;color:#305e4e;font-size:12px;padding:7px 10px}.sample-controls button{font-size:11px;padding:8px 12px}.sample-bar>p{flex:1;margin:0;font-size:10px;line-height:1.7;color:#87978f}.guide-link{margin-left:auto;border:0;padding:5px;font-size:10px;color:#338370;white-space:nowrap}.sample-error{flex-basis:100%;margin:0;padding:9px 12px;background:#fff3ed;color:#a95d3c;border-radius:5px;font-size:12px;line-height:1.8}.help-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(920px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;padding:0;border:0;border-left:1px solid #cadbd2;border-radius:12px 0 0 12px;background:#fff;color:#233640;box-shadow:-10px 0 60px #173c3824}.help-dialog[open]{display:flex;flex-direction:column}.help-dialog::backdrop{background:#142c3860}body:has(.help-dialog[open]){overflow:hidden}.help-header{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:25px 30px 20px;background:#f5faf7;border-bottom:1px solid #e2ece6;flex-shrink:0}.help-header h2{font-size:23px;font-weight:650;margin:9px 0 7px}.help-header p{margin:0;font-size:12px;color:#7b9185}.help-close{font-size:24px;line-height:1;padding:5px 10px;color:#688578;background:transparent;border:0}.help-nav{display:flex;gap:8px;padding:13px 30px;border-bottom:1px solid #e6ece8;flex-shrink:0;overflow:auto}.help-nav button{border:0;background:#f0f6f2;color:#50856e;font-size:11px;white-space:nowrap;padding:8px 12px}.help-body{padding:24px 30px 45px;overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;font-size:13px;line-height:1.9}.help-body p{color:#647b70}.help-body .help-lead{margin:0 0 22px;font-size:14px}.help-body section{scroll-margin-top:15px;margin-bottom:36px}.help-body h3{color:#284e3b;font-size:20px;margin:6px 0 12px;line-height:1.6}.help-body h4{margin:24px 0 10px;font-size:14px;color:#446354}.help-section-number{font-size:10px;letter-spacing:1.6px;font-weight:650;color:#65a085}.help-table-wrap{overflow-x:auto;border:1px solid #e0e9e3;border-radius:7px;margin:15px 0 24px}.help-table{border-collapse:collapse;width:100%;text-align:left;font-size:12px;line-height:1.9}.help-table th{padding:10px 13px;background:#f0f6f2;color:#4d7461;font-weight:600}.help-table td{border-top:1px solid #e6ede8;padding:11px 13px;vertical-align:top}.help-table td:first-child{width:29%;min-width:125px;color:#2b7154;overflow-wrap:anywhere}.help-table td:nth-child(2){color:#61776b}.help-body code{font-family:ui-monospace,Consolas,monospace;font-size:.95em;overflow-wrap:anywhere}.help-body p code{background:#eef5f0;color:#377256;padding:2px 4px;border-radius:3px}.help-code{overflow:auto;padding:16px 19px;background:#f4f7f9;border:1px solid #dfe7eb;color:#3e6576;border-radius:7px;font-size:12px;line-height:1.9;margin:12px 0 20px}.help-code code{overflow-wrap:normal}.help-callout{padding:14px 18px;border-left:3px solid #65ad89;background:#eff8f2;border-radius:0 6px 6px 0;margin:20px 0;color:#3c7756}.help-callout p{margin:6px 0 0;font-size:12px}.help-result{background:#e8f4ec;border-radius:6px;padding:12px 16px;font-weight:650;color:#34704d!important}.help-samples{padding:19px;background:#f8fbf8;border:1px solid #e1eae1;border-radius:9px}.help-samples h3{font-size:16px;margin-top:0}.help-samples>p{font-size:12px;margin:8px 0 15px}.help-sample-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.help-sample-grid article{display:flex;flex-direction:column;padding:14px;background:#fff;border:1px solid #dce7de;border-radius:7px}.sample-tag{font-size:9px;letter-spacing:1px;color:#78a287}.help-sample-grid h4{font-size:14px;margin:5px 0}.help-sample-grid p{font-size:11px;flex:1;margin:5px 0 16px}.help-sample-grid button{font-size:10px;padding:7px 8px;color:#3e7d58;background:#f3f8f3}.help-body li{margin:8px 0;color:#61776b}@media(min-width:761px){.workspace{height:calc(100vh - 395px)}}@media(max-width:1100px){.sample-bar{margin-left:20px;margin-right:20px}.sample-bar>p{min-width:180px}}@media(max-width:760px){.sample-bar{margin:0 16px 15px;padding:12px;gap:8px}.sample-controls{width:100%;gap:7px;flex-wrap:wrap}.sample-controls label{font-size:10px}.sample-controls select{flex:1;min-width:90px;font-size:11px;padding:7px}.sample-controls button{padding:8px;font-size:10px}.sample-bar>p{font-size:10px;min-width:100%}.guide-link{margin:0;padding:0}.help-dialog{border-radius:0}.help-header{padding:20px 16px 16px}.help-header h2{font-size:18px}.help-nav{padding:10px 16px;gap:5px}.help-nav button{padding:7px 10px;font-size:10px}.help-body{padding:20px 16px 35px}.help-body h3{font-size:18px}.help-samples{padding:13px}.help-sample-grid{grid-template-columns:1fr}.help-sample-grid article{padding:12px}.help-sample-grid button{align-self:flex-start}.help-table td,.help-table th{padding:9px}.help-table td:first-child{width:33%;min-width:105px}.help-table{font-size:11px}}.diagram .selected-device>rect.device-frame{stroke:#05987b;stroke-width:3}.diagram .interface-row:hover text{fill:#177b69}.diagram .interface-row:hover .interface-anchor{fill:#b7eadb;stroke:#177b69}.binding-selection{display:flex;align-items:center;gap:12px;padding:9px 14px;border-bottom:1px solid #e2d6ec;background:#f6f0fb;color:#704a8a;flex-shrink:0;font-size:11px}.binding-selection span{flex:1;min-width:0;overflow-wrap:anywhere}.binding-selection button{padding:5px 8px;font-size:10px;color:#704a8a;flex-shrink:0}@media(max-width:760px){.binding-selection{flex-wrap:wrap}.binding-selection span{flex-basis:100%}}.trace-hint{color:#718d83;font-size:10px}.preview-info{flex-wrap:wrap}.trace-selection{flex-shrink:0;padding:9px 14px;background:#f4f8f6;border-bottom:1px solid #d6e5df;font-size:11px;color:#486c5c}.trace-heading{display:flex;align-items:center;gap:10px}.trace-heading strong{flex:1;min-width:0;overflow-wrap:anywhere;font-weight:600}.trace-heading button{padding:5px 8px;font-size:10px;flex-shrink:0}.trace-selection p{font-size:10px;margin:6px 0;color:#728a7d}.trace-details{max-height:145px;overflow:auto;margin-top:6px}.trace-details summary{cursor:pointer;font-size:10px;padding:3px 0 7px}.trace-node-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.trace-node-list strong{font-size:10px;display:block;margin-bottom:5px}.trace-node-list button,.trace-edge-list button{display:block;text-align:left;font-size:10px;padding:5px 7px;margin-bottom:4px;width:100%;overflow-wrap:anywhere;font-weight:400}.trace-node-list button.trace-origin{background:#e0f1e8;color:#177b69;border-color:#9bc7b3}.trace-edge-list{margin-top:5px}.trace-edge-list button{color:#765194}@media(max-width:760px){.trace-heading{flex-wrap:wrap}.trace-heading strong{flex-basis:100%}.trace-details{max-height:150px}.trace-node-list{grid-template-columns:1fr}.trace-hint{order:3;flex-basis:100%}}.scope-controls{padding:14px 20px;background:#f5f8f7;border-bottom:1px solid #dfe8e4;color:#324c44;font-size:12px}.scope-title{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.scope-title>span{flex:1;color:#62746d}.scope-title button{font-size:11px;padding:5px 8px}.scope-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.scope-fields label{display:flex;flex-direction:column;gap:5px;min-width:0;font-weight:600}.scope-fields select{width:100%;min-width:0;max-width:100%;font-size:12px;padding:7px;background:#fff;border:1px solid #cbd8d2;border-radius:5px;color:#29443b}.scope-controls p{line-height:1.7;margin:10px 0 0;overflow-wrap:anywhere}.scope-limits,.scope-boundary{margin-top:9px;line-height:1.7}.scope-controls summary{cursor:pointer}.scope-partial{color:#865a1c}.scope-boundary{padding:8px 10px;background:#fff7e8;border:1px solid #ead7b2;border-radius:5px;overflow-wrap:anywhere}.scope-boundary ul{padding-left:20px;max-height:160px;overflow:auto}.empty-state p{max-width:620px;margin:10px auto;line-height:1.9;padding:0 20px}.trace-heading{flex-wrap:wrap}@media(max-width:1100px){.scope-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.scope-controls{padding:12px}.scope-title>span{flex-basis:100%}.scope-title button{margin-left:auto}.scope-fields{gap:8px}}.workspace{height:auto;min-height:0}.preview-panel{min-height:780px}.scope-controls,.preview-toolbar,.preview-info{flex-shrink:0}.viewport,.empty-state{min-height:400px}.binding-selection{flex-wrap:wrap}@media(max-width:760px){.preview-panel{height:auto;min-height:820px}.editor-panel{height:380px}.viewport{min-height:420px}}.viewport{flex:1 1 480px;height:480px;max-height:640px}@media(min-width:761px){.editor-panel{height:900px}}.legend{flex-wrap:wrap}.input-support{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 18px;padding:14px 18px;background:#fff;border:1px solid #dce5e2;border-radius:10px}.input-support span{font-size:12px;color:#566963;flex:1;min-width:180px}.input-dialog{width:min(800px,calc(100vw - 32px));max-height:88vh;overflow:auto;border:1px solid #cbd9d4;border-radius:12px;padding:24px;color:#243c34;background:#fff;box-shadow:0 20px 80px #142d3440}.input-dialog::backdrop{background:#152d3a80}.input-heading{display:flex;align-items:center;justify-content:space-between}.input-heading h2{margin:0;font-size:22px}.input-dialog p{font-size:13px;line-height:1.8}.input-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.input-dialog label{display:flex;flex-direction:column;gap:7px;font-size:13px;margin:10px 0}.input-dialog input,.input-dialog select{width:100%;min-width:0;padding:9px;border:1px solid #b9ccc4;border-radius:5px;background:#fff;color:#233c33}.input-dialog .input-check{flex-direction:row;align-items:center}.input-check input{width:auto}.input-dialog fieldset{border:1px solid #d8e2de;border-radius:6px;margin:14px 0;padding:10px 16px}.input-dialog legend{font-size:13px}.input-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;position:sticky;bottom:-24px;background:#fff;padding:15px 0}.input-diff{white-space:pre;overflow:auto;max-height:45vh;background:#f1f7f4;border:1px solid #ccded5;padding:14px;font-size:12px;line-height:1.8}.input-error{color:#a83224;background:#fff0eb;padding:12px;overflow-wrap:anywhere}.input-step{color:#19785c;font-weight:600}@media(max-width:650px){.input-grid{grid-template-columns:1fr}.input-dialog{padding:16px}.input-support{align-items:stretch}.input-support strong{width:100%}.input-support button{flex:1;min-width:130px}.input-actions{bottom:-16px}}.input-diff{white-space:pre-wrap;overflow-wrap:anywhere}.merge-entry{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 18px;margin-bottom:12px;background:#f1f7f4;border:1px solid #ccded5;border-radius:10px}.merge-entry span{font-size:12px;color:#536d63}.merge-dialog{width:min(1120px,calc(100vw - 32px));max-height:90vh;overflow:auto;border:1px solid #c4d8cd;border-radius:12px;padding:24px;color:#263f35;background:#fff;box-shadow:0 20px 80px #142d3440}.merge-dialog::backdrop{background:#152d3a80}.merge-dialog h2{font-size:22px}.merge-dialog p,.merge-dialog li{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.merge-tools,.merge-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}.merge-tools span{font-size:12px;color:#566e63}.merge-dialog label{display:flex;flex-direction:column;gap:6px;font-size:13px}.merge-dialog input,.merge-dialog select,.merge-dialog textarea{padding:9px;border:1px solid #bdcfc6;border-radius:5px;max-width:100%;min-width:0;color:#263f35;background:#fff}.merge-dialog details{margin:12px 0;font-size:13px}.merge-dialog summary{cursor:pointer;line-height:1.7;overflow-wrap:anywhere}.merge-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.merge-sources article{border:1px solid #d7e4dc;border-radius:8px;padding:14px;min-width:0}.merge-sources article>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:12px;overflow-wrap:anywhere}.merge-source-code{max-height:180px;overflow:auto;white-space:pre;font-size:11px;background:#f3f7f5;padding:10px}.merge-note{color:#5b6f66;background:#f3f7f5;padding:10px;border-radius:6px}.merge-review{border-top:1px solid #d7e4dc;margin-top:20px;padding-top:10px}.merge-finding{border-left:3px solid #ca8e38;background:#fff9ef;padding:8px 12px}.merge-finding.info{border-color:#548d7a;background:#f0f7f4}.merge-table-scroll{overflow:auto;max-height:280px}.merge-table-scroll table{width:100%;border-collapse:collapse;font-size:12px}.merge-table-scroll td,.merge-table-scroll th{text-align:left;padding:8px;border-bottom:1px solid #d9e4dd;overflow-wrap:anywhere;min-width:110px}.merge-dialog textarea{width:100%;height:280px;font-family:ui-monospace,Consolas,monospace;font-size:12px;white-space:pre;overflow:auto}.merge-diagram-scroll{overflow:auto;max-height:420px;border:1px solid #d7e4dc;background:#f8fafc;padding:12px}.merge-actions{justify-content:flex-end}.merge-dialog .input-error{overflow-wrap:anywhere}@media(max-width:650px){.merge-dialog{padding:16px}.merge-sources{grid-template-columns:1fr}.merge-tools{align-items:stretch}.merge-tools>button,.merge-actions>button{flex:1;min-width:120px}.merge-dialog .input-heading h2{font-size:20px}.merge-entry strong{width:100%}}.vpn-workspace,.vpn-scope{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:12px 18px;background:#f4f1fa;border:1px solid #ded7ea;border-radius:8px;margin:12px 0}.vpn-workspace span,.vpn-scope span{color:#637084;font-size:12px}.vpn-dialog{max-width:1100px;width:94vw}.vpn-content{padding:20px;overflow:auto;max-height:78vh}.vpn-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.vpn-content textarea{display:block;width:100%;min-height:300px;font:13px/1.6 monospace;box-sizing:border-box;resize:vertical}.vpn-preview{overflow:auto;max-height:450px;background:#f8fafc;border:1px solid #d8dce6;margin:16px 0}.vpn-preview svg{width:1600px;height:auto}.vpn-content pre{white-space:pre-wrap;overflow-wrap:anywhere}.vpn-sample-note{padding:12px;background:#fff4d6}.vpn-scope{margin:8px 16px}.vpn-scope select{max-width:100%}@media(max-width:600px){.vpn-workspace{margin:10px}.vpn-scope{display:block}.vpn-content{padding:12px}.vpn-dialog{width:96vw}}.yaml-source-nav{padding:8px 12px;border-bottom:1px solid #dce7e2;background:#f7fbf9;flex-shrink:0;max-height:190px;overflow:auto;font-size:11px;line-height:1.5}.yaml-source-nav p{margin:4px 0;overflow-wrap:anywhere}.yaml-source-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.yaml-source-heading strong{overflow-wrap:anywhere;font-size:11px;min-width:0}.yaml-source-nav button,.yaml-reveal{padding:4px 7px;font-size:10px}.yaml-source-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.yaml-source-position{color:#526c63}.yaml-definition-key{color:#174b3d;background:#b9dfd0}.yaml-reference-key{color:#6b5c22;background:#fff1bd}.cm-yaml-definition{background:#b9dfd0;color:#133e32!important;box-shadow:inset 0 -1px #4d9b7d}.cm-yaml-reference{background:#fff1bd;box-shadow:inset 0 -1px #ccb15f}.cm-yaml-current{outline:1px solid #317e67;outline-offset:1px}.yaml-source-heading button{flex-shrink:0}@media(max-width:760px){.yaml-source-nav{max-height:165px}.yaml-source-heading{align-items:flex-start}.yaml-source-controls{gap:5px}}.diagram .yaml-linked path{stroke-width:3.5}.diagram .yaml-linked{outline:none}.diagram .unknown-peer,.diagram .unresolved-endpoint{cursor:pointer}.yaml-source-nav.has-source{height:165px}.app-header{height:auto;min-height:76px;padding-top:12px;padding-bottom:12px;flex-wrap:wrap}.file-actions{flex-wrap:wrap}@media(max-width:760px){.file-actions button{flex:1 1 calc(33.333% - 6px)}}.diagram .equipment-domain{cursor:pointer}.diagram .equipment-domain:is(:focus,.yaml-linked) .domain-frame{stroke:#916321;stroke-width:3}.diagram .equipment-domain:focus{outline:none}.diagram .device-card.domain-selected>.device-frame{stroke:#a7772c;stroke-width:3}.ai-document{border:1px solid #d8e4e1;border-radius:10px;padding:16px;margin:16px 0;min-width:0}.ai-document-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.ai-document-actions a{color:#126d60;overflow-wrap:anywhere}.ai-document-content{margin-top:14px;min-width:0}.ai-document-content pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;overflow:auto;max-height:420px;max-width:100%;padding:14px;background:#f4f8f7;border:1px solid #e0e9e7;border-radius:8px;font-size:12px;line-height:1.7;tab-size:2}.ai-document-content pre:focus-visible{outline:2px solid #198b79;outline-offset:2px}
