dialog.uml-workspace{box-sizing:border-box;width:min(1500px,98vw);max-width:98vw;height:94dvh;max-height:94dvh;padding:20px;border-radius:12px;color:#18332c;background:#fafbf8}.uml-workspace>header{display:block;background:transparent;color:inherit;padding:0;border:0}.uml-workspace h2{margin:0 0 8px;font-size:24px}.uml-workspace h3{font-size:16px;margin:0 0 14px}.uml-workspace p{font-size:12px;line-height:1.6}.uml-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:8px;margin:12px 0}.uml-workspace button{border:1px solid #9bac9f;border-radius:5px;padding:9px 12px;color:inherit;background:#fff;font:inherit;font-size:12px;cursor:pointer}.uml-workspace button:disabled{opacity:.45;cursor:default}.uml-workspace label{display:grid;gap:5px;margin:10px 0;font-size:12px;color:inherit}.uml-workspace input,.uml-workspace select,.uml-workspace textarea{box-sizing:border-box;max-width:100%;min-width:0;width:100%;border:1px solid #c2cfc5;border-radius:5px;padding:8px;background:#fff;color:#18332c;font:inherit}.uml-workspace textarea{font-family:ui-monospace,monospace;font-size:12px;resize:vertical}.uml-body{display:grid;grid-template-columns:310px minmax(0,1fr);gap:18px}.uml-inspector{display:block;max-height:60dvh;overflow:auto;border:1px solid #d3ddd4;border-radius:8px;background:#fff}.uml-inspector section{padding:16px;border-bottom:1px solid #d3ddd4}.uml-inspector button{margin:5px 6px 0 0}.uml-inspector fieldset{min-width:0;margin:10px 0;border:1px solid #c2cfc5}.uml-canvas{min-width:0}.uml-viewport{height:52dvh;min-height:300px;overflow:auto;border:1px solid #c2cfc5;border-radius:8px;background:#f2f5ef;touch-action:pan-x pan-y}.uml-preview{width:max-content}.uml-preview svg{display:block}.uml-workspace footer{display:flex;justify-content:flex-end;gap:8px;padding:10px 0 0}.uml-workspace #uml-apply{background:#155e4b;color:#fff;border-color:#155e4b}.uml-workspace :focus-visible{outline:3px solid #007a66;outline-offset:2px}body.uml-document .library,body.uml-document .inspector{display:none}body.uml-document .workspace{grid-template-columns:minmax(0,1fr)}@media(max-width:650px){dialog.uml-workspace{padding:12px}.uml-body{grid-template-columns:minmax(0,1fr)}.uml-inspector{max-height:36dvh}.uml-viewport{height:40dvh}.uml-toolbar{gap:6px}.uml-workspace h2{font-size:20px}}body.uml-document #canvas{cursor:grab}.mobile-panel-launchers,.mobile-quick-actions,.mobile-view-controls{display:none}.studio-mobile-panel{padding:0;overflow:hidden;box-sizing:border-box;box-shadow:0 20px 70px #0f172a40}.studio-mobile-panel .mobile-panel-header{padding:12px 16px;gap:12px;flex-shrink:0}.mobile-panel-header h2{margin:0;font-size:18px;line-height:1.4;color:#17233a}.mobile-panel-close{margin:0;min-width:72px;min-height:44px;border:1px solid #cbd5e1;border-radius:9px;padding:10px 14px;background:#f8fafc;color:#334155;font-size:14px;font-weight:650}.mobile-panel-body{min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.studio-mobile-panel .mobile-panel-body>aside{border:0;display:block;max-height:none;height:auto;overflow:visible;padding:16px;background:#fff}.mobile-panel-body .library-search{top:0;padding:8px 0 14px;margin-top:-8px}@media(max-width:980px){.studio-mobile{width:100%;min-width:0;max-width:100%;overflow-x:clip}.studio-mobile>header{padding:10px max(10px,env(safe-area-inset-right)) 10px max(10px,env(safe-area-inset-left));gap:12px}.studio-mobile .brand{min-width:0;gap:9px}.studio-mobile .brandmark{width:34px;height:34px;border-radius:10px;flex-shrink:0}.studio-mobile .brand strong{font-size:14px}.studio-mobile .brand small{display:none}.studio-mobile #status{font-size:11px;line-height:1.4;max-width:38%;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.studio-mobile :is(input,select,textarea){font-size:16px!important}body.studio-mobile-editor select{height:44px;min-height:44px;padding:8px 30px 8px 10px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#64748b 50%),linear-gradient(135deg,#64748b 50%,transparent 50%);background-position:calc(100% - 17px) 50%,calc(100% - 12px) 50%;background-size:5px 5px;background-repeat:no-repeat}.studio-mobile button{min-width:44px}.studio-mobile :is(button,summary,.file){-webkit-tap-highlight-color:transparent;touch-action:manipulation}.studio-mobile :is(button,summary,.file,select,input:not([type=checkbox])){min-height:44px}.studio-mobile button:focus-visible,.studio-mobile summary:focus-visible,.studio-mobile textarea:focus-visible{outline:3px solid #38bdf8;outline-offset:3px}.studio-mobile .toolbar{display:flex;align-items:stretch;gap:8px;padding:10px max(10px,env(safe-area-inset-right)) 10px max(10px,env(safe-area-inset-left))}.studio-mobile .toolbar .name{flex:0 0 100%;width:100%;min-width:0}.studio-mobile .toolbar .name input{height:44px;padding:10px 12px}.studio-mobile .mobile-panel-launchers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.studio-mobile .mobile-panel-launchers button{font-size:14px;font-weight:700;background:#eef2ff;border-color:#c7d2fe;color:#3730a3;padding:10px 12px}.studio-mobile .mobile-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;align-items:start}.studio-mobile .mobile-quick-actions>button,.studio-mobile .mobile-quick-actions>.file{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:48px;padding:8px 5px;font-size:12px;line-height:1.25;text-align:center;white-space:normal;overflow-wrap:anywhere}.studio-mobile .mobile-actions{min-width:0;border:1px solid #d7e0ed;border-radius:9px;background:#fff}.studio-mobile .mobile-actions>summary{display:flex;align-items:center;justify-content:center;min-height:46px;padding:8px 5px;font-size:12px;line-height:1.25;font-weight:650;color:#475569;cursor:pointer;list-style:none}.studio-mobile .mobile-actions[open]{grid-column:1/-1;background:#f8fafc}.studio-mobile .mobile-actions[open]>summary{justify-content:space-between;padding:10px 12px;border-bottom:1px solid #e2e8f0}.studio-mobile .mobile-actions>summary:after,.studio-mobile .mobile-view-controls>summary:after{content:"⌄";font-size:17px;line-height:1;margin-left:6px}.studio-mobile .mobile-actions[open]>summary:after,.studio-mobile .mobile-view-controls[open]>summary:after{transform:rotate(180deg)}.studio-mobile summary::-webkit-details-marker{display:none}.studio-mobile .mobile-actions-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.studio-mobile .mobile-actions-body>button,.studio-mobile .mobile-actions-body>select{width:100%;max-width:none;min-width:0;font-size:13px;line-height:1.3;padding:10px;white-space:normal;overflow-wrap:anywhere}.studio-mobile .mobile-actions-body #ai-open,.studio-mobile .mobile-actions-body #organize,.studio-mobile .mobile-actions-body #ai-pending{grid-column:1/-1}.studio-mobile .workspace.mobile-workspace,.studio-mobile .workspace.mobile-workspace.expanded{display:grid;grid-template-columns:minmax(0,1fr);height:var(--studio-mobile-canvas-height,500px);min-height:300px;width:100%;min-width:0}.studio-mobile .workspace.mobile-workspace>.canvas-main{width:100%;height:100%;min-height:0}.studio-mobile .mobile-view-controls{display:block;flex:0 0 auto;min-width:0;background:#fff;border-bottom:1px solid #e1e8f2}.studio-mobile .mobile-view-controls>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:10px 14px;cursor:pointer;list-style:none;font-size:13px;font-weight:650;color:#475569}.studio-mobile .mobile-view-body{max-height:260px;overflow:auto;overscroll-behavior:contain}.studio-mobile .mobile-view-body .canvasbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;border-top:1px solid #e2e8f0;font-size:12px}.studio-mobile .mobile-view-body .canvasbar #counts{grid-column:1/-1;line-height:1.5;font-size:12px}.studio-mobile .mobile-view-body .canvasbar>select{width:100%;max-width:none;padding:8px}.studio-mobile .mobile-view-body .canvasbar label{min-height:44px;font-size:12px;line-height:1.35;gap:8px}.studio-mobile .mobile-view-body .canvasbar .canvas-option input{width:22px;height:22px;min-height:22px;flex-shrink:0}.studio-mobile .mobile-view-body .canvasbar .zoom-control{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}.studio-mobile .mobile-view-body .canvasbar .zoom-control #zoom{flex:1;width:auto;max-width:none;min-width:100px}.studio-mobile .mobile-view-body .canvasbar #zoom-percent{width:88px;max-width:110px;padding:8px}.studio-mobile .mobile-view-body .communication-legend{padding:10px;font-size:11px;gap:12px;line-height:1.5}.studio-mobile .canvas-viewport{min-height:200px}.studio-mobile .canvas-hint{font-size:11px;line-height:1.45;padding:8px 12px}.studio-mobile #minimap-box{right:max(8px,env(safe-area-inset-right));bottom:8px}.studio-mobile #minimap-box>summary{min-height:44px;display:flex;align-items:center;padding:8px 10px;font-size:11px}.studio-mobile #minimap{width:112px;height:76px;margin:0 8px 8px}.studio-mobile .credits{padding:12px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));line-height:1.6}.studio-mobile .studio-mobile-panel{position:fixed;inset:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) auto max(8px,env(safe-area-inset-left));margin:0 auto;width:min(560px,calc(100% - 16px));height:auto;max-height:calc(var(--studio-mobile-height,100dvh) - max(8px,env(safe-area-inset-top)) - max(8px,env(safe-area-inset-bottom)));border-radius:16px;padding:0}.studio-mobile .studio-mobile-panel[open]{display:flex;flex-direction:column}.studio-mobile .studio-mobile-panel .mobile-panel-header{padding:10px 14px;background:#fff}.studio-mobile .studio-mobile-panel .mobile-panel-body{padding-bottom:max(8px,env(safe-area-inset-bottom))}.studio-mobile .studio-mobile-panel .library-group summary{font-size:13px;padding:12px 10px}.studio-mobile .studio-mobile-panel .component-grid{grid-template-columns:repeat(auto-fit,minmax(78px,1fr));padding:8px;gap:8px}.studio-mobile .studio-mobile-panel .component{min-height:94px;padding:9px 4px;border-color:#e2e8f0;gap:8px}.studio-mobile .studio-mobile-panel .component img{width:44px;height:44px}.studio-mobile .studio-mobile-panel .component span{font-size:12px;line-height:1.35}.studio-mobile .studio-mobile-panel .section-label{font-size:11px;line-height:1.5}.studio-mobile .studio-mobile-panel label,.studio-mobile .studio-mobile-panel aside p{font-size:13px;line-height:1.6}.studio-mobile .studio-mobile-panel aside>button{font-size:14px}.studio-mobile .studio-mobile-panel #selection-tools :is(button,summary),.studio-mobile .studio-mobile-panel #communication-properties :is(button,summary){font-size:13px;line-height:1.4;min-height:44px}.studio-mobile .studio-mobile-panel .custom-provider button{min-height:44px;font-size:13px}.studio-mobile .studio-mobile-panel #color{height:44px}.studio-mobile .studio-mobile-panel #group-properties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.studio-mobile .studio-mobile-panel #group-properties>label:first-child{grid-column:1/-1}.studio-mobile .studio-mobile-panel .align-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-mobile .studio-mobile-panel .evidence-row{font-size:12px;gap:8px}body.studio-mobile-editor dialog:not(.studio-mobile-panel){max-height:calc(var(--studio-mobile-height,100dvh) - 24px);padding:16px}body.studio-mobile-editor dialog:not(.studio-mobile-panel) label{font-size:13px;line-height:1.5}.studio-mobile .control-help{font-size:12px;line-height:1.6}body.studio-mobile-editor .communications-table table{font-size:12px}body.studio-mobile-editor>dialog :is(input,select,textarea){font-size:16px!important}body.studio-mobile-editor>dialog :is(button,select,input:not([type=checkbox])){min-height:44px}body.studio-mobile-editor>dialog button{min-width:44px}body.studio-mobile-editor dialog:not(.studio-mobile-panel) :is(button,.install-link){min-height:44px;font-size:14px;line-height:1.4}}@media(max-width:360px){.studio-mobile .mobile-quick-actions{gap:6px}.studio-mobile .mobile-quick-actions>button,.studio-mobile .mobile-quick-actions>.file{font-size:11px;min-height:48px}.studio-mobile .studio-mobile-panel .mobile-panel-body>aside{padding:12px}.studio-mobile .studio-mobile-panel .component-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:6px}}@media(max-width:600px){body.studio-mobile-editor #communications-dialog .communications-table{border:0;border-radius:0;max-height:min(420px,50dvh);overflow-x:hidden;padding:2px}body.studio-mobile-editor #communications-dialog .communications-table table{display:block;width:100%;min-width:0;border-collapse:separate;font-size:14px}body.studio-mobile-editor #communications-dialog .communications-table thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body.studio-mobile-editor #communications-dialog .communications-table tbody{display:grid;gap:12px;width:100%;min-width:0}body.studio-mobile-editor #communications-dialog .communications-table tr{display:grid;min-width:0;width:100%;border:1px solid #dce5f1;border-radius:12px;overflow:hidden;background:#fff}body.studio-mobile-editor #communications-dialog .communications-table td{display:grid;grid-template-columns:96px minmax(0,1fr);gap:8px;width:100%;min-width:0;padding:12px;border-bottom:1px solid #edf2f7;line-height:1.5;overflow-wrap:anywhere;color:#334155}body.studio-mobile-editor #communications-dialog .communications-table td:before{content:attr(data-label);font-size:12px;font-weight:650;line-height:1.5;color:#64748b}body.studio-mobile-editor #communications-dialog .communications-table td small{grid-column:2;font-size:12px;line-height:1.6;margin-top:0;overflow-wrap:anywhere}body.studio-mobile-editor #communications-dialog .communications-table td:first-child{display:block;font-size:16px;font-weight:700;color:#17233a;background:#f8fafc}body.studio-mobile-editor #communications-dialog .communications-table td:first-child:before{display:block;font-size:11px;letter-spacing:.03em;margin-bottom:5px}body.studio-mobile-editor #communications-dialog .communications-table td:first-child small{margin-top:6px;font-size:13px;font-weight:400;color:#475569}body.studio-mobile-editor #communications-dialog .communications-table td:last-child{display:flex;flex-wrap:wrap;gap:8px;border-bottom:0}body.studio-mobile-editor #communications-dialog .communications-table td:last-child:before{flex-basis:100%}body.studio-mobile-editor #communications-dialog .communications-table td:last-child button{min-height:44px;min-width:44px;margin:0!important;padding:10px 12px;font-size:14px;flex:1;white-space:normal}body.studio-mobile-editor #communications-dialog .format-actions{gap:8px;flex-wrap:nowrap;align-items:stretch}body.studio-mobile-editor #communications-dialog .format-actions button{margin:0;padding:8px 10px;line-height:1.25}body.studio-mobile-editor #communications-dialog .format-actions button:first-child{flex:1;min-width:0;white-space:normal}body.studio-mobile-editor #communications-dialog .format-actions button:last-child{flex:0 0 auto}}:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#17233a;background:#f4f7fb;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,.node:focus-visible,.edge:focus-visible,summary:focus-visible{outline:3px solid #38bdf8;outline-offset:3px}header{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;background:#fff;border-bottom:1px solid #e1e8f2;gap:18px}.brand{display:flex;align-items:center;gap:12px}.brandmark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#6366f1,#0ea5e9);color:#fff;font-weight:850}.brand strong{font-size:16px}.brand small{display:block;color:#75839a;font-size:11px;margin-top:4px}#status{font-size:11px;color:#64748b;max-width:40%}.toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;background:#fff;padding:12px 18px;border-bottom:1px solid #e1e8f2}.toolbar .name{flex:1;min-width:180px}.toolbar .name input{background:#f4f7fb;border:0;font-weight:650}.toolbar button,.file,select,input{border:1px solid #d7e0ed;border-radius:8px;background:#fff;color:#334155;padding:9px 11px;font-size:12px}.toolbar button:hover,.file:hover{background:#eff6ff;border-color:#93c5fd}.toolbar button.primary{background:#4f46e5;color:#fff;border-color:#4f46e5}.file{cursor:pointer;display:flex;align-items:center;gap:8px}.file input{display:none}.file:focus-within{outline:3px solid #38bdf8}.workspace{display:grid;grid-template-columns:240px minmax(280px,1fr) 205px;height:730px}aside{background:#fff;padding:16px;border-right:1px solid #e1e8f2;overflow:auto}aside:last-child{border-right:0;border-left:1px solid #e1e8f2}.section-label{font-size:10px;font-weight:750;letter-spacing:1.6px;text-transform:uppercase;color:#64748b;margin:0 0 12px}aside p{font-size:11px;line-height:1.7;color:#7a899f}input,select{min-width:0;width:100%}label{display:grid;gap:7px;font-size:11px;color:#64748b}aside>label{margin:12px 0}aside>button{width:100%;border:1px solid #d7e0ed;border-radius:8px;padding:10px;background:#fff;color:#334155;font-size:12px}aside>button:hover{background:#eff6ff}aside button.danger{color:#dc2626;background:#fff5f5;border-color:#fecaca}aside button.connect{background:#4f46e5;border-color:#4f46e5;color:#fff}.divider{height:1px;background:#e7edf5;margin:22px 0}.library-search{position:sticky;top:-16px;background:#fff;padding:12px 0;z-index:2;display:grid;gap:8px}#palette{padding-top:8px}.library-group{border:1px solid #e3eaf3;border-radius:10px;margin:0 0 10px;overflow:hidden}.library-group summary{display:flex;align-items:center;gap:7px;cursor:pointer;padding:11px 8px;font-size:11px;font-weight:700;background:#f8fafc;list-style:none}.library-group summary:before{content:"›";font-size:16px}.library-group[open] summary:before{transform:rotate(90deg)}.library-group summary i{width:7px;height:7px;border-radius:50%;flex-shrink:0}.library-group summary span{font-size:10px;font-weight:500;margin-left:auto;color:#94a3b8}.component-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px}.component{border:1px solid transparent;background:#fff;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:start;gap:6px;padding:8px 2px;min-width:0;transition:background .15s,border-color .15s}.component:hover{background:#eff6ff;border-color:#bfdbfe}.component img{width:38px;height:38px;object-fit:contain}.component span{font-size:9px;font-weight:550;line-height:1.3;color:#475569;text-align:center;overflow-wrap:anywhere;max-width:100%}.library-empty{padding:20px;text-align:center}.canvas-main{display:flex;flex-direction:column;min-width:0;overflow:hidden}.canvasbar{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;background:#f8fafc;border-bottom:1px solid #e1e8f2;font-size:10px;color:#7a899f;gap:10px}.canvasbar label{display:flex;align-items:center}.canvasbar select{padding:6px;width:auto;max-width:100px}.canvas-scroll{flex:1;overflow:auto;background-color:#fbfcff;background-image:linear-gradient(#e8edf5 1px,transparent 1px),linear-gradient(90deg,#e8edf5 1px,transparent 1px);background-size:20px 20px;position:relative;touch-action:pan-x pan-y}svg{display:block}.canvas-hint{font-size:10px;padding:9px 14px;border-top:1px solid #e1e8f2;background:#f8fafc;color:#7a899f}.node{cursor:grab;touch-action:none}.node:active{cursor:grabbing}.node-label{fill:#1e293b;font-size:13px;font-weight:650}.node-kind{fill:#7b8da6;font-size:10px}.edge{cursor:pointer}.edge text{font-size:11px;paint-order:stroke;stroke:#fbfcff;stroke-width:6px;fill:#64748b}.canvas-scroll svg .node.selected rect{filter:drop-shadow(0 4px 10px #a5b4fc55)}.inspector-empty{text-align:center;padding:18px 5px;color:#94a3b8;font-size:11px}#color{height:36px;padding:3px}.credits{font-size:10px;border-top:1px solid #e1e8f2;padding:11px 18px;background:#fff;color:#94a3b8}.credits a{color:#64748b}@media(max-width:900px){.workspace{grid-template-columns:190px minmax(230px,1fr)}.workspace>aside:last-child{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border-top:1px solid #e1e8f2;overflow:visible}.workspace>aside:last-child>label{margin:0}.workspace>aside:last-child .section-label,.workspace>aside:last-child p,.workspace>aside:last-child .divider{grid-column:1/-1}.workspace{height:auto}.canvas-main{height:650px}.library{max-height:650px}.toolbar .name{min-width:160px}.workspace>aside:last-child .divider{margin:5px 0}}@media(max-width:480px){header{padding:12px}.brand small{font-size:10px}.brand strong{font-size:13px}.brandmark{width:32px;height:32px;border-radius:8px}.toolbar{padding:10px}.workspace{grid-template-columns:135px minmax(160px,1fr)}aside{padding:10px}.component-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:5px;gap:2px}.component img{width:34px;height:34px}.library-group summary{font-size:9px;padding:9px 5px}.library-search{top:-10px}.canvasbar{padding:8px;font-size:9px}.canvasbar label{font-size:9px}.canvasbar select{width:72px;font-size:10px;padding:5px}.canvas-main{height:560px}.library{max-height:560px}#status{font-size:9px}.toolbar button,.file{font-size:11px;padding:8px}.credits{padding:10px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.custom-provider{display:flex;gap:4px;margin:6px 0}.custom-provider button:first-child{flex:1;display:flex;align-items:center;gap:8px;text-align:left}.custom-provider img{width:32px;height:32px;object-fit:contain}dialog{width:min(760px,90vw);max-height:90vh;overflow:auto;border:1px solid #cbd5e1;border-radius:18px;padding:24px;color:#0f172a;background:#fff}dialog::backdrop{background:#0f172a88}dialog textarea{width:100%;box-sizing:border-box;font:inherit;border:1px solid #cbd5e1;border-radius:8px;padding:12px}#ai-preview{width:100%;border:1px solid #e2e8f0;border-radius:10px}dialog button{margin:4px}.zone{cursor:pointer}input[type=file]{max-width:100%;font-size:11px}.install-link{display:inline-block;padding:12px;margin:6px;background:#4f46e5;color:#fff;border-radius:8px;text-decoration:none}#ai-local textarea{width:100%}[hidden]{display:none!important}.canvasbar{flex-wrap:wrap}.canvas-option input{width:14px;height:14px;margin:0}.node.muted,.edge.muted{opacity:.16}.edge:not(.muted) path{transition:stroke .12s}.edge text{font-weight:600;stroke-width:7px}.edge:focus-visible{outline:3px solid #38bdf8}.toolbar #organize{background:#0f766e;border-color:#0f766e}.canvas-hint{white-space:normal}.toolbar #spacing{width:auto;max-width:150px}.canvas-viewport{position:relative;flex:1;min-height:0;overflow:hidden}.canvas-viewport .canvas-scroll{height:100%;width:100%}.canvasbar #flow-depth{width:auto;max-width:145px;font-size:10px}.connection-label text{stroke:none;font-weight:500}.connection-label rect{stroke-width:1}.workspace.expanded{grid-template-columns:minmax(0,1fr);height:clamp(650px,82vh,1100px)}.workspace.expanded>aside{display:none!important}.workspace.expanded .canvas-main{height:100%}#minimap-box{position:absolute;right:12px;bottom:12px;background:#ffffffed;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 4px 16px #0f172a14;overflow:hidden;max-width:calc(100% - 20px)}#minimap-box summary{cursor:pointer;padding:8px 10px;font-size:10px;font-weight:650;color:#475569}#minimap{margin:0 8px 8px;max-width:calc(100% - 16px);background:#f8fafc;border:1px solid #e2e8f0;border-radius:5px;touch-action:none;cursor:crosshair}#minimap:focus-visible{outline:3px solid #38bdf8;outline-offset:1px}@media(max-width:480px){#minimap{width:100px;height:70px}#minimap-box{right:5px;bottom:5px}#minimap-box summary{padding:5px 7px;font-size:9px}.workspace.expanded{height:650px}.canvasbar #flow-depth{max-width:125px}.toolbar #spacing{font-size:11px;max-width:132px}}#format-open{color:#0f766e;border-color:#99d5cf;background:#f0fdfa}.workspace{grid-template-columns:240px minmax(280px,1fr) 245px}.canvasbar #zoom-percent{width:62px;padding:6px;font-size:10px}.canvasbar label{gap:5px}#selection-tools{margin-bottom:18px;border:1px solid #dce5f1;border-radius:10px;padding:10px;background:#f8fafc}#selection-tools summary{font-size:12px;font-weight:700;cursor:pointer;color:#0f766e}#selection-tools label{margin:10px 0}#selection-tools button{font:inherit;font-size:10px;padding:8px 5px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#334155;cursor:pointer}#selection-tools button:hover{background:#ecfdf5;border-color:#5eead4}#selection-tools>details>button{width:100%;margin-top:6px}.format-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.control-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.align-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.check-control{display:flex;align-items:center;gap:8px}.check-control input{width:15px;height:15px;flex-shrink:0}.control-help{font-size:11px;line-height:1.6;color:#64748b}.format-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}#format-dialog{width:min(920px,94vw)}#format-dialog h2{margin:0 0 10px}#format-dialog>p{font-size:13px;line-height:1.6;color:#64748b}#format-dialog label{margin:12px 0}#format-dialog button{border:1px solid #cbd5e1;border-radius:8px;background:#fff;font-size:12px;padding:10px 14px;color:#334155}#format-dialog button.primary{background:#0f766e;border-color:#0f766e;color:#fff}.format-preview-box{border:1px solid #dce5f1;border-radius:12px;padding:14px;background:#f8fafc}.format-preview-box h3{margin:0 0 12px;font-size:13px}.format-preview-box p{font-size:11px;line-height:1.5;color:#64748b}#format-preview{width:100%;height:320px;object-fit:contain;background:#fff;border-radius:8px}.format-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px}#format-status{min-height:20px}@media(max-width:900px){.workspace{grid-template-columns:190px minmax(230px,1fr)}#selection-tools{grid-column:1/-1}}@media(max-width:600px){.format-grid{grid-template-columns:minmax(0,1fr);gap:12px}#format-dialog{padding:18px}#format-preview{height:180px}}@media(max-width:480px){.workspace{grid-template-columns:135px minmax(160px,1fr)}.canvasbar #zoom-percent{width:52px}#selection-tools{padding:10px}}@media(max-width:480px){.workspace{grid-template-columns:125px minmax(0,1fr)}.canvasbar .zoom-control{flex-wrap:wrap;max-width:100%}.canvasbar #flow-depth{max-width:100%}}body.embedded-editor dialog{top:20px;bottom:auto;margin-block:0;max-height:calc(var(--host-height,100vh) - 40px)}#format-dialog .format-actions{position:sticky;bottom:0;padding-top:10px;background:#fff}.edge.hidden-communication{display:none}.communication-legend{display:flex;gap:12px;flex-wrap:wrap;padding:7px 14px;background:#fff;border-bottom:1px solid #e2e8f0;color:#475569;font-size:10px}.communication-legend span:before{content:"";display:inline-block;width:17px;border-top:3px solid #2563eb;margin-right:5px;vertical-align:middle}.communication-legend span:nth-child(2):before{border-color:#d97706}.communication-legend span:nth-child(3):before{border-color:#9333ea}.communication-legend span:nth-child(4):before{border-color:#0891b2}.communication-legend span:nth-child(5):before{border-top-style:dashed;border-color:#64748b}#communication-properties{grid-column:1/-1}#communication-properties>details{padding:10px;border:1px solid #dce5f1;border-radius:10px;background:#f8fafc;margin:10px 0}#communication-properties summary{font-size:12px;font-weight:650;cursor:pointer}#communication-properties textarea{width:100%;font:inherit;box-sizing:border-box;padding:8px;border:1px solid #cbd5e1;border-radius:6px;resize:vertical}#communication-properties button{border:1px solid #cbd5e1;border-radius:7px;padding:7px;background:#fff;font:inherit;font-size:10px;cursor:pointer}.evidence-row{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:10px;margin:8px 0}.evidence-row span{overflow-wrap:anywhere}.assistant-connect{background:#f0fdfa;border:1px solid #99d5cf;border-radius:12px;padding:14px;margin:15px 0}.assistant-connect h3{font-size:14px;margin:0 0 12px}.assistant-connect p,#ai-dialog>p,#ai-local>details{font-size:12px;line-height:1.7}#ai-local>details{margin:12px 0}#ai-dialog button,#communications-dialog button{padding:9px 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;cursor:pointer;color:#334155}#ai-dialog button.primary{background:#0f766e;border-color:#0f766e;color:#fff}#ai-preview{height:300px;object-fit:contain}#ai-pending{background:#ecfdf5;border-color:#34d399;color:#065f46}#communications-dialog{width:min(1120px,94vw);box-sizing:border-box}#communications-dialog h2{margin:0 0 10px}#communications-summary,#communications-count{font-size:12px;line-height:1.7;color:#475569}.communications-filters{display:grid;grid-template-columns:2fr 1fr;gap:15px}.communications-table{overflow:auto;border:1px solid #e2e8f0;border-radius:10px;max-height:42vh}.communications-table table{width:100%;border-collapse:collapse;font-size:11px;min-width:720px}.communications-table th{background:#f1f5f9;position:sticky;top:0;text-align:left;color:#334155}.communications-table td,.communications-table th{padding:10px;border-bottom:1px solid #e2e8f0;vertical-align:top}.communications-table td:nth-child(1){min-width:170px}.communications-table small{display:block;font-size:10px;margin-top:5px;line-height:1.6;color:#64748b}.communications-table button{font-size:10px;margin:2px!important}.communications-warnings,#vpc-guide{margin:16px 0;font-size:12px;line-height:1.8;overflow-wrap:anywhere}#communications-dialog summary{font-weight:650;cursor:pointer}#communication-detail{border:1px solid #bae6fd;border-radius:10px;padding:14px;margin:14px 0;background:#f0f9ff;font-size:12px;line-height:1.7;overflow-wrap:anywhere}#communication-detail h3{font-size:14px;margin:0 0 10px}#communication-detail button{font-size:11px}#communications-dialog .format-actions{position:sticky;bottom:0;background:#fff;padding-top:12px}.proposal-diff{font-size:12px;line-height:1.7;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;padding:12px;white-space:pre-line}@media(max-width:600px){.communications-filters{grid-template-columns:minmax(0,1fr);gap:0}#communications-dialog{padding:14px}#communications-dialog h2{font-size:18px}.communications-table{max-height:32vh}#ai-preview{height:190px}.communication-legend{font-size:9px;gap:8px}.canvasbar #communication-layer{max-width:130px}#ai-dialog{box-sizing:border-box;padding:16px;width:94vw}.assistant-connect{padding:10px}}#separate-connections{color:#0369a1;border-color:#7dd3fc;background:#f0f9ff}.connection-halo{pointer-events:none}.edge .connection-hit{cursor:pointer}.edge:hover .connection-stroke{stroke-width:3}.edge:hover .connection-label rect{stroke:#38bdf8}.edge:focus-visible .connection-label rect{stroke:#38bdf8;stroke-width:2}#routing-alert{display:flex;gap:12px;align-items:center;padding:10px 14px;background:#fffbeb;color:#92400e;font-size:12px;line-height:1.5;border-bottom:1px solid #fde68a}#routing-alert[hidden]{display:none}#routing-alert button{flex-shrink:0;border-color:#fcd34d;color:#92400e}@media(max-width:600px){#routing-alert{flex-wrap:wrap}}.dependency-insights-dialog{width:min(1160px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:min(92vh,1050px);max-height:min(92dvh,1050px);padding:0;border:1px solid #d8e2ef;border-radius:20px;background:#f7f9fd;color:#19263d;box-shadow:0 26px 100px #0f172a40;overflow:hidden;box-sizing:border-box;font-size:14px;line-height:1.5}.dependency-insights-dialog[open]{display:flex;flex-direction:column}.dependency-insights-dialog::backdrop{background:#1321399c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dependency-insights-dialog *{box-sizing:border-box;min-width:0}.dependency-insights-dialog button,.dependency-insights-dialog input,.dependency-insights-dialog select{font:inherit;color:inherit;min-height:44px;border:1px solid #ccd8e8;border-radius:9px;max-width:100%}.dependency-insights-dialog button{margin:0;padding:10px 14px;background:#fff;font-size:13px;font-weight:650;line-height:1.4;white-space:normal;overflow-wrap:anywhere}.dependency-insights-dialog button:hover:not(:disabled){border-color:#97afce;background:#edf4ff}.dependency-insights-dialog button:disabled{opacity:.52;cursor:default}.dependency-insights-dialog input,.dependency-insights-dialog select{width:100%;background:#fff;padding:11px 12px;font-size:16px;line-height:1.4}.dependency-insights-dialog select{-moz-appearance:none;appearance:none;-webkit-appearance:none;padding-right:36px;background-image:linear-gradient(45deg,transparent 50%,#7489a1 50%),linear-gradient(135deg,#7489a1 50%,transparent 50%);background-position:calc(100% - 18px) 50%,calc(100% - 13px) 50%;background-size:5px 5px;background-repeat:no-repeat}.dependency-insights-dialog :is(button,input,select,summary):focus-visible{outline:3px solid #38bdf8;outline-offset:3px}.dependency-insights-dialog label{display:grid;gap:8px;color:#53657f;font-size:12px;font-weight:650;line-height:1.5}.dependency-insights-dialog h2,.dependency-insights-dialog h3,.dependency-insights-dialog p{margin:0}.dependency-insights-dialog .di-header{display:flex;flex-shrink:0;align-items:flex-start;justify-content:space-between;gap:20px;padding:25px 28px 23px;background:linear-gradient(120deg,#142940,#233855 75%,#1c4565);color:#fff;border:0}.dependency-insights-dialog .di-heading-box{flex:1}.dependency-insights-dialog .di-eyebrow{margin-bottom:6px;color:#adc7e4;font-size:10px;font-weight:750;letter-spacing:1.6px}.dependency-insights-dialog h2{font-size:26px;line-height:1.25;letter-spacing:-.6px;font-weight:750}.dependency-insights-dialog .di-description{margin-top:8px;color:#d1deed;font-size:13px;line-height:1.65;max-width:720px}.dependency-insights-dialog .di-dismiss{width:44px;flex:0 0 44px;padding:0;border-color:#ffffff30;background:#ffffff0b;color:#fff;font-size:25px;font-weight:400;line-height:1}.dependency-insights-dialog .di-dismiss:hover:not(:disabled){background:#ffffff20;border-color:#ffffff60}.dependency-insights-dialog .di-scroll{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;min-height:0;padding:24px 28px;scrollbar-gutter:stable}.dependency-insights-dialog .di-run-section{padding:18px 20px;background:#fff;border:1px solid #dce5f0;border-radius:13px;box-shadow:0 3px 10px #1e3a5f04}.dependency-insights-dialog .di-section-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:16px}.dependency-insights-dialog .di-section-heading h3{font-size:14px;font-weight:750}.dependency-insights-dialog .di-local-badge{padding:5px 9px;border:1px solid #b9e7d8;border-radius:20px;background:#eefbf6;color:#0f766e;font-size:10px;font-weight:650;line-height:1.5}.dependency-insights-dialog .di-run-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) auto;align-items:end;gap:14px}.dependency-insights-dialog .di-help{color:#697a91;font-size:11px;line-height:1.7;overflow-wrap:anywhere}.dependency-insights-dialog .di-run-section>.di-help{margin-top:12px}.dependency-insights-dialog .di-primary{background:#0f766e;color:#fff;border-color:#0f766e}.dependency-insights-dialog .di-primary:hover:not(:disabled){background:#115e59;border-color:#115e59;color:#fff}.dependency-insights-dialog .di-analyze{min-height:46px}.dependency-insights-dialog .di-status{display:flex;align-items:flex-start;gap:8px;min-height:20px;margin-top:12px;color:#52667d;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.dependency-insights-dialog .di-status:before{content:"";width:7px;height:7px;border-radius:50%;background:#0d9488;flex:0 0 7px;margin-top:6px}.dependency-insights-dialog .di-status[data-state=working]:before{background:#0284c7;animation:di-pulse 1.4s ease-in-out infinite}.dependency-insights-dialog .di-status[data-state=error]{color:#b42338}.dependency-insights-dialog .di-status[data-state=error]:before{background:#dc2626}.dependency-insights-dialog .di-empty-start{padding:36px 18px 20px;text-align:center;color:#53657f}.dependency-insights-dialog .di-empty-mark{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 14px;border-radius:16px;background:linear-gradient(135deg,#e2f2f9,#e4eafb);border:1px solid #c8dcef;color:#32758f;font-size:28px}.dependency-insights-dialog .di-empty-start h3{color:#263c56;font-size:18px;margin-bottom:8px}.dependency-insights-dialog .di-empty-start>p{max-width:590px;margin:0 auto;font-size:13px;line-height:1.7}.dependency-insights-dialog .di-example-path{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;margin:22px 0}.dependency-insights-dialog .di-example-chip{background:#fff;border:1px solid #d3dfea;border-radius:8px;padding:8px 11px;font-size:11px;font-weight:650;color:#42617f}.dependency-insights-dialog .di-example-chip:last-child{background:#e9f7f4;border-color:#b6e2d6;color:#0f766e}.dependency-insights-dialog .di-example-arrow{color:#9dafc3;font-size:17px}.dependency-insights-dialog .di-report{margin-top:22px}.dependency-insights-dialog .di-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}.dependency-insights-dialog .di-stat{padding:15px 17px;border:1px solid #dce5f0;border-radius:11px;background:#fff;position:relative;overflow:hidden}.dependency-insights-dialog .di-stat:before{content:"";position:absolute;left:0;top:16px;bottom:16px;width:3px;border-radius:2px;background:#adc4df}.dependency-insights-dialog .di-stat-imports:before{background:#5fa0da}.dependency-insights-dialog .di-stat-dependencies:before{background:#9384d5}.dependency-insights-dialog .di-stat-services:before{background:#edb064}.dependency-insights-dialog .di-stat-chains:before{background:#50afa1}.dependency-insights-dialog .di-stat strong{display:block;color:#203852;font-size:25px;line-height:1.2;font-weight:750;font-variant-numeric:tabular-nums}.dependency-insights-dialog .di-stat span{display:block;margin-top:5px;color:#64758c;font-size:11px;font-weight:550}.dependency-insights-dialog .di-report-meta{margin-top:12px;color:#64748b;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.dependency-insights-dialog .di-totals-note{margin-top:2px;font-size:10px;color:#78889d}.dependency-insights-dialog .di-warnings{margin-top:17px;padding:14px 16px;border:1px solid #efce92;background:#fff9ee;border-radius:11px;color:#805520;overflow-wrap:anywhere}.dependency-insights-dialog .di-warnings h3{font-size:12px;font-weight:750}.dependency-insights-dialog .di-warnings ul{margin:7px 0 0;padding-left:17px;font-size:11px;line-height:1.75}.dependency-insights-dialog .di-warning-action{margin-top:9px;color:#805520;border-color:#e6c689;background:#fffdf8;font-size:11px}.dependency-insights-dialog .di-warnings .di-warning-details{margin-top:10px;border-color:#ead8b9;background:#fffdf8}.dependency-insights-dialog .di-warnings .di-warning-details summary{color:#89683b}.dependency-insights-dialog .di-warnings.di-scope-info{border-color:#d2dfed;background:#f1f6fc;color:#506b88}.dependency-insights-dialog .di-warnings.di-scope-info .di-warning-details{border-color:#d4e1ee;background:#f9fcff}.dependency-insights-dialog .di-warnings.di-scope-info .di-warning-details summary{color:#506b88}.dependency-insights-dialog .di-filters{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto;align-items:end;gap:14px;margin-top:22px}.dependency-insights-dialog .di-reset{font-size:11px;min-height:46px;color:#53657f}.dependency-insights-dialog .di-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-top:21px;border-bottom:1px solid #d6e0ec;padding-bottom:11px}.dependency-insights-dialog .di-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-color:transparent;background:transparent;padding:9px 12px;color:#65778e;font-size:12px}.dependency-insights-dialog .di-tabs button[aria-selected=true]{background:#e9f2ff;border-color:#c4d7f1;color:#285687}.dependency-insights-dialog .di-tab-count{border-radius:5px;padding:1px 6px;background:#e8edf4;color:#64748b;font-size:10px;font-weight:700;font-variant-numeric:tabular-nums}.dependency-insights-dialog .di-tabs button[aria-selected=true] .di-tab-count{background:#d6e5fb;color:#285687}.dependency-insights-dialog .di-panel-count{font-size:11px;line-height:1.6;margin-top:13px;color:#53657f;font-variant-numeric:tabular-nums}.dependency-insights-dialog .di-static-note{margin-top:4px;color:#6f8096;font-size:11px;line-height:1.65}.dependency-insights-dialog .di-panel{display:grid;gap:13px;margin-top:15px}.dependency-insights-dialog .di-chain,.dependency-insights-dialog .di-service-card{padding:17px 18px;background:#fff;border:1px solid #d9e3ef;border-radius:12px;box-shadow:0 3px 9px #1e3a5f03}.dependency-insights-dialog .di-chain.di-selected{border-color:#31988f;box-shadow:0 0 0 2px #cff0e9}.dependency-insights-dialog .di-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.dependency-insights-dialog .di-card-identity{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.dependency-insights-dialog .di-badge{display:inline-flex;align-items:center;padding:4px 8px;border:1px solid #dce5ef;border-radius:6px;background:#f3f6fa;color:#62758c;font-size:10px;line-height:1.45;font-weight:650;overflow-wrap:anywhere;max-width:100%}.dependency-insights-dialog .di-badge-service{font-size:11px;font-weight:750;padding:5px 9px}.dependency-insights-dialog .di-badge-inferred{background:#fff8e8;color:#9a6c21;border-color:#efddb7}.dependency-insights-dialog .di-badge-observed{background:#edfaf3;color:#26714d;border-color:#c2e5d2}.dependency-insights-dialog .di-badge-unresolved{background:#fff4e8;color:#956027;border-color:#efd4ae}.dependency-insights-dialog .di-badge-external{background:#edf4fd;color:#42678d;border-color:#c9def3}.dependency-insights-dialog .di-badge-types{background:#f4efff;color:#7c59a5;border-color:#dfd1f4}.dependency-insights-dialog .di-tone-aws{background:#fff6e6;border-color:#f1d3a4;color:#a76616}.dependency-insights-dialog .di-tone-azure{background:#eaf5ff;border-color:#bdddf8;color:#1e75ae}.dependency-insights-dialog .di-tone-google{background:#edf6fd;border-color:#c4dcec;color:#397795}.dependency-insights-dialog .di-tone-data{background:#eaf8ef;border-color:#bde2c9;color:#337953}.dependency-insights-dialog .di-tone-ai{background:#f3effc;border-color:#d7c9ee;color:#7956a2}.dependency-insights-dialog .di-tone-external{background:#ecf7f6;border-color:#bfe3df;color:#2c7977}.dependency-insights-dialog .di-select-chain{min-height:44px;font-size:11px;padding:8px 12px;color:#536b83;background:#f9fbfe}.dependency-insights-dialog .di-select-chain[aria-pressed=true]{background:#edf9f5;border-color:#9dd6cb;color:#17736b}.dependency-insights-dialog .di-chain-steps{display:flex;align-items:stretch;flex-wrap:wrap;gap:12px 22px;list-style:none;margin:16px 0 0;padding:0}.dependency-insights-dialog .di-chain-step{position:relative;flex:1 1 140px;padding:11px 12px;border:1px solid #d5e1ee;border-radius:9px;background:#f6f9fe;max-width:100%;min-width:0}.dependency-insights-dialog .di-chain-step:not(:last-child):after{content:"→";position:absolute;right:-18px;top:50%;transform:translateY(-50%);font-size:15px;color:#96acc3;font-weight:500}.dependency-insights-dialog .di-chain-step:first-child{border-color:#bad3ec;background:#eef5fe}.dependency-insights-dialog .di-library-step{border-color:#d4c5eb;background:#f7f2fe;color:#78589c}.dependency-insights-dialog .di-step-type{display:block;color:#8493a6;font-size:9px;font-weight:650;line-height:1.4;margin-bottom:5px}.dependency-insights-dialog .di-chain-step strong{display:block;font-size:11px;font-weight:650;line-height:1.6;overflow-wrap:anywhere}.dependency-insights-dialog .di-service-step .di-step-type{color:inherit;opacity:.72}.dependency-insights-dialog .di-card-detail{font-size:11px;line-height:1.75;color:#61738a;margin-top:11px;overflow-wrap:anywhere}.dependency-insights-dialog .di-disclosure{border:1px solid #dbe4ef;border-radius:9px;background:#fff;overflow:hidden}.dependency-insights-dialog .di-chain>.di-disclosure{margin-top:13px;border-color:#e2eaf3;background:#fafcfe}.dependency-insights-dialog .di-disclosure summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:11px 13px;color:#54708f;font-size:11px;font-weight:650;line-height:1.6;cursor:pointer;list-style:none;overflow-wrap:anywhere}.dependency-insights-dialog .di-disclosure summary:before{content:"›";font-size:20px;color:#7896b4;line-height:1;flex:0 0 9px}.dependency-insights-dialog .di-disclosure[open]>summary:before{transform:rotate(90deg)}.dependency-insights-dialog .di-disclosure-content{padding:0 13px 12px}.dependency-insights-dialog .di-evidence-row{display:flex;align-items:center;gap:14px;padding:9px 0;border-top:1px solid #e5ecf4;flex-wrap:wrap}.dependency-insights-dialog .di-evidence-row p{flex:1 1 230px;font-size:11px;line-height:1.65;color:#65778e;overflow-wrap:anywhere}.dependency-insights-dialog .di-source-button{display:inline-flex;align-items:center;justify-content:flex-start;text-align:left;gap:7px;min-height:44px;padding:8px 10px;border-color:#dbe6f1;background:#f1f6fc;color:#42698e;font-size:11px;font-weight:550;line-height:1.6;overflow-wrap:anywhere}.dependency-insights-dialog .di-source-button:before{content:"↗";color:#829fbc;font-size:13px}.dependency-insights-dialog .di-services-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.dependency-insights-dialog .di-service-card{display:flex;flex-direction:column;align-items:flex-start}.dependency-insights-dialog .di-service-card h3{font-size:13px;margin-top:12px;overflow-wrap:anywhere}.dependency-insights-dialog .di-service-type{font-size:10px;margin-top:4px;color:#8694a7}.dependency-insights-dialog .di-service-card .di-source-button{margin-top:13px}.dependency-insights-dialog .di-import-row,.dependency-insights-dialog .di-dependency-row{padding:13px 0;border-top:1px solid #e4ebf3}.dependency-insights-dialog .di-import-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.dependency-insights-dialog .di-import-title strong{font-size:12px;color:#324d6c;overflow-wrap:anywhere}.dependency-insights-dialog .di-import-row .di-source-button,.dependency-insights-dialog .di-dependency-row .di-source-button{margin-top:9px}.dependency-insights-dialog .di-file-row{padding:5px 0;border-top:1px solid #e4ebf3}.dependency-insights-dialog .di-unresolved-row{padding:16px 18px;border:1px solid #ead6b5;border-radius:11px;background:#fffdf8}.dependency-insights-dialog .di-unresolved-row h3{margin-top:9px;font-size:13px;overflow-wrap:anywhere}.dependency-insights-dialog .di-unresolved-row .di-source-button{margin-top:11px}.dependency-insights-dialog .di-no-results{width:100%;padding:28px 20px;text-align:center;border:1px dashed #cfddeb;border-radius:11px;color:#6b7e95;background:#f9fbfe}.dependency-insights-dialog .di-no-results h3{font-size:14px;color:#4c6581;margin-bottom:7px}.dependency-insights-dialog .di-no-results p{font-size:12px;line-height:1.7}.dependency-insights-dialog .di-services-grid>.di-no-results{grid-column:1/-1}.dependency-insights-dialog .di-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;flex-shrink:0;padding:15px 28px;border-top:1px solid #dce5ef;background:#fff}.dependency-insights-dialog .di-action-note{flex:1 1 220px;font-size:11px;line-height:1.6;color:#6a7f96;overflow-wrap:anywhere}.dependency-insights-dialog .di-actions{display:flex;gap:9px;flex-wrap:wrap}.dependency-insights-dialog .di-secondary{color:#536a84;background:#fff}body.embedded-editor .dependency-insights-dialog{top:16px;bottom:auto;margin-block:0;max-height:calc(var(--host-height,100vh) - 32px)}body.studio-mobile-editor dialog.dependency-insights-dialog:not(.studio-mobile-panel){padding:0}body.studio-mobile-editor dialog.dependency-insights-dialog:not(.studio-mobile-panel) button{font-size:12px}body.studio-mobile-editor dialog.dependency-insights-dialog:not(.studio-mobile-panel) .di-dismiss{font-size:25px}@keyframes di-pulse{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.dependency-insights-dialog .di-status[data-state=working]:before{animation:none}}@media(max-width:850px){.dependency-insights-dialog .di-run-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dependency-insights-dialog .di-analyze{grid-column:1/-1;justify-self:start}.dependency-insights-dialog .di-summary{gap:8px}.dependency-insights-dialog .di-stat{padding:13px 12px}.dependency-insights-dialog .di-filters{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.dependency-insights-dialog .di-reset{grid-column:1/-1;justify-self:start}.dependency-insights-dialog .di-footer{align-items:flex-start}.dependency-insights-dialog .di-actions{width:100%;justify-content:flex-end}}@media(max-width:600px){.dependency-insights-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 24px);border-radius:14px}.dependency-insights-dialog .di-header{padding:18px 16px;gap:10px}.dependency-insights-dialog .di-eyebrow{font-size:9px;letter-spacing:1px}.dependency-insights-dialog h2{font-size:22px}.dependency-insights-dialog .di-description{font-size:12px}.dependency-insights-dialog .di-scroll{padding:16px 14px;scrollbar-gutter:auto}.dependency-insights-dialog .di-run-section{padding:14px}.dependency-insights-dialog .di-run-grid,.dependency-insights-dialog .di-filters{grid-template-columns:minmax(0,1fr);gap:12px}.dependency-insights-dialog .di-analyze{width:100%;justify-self:stretch}.dependency-insights-dialog .di-local-badge{font-size:9px}.dependency-insights-dialog .di-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dependency-insights-dialog .di-stat:last-child{grid-column:1/-1;display:flex;align-items:center;gap:12px}.dependency-insights-dialog .di-stat:last-child span{margin-top:0}.dependency-insights-dialog .di-stat strong{font-size:23px}.dependency-insights-dialog .di-tabs{gap:5px}.dependency-insights-dialog .di-tabs button{flex:1 1 calc(50% - 5px);font-size:11px;padding:8px 7px;gap:5px}.dependency-insights-dialog .di-chain,.dependency-insights-dialog .di-service-card{padding:14px}.dependency-insights-dialog .di-card-top{gap:8px}.dependency-insights-dialog .di-chain-steps{flex-direction:column;gap:16px}.dependency-insights-dialog .di-chain-step{flex:0 0 auto;width:100%}.dependency-insights-dialog .di-chain-step:not(:last-child):after{content:"↓";left:18px;right:auto;top:auto;bottom:-17px;transform:none;font-size:14px;line-height:16px}.dependency-insights-dialog .di-services-grid{grid-template-columns:minmax(0,1fr)}.dependency-insights-dialog .di-evidence-row{gap:8px}.dependency-insights-dialog .di-evidence-row p{flex-basis:100%}.dependency-insights-dialog .di-footer{padding:12px 14px;gap:10px}.dependency-insights-dialog .di-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}.dependency-insights-dialog .di-actions .di-primary{grid-row:1}.dependency-insights-dialog .di-actions button{width:100%;font-size:12px}.dependency-insights-dialog .di-empty-start{padding:28px 4px 12px}.dependency-insights-dialog .di-empty-start h3{font-size:16px}.dependency-insights-dialog .di-example-path{gap:6px}.dependency-insights-dialog .di-example-chip{padding:7px;font-size:10px}body.embedded-editor .dependency-insights-dialog{top:8px;max-height:calc(var(--host-height,100vh) - 16px)}}.touch-controls{display:none}@media(max-width:980px),(pointer:coarse){.touch-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 12px;background:#fff;border-bottom:1px solid #dce5f1}.touch-controls button{min-height:44px;min-width:44px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#334155;font-size:15px;padding:8px 12px;touch-action:manipulation}#touch-mode{margin-right:auto;font-size:13px;font-weight:650;background:#eff6ff;border-color:#93c5fd;color:#075985}#touch-mode[aria-pressed=true]{background:#f0fdfa;border-color:#5eead4;color:#115e59}#touch-help{flex-basis:100%;font-size:11px;color:#64748b;line-height:1.5}.touch-navigation .canvas-scroll,.touch-navigation #canvas,.touch-navigation .node{touch-action:none;overscroll-behavior:contain}}
