@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAn4ABMAAAAAEwQAAAmOAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGjQbgnQcLj9IVkFSgQEGYD9TVEFUgQIAgQovahEICok0h0ULIAAwhzoBNgIkAzwEIAWHJgeBDgwHG6QQUdRKTmoBFD8K42bniObKrG3LZFcMWZzFmrjTFhQ6TVTqPJcInrfrvzq3b2PGn1wwMiNYGTy9ViREYARlL1zAGcPdPqBt3gNWrfKthv4xnM+b9caw+wmjgEUVRjHXhS6jgCK6zf5HiWQacJpGdAgdrbV6g/Rf1BfxRqZVQnrxRVWSJb6RLFnyu0elilmjeoSQCKnxsmwLaddUMjnksriSYuuPl06EAl7KfAiWQjCUETz0zNZ3EII94CDQtzkMfZ/9IkkY8tZRZTDky5ZVwBAM+GYpdd4ZVAWYImnLkiTg48l79gGx3D+VBtLeyg8u7bJAd4uo0pFuQBFysE9C95l0W4Fkiao6GfrDbu77lVU7wk9cV3uqOsXmQiMkhVKl1ugjzUAJBSIkkVWHijkpkVSyUFsgVBuJMA0N+ZnXtyUv5yMigGdfQRmwL1AAjQ3YXG6iIFNSUdPQo8+AISPGAltBMDQRAtyf4ZspLlZkpyOVoMZPvFGWzvk8p5SUC/NWPMj6T2/Yas2EdlON5GkfdkeFwVGjta825H89NIenlLWAPAp5h1KDtRhCaAQWMsFKtEvOKpIhgLHlXPARokkgEGEOAkqxJRQpKYq4ezahIiLHP6hZpqMbV0pUF2vdvEimLEQ/iIUYLgYWs0VXGVlLTOPdaPmFfCC/XrtzqVo1ez7vz6+Kd2+7o11ZJ+4MreLbB5BKVGxobAq4jZYalZ5aX2CKJiwUuc9GNJyi4M8bGyKcdjSRrG4JohdF8buJfmQefbYYREnMFsOoiNliFDVxmRgL0XUmUMLqzW0A4gCQAhWGYCQpFNukwXhIkPMsbRI19ewtw8Cp2Wj/Ro5cM2OTAbJAvZ/L4opBXb9+UHscYuOKM/W8isgwN26Exexjizmfnlp9dE3hOSqdZ/F5QqbckIlPb+oKfXxd6hftJ7Sm/uyPYpONza84CRlMNk/uhOrLpyf53982++zRkXNu3g3VF8qFbx1+7fbHZ9DrB3VXWNSmhnT2vrwS1+1Z+kHGBaZIhnnvuLBTNDeA340D1DWu5/jEa9pVfl6+Jij+yo3EELNixXCLjr173Q5eDP7Y7/L4iQFHbjpaJLFoP4cCsYP6sAPL7gMHNg53yYjqxqTDrYqLDl5DzW/eTLjYxCvucprjI3yl2ykKowKUC2Ox2FJLFo6Fa1HBWLC2jMCIIBEmklkYhmkpmBhTm/LCvJAH5oGcMKcgFEP1xUdho8ANPa6RFD99/PN60fjj9eXy2Eex4B5MpmRapXidzFk1p4uLk3+hn6jAP9ovJcXPPwk8o/0ltizbdbnTprvx4PSxT0VZ3Xc772aN7RflgbXRYwc3hLNO+k878nxGwfuVM8m8Gs7WEoVGWLHwSpx4vNSHBCMNqJ4m15Kp/TfHHVkQd++eY7PGN4W5byTs+6Ft8Ozvb/D60btv37de8ER0mS3P/0sLW84qGjEVkwztPzz06eGUWwKLwPb0D/WFd3vltl2aP276KpM0JNz6AfnAnZ5ADlF2zVyZ2OkxHSMxWPMnSZLbbDR3F1UjPVqp4d68da13F1YZujdWw7271iecO2l9+/4p47Oztjck355/75wFOI+VdGDqbNGs+ISgxg3iB2jb2r+b0CWsNLHIM4sdv8SDSFBP/Oromz6FNCWw2iMTxV0R8QLyBTkpe0j5+pSSJOOTB5Mck/gh3IopuNQnhKj02t3FL80gGbEh89SZcwTxcYt5cZT/nMnB3uXfPy8BSpVMBuRx+ZhACGzDBmwHsJRAjhotOnzuj2wDz3ug2wOUAY2NgZln9/TK/enG/oE4rO1wxvGUFMAxsZ0qNjRC7hl9d17e7imbgDt6uJXhUobDg7v3RX/yRCKxgMhfyiKcZfbpk0wmCcdQlIAOHeakXLvCNt++WfKiozNqSZxxJotn+c0a7DdPsx7DPYgKIDxwwYUZDg9aJbxocTjcwovr9WAsVV32mQoiiIOCHc60Oltst9qCQYuCqN1yHo0Kj60OgI2OqmiuBUWrNA0NDhYCDcdpmMrs1fZZ0xdTzMr1HdPtIHstYhqaPDDA5YxUDx7J4fJiisBSDI/L6G/bn34GNy8Q2g044ZTulAdFLb0tI6NNxfj3DzLjWiNGxje1pz7aXOcNV68lDPEd2SXl6VfBuwmHzdf1gxFy1HvA7pD8I2BnnmyGw852Cg5XbgIdEEGE5UCzen5jTlG6JCU5iajlxVcsXvbcS0SAcg1dcesWJLVK8+hYHOYQ+Pjy+EyVGXP0aPTFagrV9E03hCQvYx+g47KGq+1GsLj8uBIyihNw33YUe8PNC4BOJ3Lm1AglLV3nCuvUdIP+v15tVGbWIwgxLVpPkfpthCGpTKG+oA/DQfsKKvxhScqaN6FuElAUtTKv2UYgOmQegsN/n7njHUju8wM4VTcm+Q8xfX9SFwjTzdVqu95UOWSIGOabH8OGBEba//8Yxl3GcPdP/dMBOoSX/0z5SZmBoLbaPs+9asaMpb36yknKaw6FqWZa6A5vDa02mhkOba1q6KtLV208xrkwmW5C4VD6n2fvRjADy2qDYYnNy+H10Fq0LMbNzS863gkO7iQ8eC48/Ny5m59tOcEso3u7Qg3yrqDL6eKXwJAuWnhylfbWrRObe66rzX59+XDtzusnL66dI/86ArmtLlzED860Ef3bFPV78OX/zFTA11fcBn2Vntb7qiGBSgLBHyuv/uEaqqoTgSpOyjlzh86me1Vriv7i9rLPLvtghWmSnblRbAsBJL/4dScSQTBxOivHMO5QvBBY0iheJvfwWLxLOGzYKZyM4zVc2Cll46zEpeUV4MqGEWZj22SdOxhGAjgs9AEnfT+RoiMfcDb0GS5NncKVxju4Nt/mRk13O9Gz3FLct5oCD6wkwUNrCfHIUg6SMf8LwQGyVaBUqpLPW5BaMpRshEpl8nS1qw5dgnzlik8QBXmdy5UrIH74heTKZKMSilQso4hsRiGraQZRzxpNGqlEJMsXuAU7GlcR8mWSykUpVkWGyIf0a8v4qEQp5CtGsMiZa+4ESYQy+WilCiguHzxMXO54ogShooTV2bj2z1zL6DYSoImoQ8lFUWxMLBNQQgLkV2tHYgUoIbkuREz+fJHKxxWBcnvu3KQppFCxLkguB1NyVSp/TknRvNwYlCdbblWu3ze6owHdWluhE5tgQ6ej2SV65CijijoaRfSiH4Nqz1OpfEW+WeI/oU0ly60zkV9YzOQSYtZVEGYmrysTZAJkY4qZtIBD9/LYTIK7Nww3vMiYBwA=)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./manrope-cyrillic-wght-normal-Dvxsihut.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./manrope-greek-wght-normal-DL7QRZyv.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./manrope-vietnamese-wght-normal-usUDDRr7.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./manrope-latin-ext-wght-normal-Ch3YOpNY.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./manrope-latin-wght-normal-DHIcAJRg.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2)format("woff2"),url(./ibm-plex-mono-latin-400-normal-CvHOgSBP.woff)format("woff")}:root{--font-brand:"Manrope Variable", "Manrope", system-ui, sans-serif;--font-code:"IBM Plex Mono", ui-monospace, monospace;--brand-navy:#163964;--brand-navy-deep:#112d51;--brand-navy-soft:color-mix(in srgb, var(--brand-navy) 12%, white);--brand-coral:#f0531e;--brand-coral-deep:color-mix(in srgb, var(--brand-coral) 78%, var(--brand-navy-deep));--brand-coral-soft:color-mix(in srgb, var(--brand-coral) 16%, white);--brand-orange:#f7982c;--brand-orange-deep:color-mix(in srgb, var(--brand-orange) 78%, var(--brand-navy-deep));--brand-orange-soft:color-mix(in srgb, var(--brand-orange) 16%, white);--brand-paper:#f7f6f2;--brand-wordmark-color:var(--brand-navy)}:root[data-theme=dark]{--brand-wordmark-color:#edf2f8}.dd-wordmark{font-family:var(--font-brand);font-size:var(--wordmark-size,23px);font-synthesis:none;letter-spacing:-.065em;white-space:nowrap;color:var(--brand-wordmark-color);font-style:normal;font-weight:800;line-height:1.15;display:inline-block}.dd-wordmark__light{font-weight:450}.dd-wordmark__dot{color:var(--brand-coral)}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:var(--font-brand);font-synthesis:none;-webkit-font-smoothing:antialiased;--radius-sm:8px;--radius-md:12px;--radius-lg:8px;--radius-pill:999px;--shadow-sm:0 1px 2px #0000000f, 0 2px 8px #0000000a;--shadow-md:0 4px 16px #00000014, 0 1px 3px #0000000f;--shadow-lg:0 12px 40px #0000001f, 0 2px 8px #0000000f;--studio-chrome-height:96px;--tool-rail-width:48px;--ink:var(--brand-navy);--muted:#5e6975;--line:#ddd5cc;--line-strong:#b7aa9c;--surface:#fffbf5;--surface-solid:#fffdf9;--surface-elevated:#fffdfb;--canvas-bg:#f5efe7;--canvas-tint:#ddd3c7;--accent:var(--brand-navy);--accent-strong:var(--brand-navy-deep);--accent-soft:var(--brand-navy-soft);--highlight:#3154d4;--highlight-soft:#e5eaff;--accent-warm:var(--brand-orange);--accent-warm-soft:var(--brand-orange-soft);--action-fill:var(--brand-navy);--action-hover:var(--brand-navy-deep);--action-text:#fff;--badge-fill:var(--brand-navy);--badge-text:#fff;--success:#2f7d62;--danger:#b42318;--danger-soft:#fee4e2;--focus:var(--brand-navy);--artboard:#fff;--artboard-shadow:0 2px 8px #00000014, 0 16px 48px #0000001a;--diagram-ink:var(--brand-navy);--diagram-edge:var(--brand-navy);--diagram-fallback:#eee8df;--annotation-ink:var(--brand-navy);--canvas-atmosphere:none;--text-primary:var(--ink);--panel-bg:var(--surface-elevated);--panel-border:var(--line);--surface-muted:color-mix(in srgb, var(--ink) 6%, var(--surface-solid))}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:#e6ebf0;--muted:#adb9c8;--line:#243447;--line-strong:#3a5068;--surface:#0a1525;--surface-solid:#0d1a2c;--surface-elevated:#122033;--canvas-bg:#081525;--canvas-tint:#fff;--accent:#9eb5d2;--accent-strong:#d5e0ef;--accent-soft:#1a2a3f;--highlight:#8da8ff;--highlight-soft:#1a2840;--accent-warm:var(--brand-orange);--accent-warm-soft:#3d2a18;--action-fill:var(--brand-navy);--action-hover:var(--brand-navy-deep);--action-text:#fff;--badge-fill:var(--brand-orange);--badge-text:var(--brand-navy-deep);--success:#7bc4a0;--danger:#ff9b75;--danger-soft:#4a2824;--focus:var(--brand-orange);--artboard:#102033;--diagram-ink:#e6ebf0;--diagram-edge:#b8c2ce;--diagram-fallback:#1a2a3f;--annotation-ink:#e6ebf0;--canvas-atmosphere:none;--artboard-shadow:0 2px 8px #00000080, 0 20px 60px #0000008f;--shadow-sm:0 1px 2px #0003, 0 2px 8px #00000026;--shadow-md:0 4px 16px #00000040, 0 1px 3px #00000026;--shadow-lg:0 12px 40px #00000059, 0 2px 8px #0003}*,:before,:after{box-sizing:border-box}html,body,#root{overscroll-behavior:none;height:100%;margin:0;overflow:hidden}body{background:var(--canvas-bg);min-width:900px;color:var(--ink)}button,input,select,textarea{font:inherit;color:inherit}button{appearance:none;cursor:pointer;background:0 0;border:none}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.secondary-button{border-color:var(--line-strong);white-space:nowrap;min-height:38px;font-size:12px;font-weight:600}.secondary-button:hover{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.primary-button{background:var(--action-fill);color:var(--action-text);cursor:pointer;border:none;border-radius:10px;padding:8px 14px;font-weight:600}.primary-button:hover{background:var(--action-hover)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.secondary-button{border:1px solid var(--line);background:var(--surface-muted);color:var(--text-primary);cursor:pointer;border-radius:10px;padding:8px 12px}.app{height:100%;position:relative;overflow:hidden}.canvas-pane{position:absolute;inset:0}.floating-topbar{z-index:20;border:1px solid var(--line);align-items:center;gap:12px;display:grid;position:absolute}.topbar-left{align-items:center;gap:10px;min-width:0;display:flex}.brand-mark{background:var(--action-fill);width:28px;height:28px;color:var(--action-text);border-radius:7px;flex-shrink:0;place-items:center;font-size:13px;font-weight:700;display:grid}.brand-name{letter-spacing:-.02em;font-size:14px;font-weight:600}.file-name{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-family:IBM Plex Mono,ui-monospace,monospace;font-size:11px;overflow:hidden}.topbar-center{justify-content:center;display:flex}.topbar-right{justify-content:flex-end;align-items:center;gap:6px;display:flex}.entity-navigator{position:relative}.entity-navigator-trigger{min-height:30px;padding:4px 9px}.entity-navigator-popover{z-index:110;border:1px solid var(--line-strong);background:var(--surface-elevated);width:min(320px,72vw);max-height:min(420px,60vh);box-shadow:var(--shadow-lg);border-radius:10px;gap:3px;padding:7px;display:grid;position:absolute;top:calc(100% + 6px);right:0;overflow:auto}.entity-navigator-list{gap:3px;min-height:0;display:grid;overflow:auto}.entity-navigator-item,.entity-navigator-focus{text-align:left;border-radius:7px;align-items:center;gap:8px;min-height:34px;padding:6px 8px;display:flex}.entity-navigator-item:hover,.entity-navigator-item:focus-visible,.entity-navigator-focus:hover,.entity-navigator-focus:focus-visible{background:var(--accent-soft);outline:2px solid var(--accent);outline-offset:-2px}.entity-navigator-kind{min-width:68px;color:var(--muted);text-transform:capitalize;font-size:10px}.entity-navigator-empty{color:var(--muted);padding:10px 8px;font-size:11px}.status-pill{border-radius:var(--radius-pill);color:var(--success);background:#34c7591f;padding:4px 10px;font-size:11px;font-weight:500}.status-pill.has-errors{background:var(--danger-soft);color:var(--danger)}.issue-journal{position:relative}.issue-journal-trigger{cursor:pointer;border:0;align-items:center;gap:5px;display:inline-flex}.issue-journal-trigger.has-warnings{background:color-mix(in srgb, var(--warning,#c98200) 14%, transparent);color:var(--warning,#a56500)}.issue-journal-trigger:focus-visible{outline:2px solid color-mix(in srgb, currentColor 48%, transparent);outline-offset:2px}.issue-journal-mark{border:1px solid;border-radius:50%;place-items:center;width:15px;height:15px;font-size:10px;font-weight:700;line-height:1;display:inline-grid}.issue-journal-popover{z-index:60;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-solid);width:min(360px,100vw - 24px);box-shadow:var(--shadow-md);color:var(--ink);animation:.16s panel-in;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden}.issue-journal-summary{border-bottom:1px solid var(--line);color:var(--muted);letter-spacing:.04em;text-transform:uppercase;padding:9px 12px 8px;font-size:10px;font-weight:700}.issue-journal-list{max-height:min(320px,50vh);padding:4px;display:grid;overflow:auto}.issue-journal-item{border-radius:var(--radius-sm);width:100%;color:var(--ink);cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:52px 1fr;gap:8px;padding:9px 8px;display:grid}.issue-journal-item:hover,.issue-journal-item:focus-visible{background:var(--surface-muted);outline:none}.issue-journal-item-kind{letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:700}.issue-journal-item.is-error .issue-journal-item-kind{color:var(--danger)}.issue-journal-item.is-warning .issue-journal-item-kind{color:var(--warning,#a56500)}.issue-journal-item-message{min-width:0;font-size:11px;line-height:1.4}.icon-button{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--ink);place-items:center;transition:background .15s;display:grid}.icon-button:hover{background:var(--line)}.icon-button:disabled{opacity:.35;cursor:default}.icon-button:disabled:hover{background:0 0}.icon-button.subtle{color:var(--muted)}.history-controls{gap:2px;display:flex}.theme-control{display:contents}.text-button{border-radius:var(--radius-sm);padding:6px 12px;font-size:12px;font-weight:500;transition:background .15s}.text-button:hover{background:var(--line)}.segmented-control{border-radius:var(--radius-sm);background:var(--line);gap:2px;padding:3px;display:flex}.segmented-control button{color:var(--muted);border-radius:6px;padding:5px 14px;font-size:12px;font-weight:500;transition:background .15s,color .15s}.segmented-control button.is-active{background:var(--surface-solid);box-shadow:var(--shadow-sm);color:var(--ink)}.tool-dock{z-index:15;border:1px solid var(--line);flex-direction:column;gap:4px;display:flex;position:absolute}.tool-dock button{color:var(--muted);place-items:center;transition:background .15s,color .15s,transform .1s;display:grid}.tool-dock button:hover{color:var(--ink)}.tool-dock button:active{transform:scale(.94)}.status-capsule{z-index:15;border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--surface-solid);min-height:44px;box-shadow:var(--shadow-md);color:var(--muted);align-items:center;padding:3px;font-size:11px;font-weight:500;animation:.3s cubic-bezier(.22,1,.36,1) both status-rise-in;display:flex;position:absolute;bottom:12px;right:12px}.status-capsule span{white-space:nowrap;align-items:center;height:36px;display:inline-flex}.status-capsule-readout{border-left:1px solid var(--line);min-width:66px;color:var(--muted);font-variant-numeric:tabular-nums;justify-content:center;padding:0 14px}.status-capsule-zoom{gap:2px;padding-left:2px;display:flex}.tool-dock{border-color:color-mix(in srgb, var(--line-strong) 72%, transparent);padding:4px}.tool-dock button{border:1px solid #0000;border-radius:10px;width:40px;height:40px}.tool-dock button:hover{border-color:var(--line-strong);background:var(--surface-muted)}.tool-dock button.is-active{border-color:color-mix(in srgb, var(--accent) 36%, transparent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 10%, transparent), 0 2px 6px color-mix(in srgb, var(--accent) 14%, transparent);color:var(--accent)}.document-name-field{border:1px solid var(--line);background:var(--surface-muted);border-radius:12px;align-items:center;gap:2px;min-width:144px;max-width:260px;height:36px;padding:3px;transition:border-color .18s,background .18s,box-shadow .18s;display:inline-flex}.document-name-field:hover{border-color:var(--line-strong)}.document-name-field:focus-within{border-color:color-mix(in srgb, var(--accent) 58%, var(--line));background:var(--surface-solid);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 13%, transparent), 0 3px 10px color-mix(in srgb, var(--accent) 8%, transparent)}.title-input{outline-offset:0;min-width:0;max-width:220px;height:28px;color:var(--text-primary);background:0 0;border:none;outline:none;flex:1;padding:0 6px 0 9px;font-size:14px;font-weight:600}.title-input:focus-visible{outline:none}.title-input::placeholder{color:var(--muted)}.document-name-edit{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;flex:0 0 30px;place-items:center;padding:0;transition:background .15s,color .15s,box-shadow .15s;display:grid}.document-name-edit svg{width:15px;height:15px}.document-name-edit:hover,.document-name-edit:focus-visible{background:var(--accent-soft);color:var(--accent);outline:none}.document-name-edit:focus-visible{box-shadow:inset 0 0 0 2px color-mix(in srgb, var(--accent) 38%, transparent)}.topbar-group{align-items:center;gap:8px;padding-inline:4px;display:inline-flex}.status-capsule{gap:2px}.status-capsule-button{background:var(--surface-muted);min-width:38px;height:36px;color:var(--text-primary);cursor:pointer;font-variant-numeric:tabular-nums;border:0;border-radius:999px;place-items:center;padding:0 10px;font-size:12px;transition:background .15s,color .15s,box-shadow .15s,transform .15s;display:grid}.status-capsule-button:hover{background:color-mix(in srgb, var(--accent) 12%, var(--surface-muted));color:var(--accent)}.status-capsule-button:active{transform:scale(.95)}.status-capsule-button:focus-visible{box-shadow:inset 0 0 0 2px color-mix(in srgb, var(--accent) 42%, transparent);outline:none}.status-capsule-fit{width:42px;padding:0}.status-capsule-fit svg{width:17px;height:17px}.status-capsule-reset{min-width:78px;padding-inline:13px}.status-capsule-step{width:38px;padding:0;font-size:17px;font-weight:400;line-height:1}.toast{background:var(--panel-bg);border:1px solid var(--panel-border);box-shadow:var(--shadow-md);z-index:40;will-change:opacity, transform;border-radius:999px;padding:10px 16px;animation:2.4s cubic-bezier(.22,1,.36,1) both toast-in-out;position:absolute;bottom:24px;left:50%;transform:translate(-50%)}@keyframes feedback-rise-in{0%{opacity:0;transform:translate(-50%,8px)scale(.98)}to{opacity:1;transform:translate(-50%)scale(1)}}@keyframes status-rise-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-in-out{0%{opacity:0;transform:translate(-50%,10px)scale(.97)}12%{opacity:1;transform:translate(-50%)scale(1)}84%{opacity:1;transform:translate(-50%)scale(1)}to{opacity:0;transform:translate(-50%,-4px)scale(.985)}}.recovery-banner{background:var(--panel-bg);border:1px solid var(--panel-border);box-shadow:var(--shadow-md);z-index:35;border-radius:12px;align-items:center;gap:8px;padding:10px 14px;display:flex;position:absolute;top:72px;left:50%;transform:translate(-50%)}.app{min-width:900px}.floating-topbar{background:var(--surface-solid);min-height:52px;box-shadow:none;border-width:0 0 1px;padding:6px 12px}.tool-dock{box-sizing:border-box;background:var(--surface-solid);box-shadow:none;border-width:0 1px 0 0;border-radius:0;left:0}.source-error-banner{z-index:25;border:1px solid var(--danger);border-radius:var(--radius-sm);background:var(--surface-solid);max-width:min(720px,100% - 40px);color:var(--danger);align-items:baseline;gap:10px;padding:8px 12px;font-size:12px;display:flex;position:absolute;top:60px;left:50%;transform:translate(-50%)}.source-error-banner span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.topbar-center{gap:8px}.top-menu{flex:none;position:relative}.top-menu-trigger{border-radius:var(--radius-sm);color:var(--muted);align-items:center;gap:5px;padding:7px 8px;font-size:12px;font-weight:600;transition:background .15s,color .15s;display:inline-flex}.top-menu-trigger:hover,.top-menu-trigger[aria-expanded=true]{background:var(--surface-muted);color:var(--ink)}.top-menu-trigger[aria-expanded=true]{box-shadow:var(--shadow-sm)}.top-menu-dropdown,.top-menu-submenu{z-index:60;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-elevated);min-width:220px;box-shadow:var(--shadow-lg);padding:5px;animation:.16s panel-in;position:absolute}.top-menu-dropdown{top:calc(100% + 6px);left:0}.studio-tabbar-actions .top-menu-dropdown{left:auto;right:0}.top-menu-submenu{display:none;top:-5px;left:calc(100% + 5px)}.top-menu-item-wrap:hover>.top-menu-submenu,.top-menu-item-wrap:focus-within>.top-menu-submenu{display:block}.top-menu-item-wrap{position:relative}.top-menu-item{border-radius:var(--radius-sm);width:100%;color:var(--ink);text-align:left;white-space:nowrap;justify-content:space-between;align-items:center;gap:18px;padding:8px 10px;font-size:12px;display:flex}.top-menu-item:hover,.top-menu-item:focus-visible{background:var(--accent-soft);color:var(--accent);outline:none}.top-menu-item:disabled{color:var(--muted);cursor:default;opacity:.48}.top-menu-item.is-danger{color:var(--danger)}.top-menu-item kbd,.top-menu-item .top-menu-caret{color:var(--muted)}.top-menu-item kbd{font:10px IBM Plex Mono,ui-monospace,monospace}.top-menu-caret{width:14px;height:14px;transform:rotate(-90deg)}.top-menu-separator{background:var(--line);height:1px;margin:5px 4px}.workspace-tabs{align-items:stretch;display:flex;top:67px;left:12px;right:12px}.workspace-tab-scroll{gap:3px;display:flex}.workspace-tab{align-items:stretch;display:flex}.workspace-tab-select{min-width:0;color:inherit;text-align:left;flex:1;align-items:center;gap:6px;padding:5px 4px 6px 10px;display:flex}.workspace-tab-select:hover,.workspace-tab-select:focus-visible,.workspace-tab-close:hover,.workspace-tab-close:focus-visible{background:var(--surface-muted)}.workspace-tab-select:focus-visible,.workspace-tab-close:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.workspace-tab-label{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-size:11px;font-weight:600;overflow:hidden}.workspace-tab-filename{min-width:0;max-width:42%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;flex:0 42%;font:9px IBM Plex Mono,ui-monospace,monospace;overflow:hidden}.workspace-tab-dirty{background:var(--accent);border-radius:50%;flex:0 0 6px;width:6px;height:6px}.workspace-tab-close,.workspace-tab-new{border-radius:var(--radius-sm);width:28px;min-width:28px;height:28px;color:var(--muted);align-self:center;place-items:center;display:grid}.workspace-tab-close svg{width:14px;height:14px}.dirty-pill{border-radius:var(--radius-pill);background:var(--accent-soft);color:var(--accent);padding:4px 8px;font-size:10px;font-weight:600}.loading-spinner{border:2px solid color-mix(in srgb, var(--accent) 22%, transparent);border-top-color:var(--accent);border-radius:50%;flex:0 0 18px;width:18px;height:18px;animation:.7s linear infinite loading-spinner-turn}.loading-spinner.is-small{border-width:1.5px;flex-basis:12px;width:12px;height:12px}.operation-status{z-index:45;border:1px solid var(--line);border-radius:var(--radius-pill);background:color-mix(in srgb, var(--surface-elevated) 94%, transparent);min-height:38px;box-shadow:var(--shadow-md);color:var(--text-primary);pointer-events:none;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);align-items:center;gap:9px;padding:8px 13px;font-size:12px;font-weight:600;display:flex;position:fixed;top:62px;left:50%;transform:translate(-50%)}.operation-status progress{border-radius:var(--radius-pill);width:84px;height:5px;accent-color:var(--accent);border:0;overflow:hidden}.operation-status .mono{min-width:28px;color:var(--muted);text-align:right;font-size:10px}.workspace-loading{z-index:80;background:var(--canvas-bg);color:var(--text-primary);place-content:center;justify-items:center;gap:10px;display:grid;position:fixed;inset:0}.workspace-loading strong{margin-top:4px;font-size:15px}.workspace-loading>span:last-child{color:var(--muted);font-size:12px}.workspace-loading.operation-loading{background:color-mix(in srgb, var(--canvas-bg) 96%, transparent);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}@keyframes loading-spinner-turn{to{transform:rotate(360deg)}}@keyframes example-preview-shimmer{0%{background-position:120% 0,0 0}to{background-position:-120% 0,0 0}}.tool-dock{top:var(--studio-chrome-height)}.studio-tabbar{z-index:23;border-bottom:1px solid var(--line);background:var(--surface);align-items:stretch;min-height:44px;display:flex;position:absolute;top:0;left:0;right:0;overflow:visible}.floating-topbar{border-radius:0 0 var(--radius-lg) var(--radius-lg);border-top:0;top:44px;left:0;right:0}.workspace-tabs{z-index:auto;min-width:0;min-height:44px;box-shadow:none;background:0 0;border:0;border-radius:0;flex:auto;gap:2px;padding:0 0 0 6px;position:static;overflow:hidden}.workspace-tab-scroll{scrollbar-width:none;overscroll-behavior-x:contain;flex:0 auto;align-items:flex-end;width:max-content;min-width:0;max-width:calc(100% - 40px);padding-top:3px;overflow:auto hidden}.workspace-tab-scroll::-webkit-scrollbar{display:none}.floating-topbar{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.topbar-left,.topbar-right{min-width:0}.document-name-field{flex:0 260px;width:min(260px,52%);overflow:hidden}.file-name{flex:auto;min-width:0;max-width:min(28vw,320px)}.input-limit{color:var(--muted);font-variant-numeric:tabular-nums;align-self:flex-end;font-size:10px}.workspace-tab{--workspace-tab-width:220px;--workspace-tab-min-width:132px;--workspace-tab-max-width:240px;width:var(--workspace-tab-width);min-width:var(--workspace-tab-min-width);max-width:var(--workspace-tab-max-width);flex:0 1 var(--workspace-tab-width);cursor:grab;min-height:42px;color:var(--muted);border:1px solid #0000;border-bottom:0;border-radius:16px 16px 0 0;align-self:flex-end;transition:transform .18s cubic-bezier(.22,1,.36,1),opacity .18s,background .16s,border-color .16s,box-shadow .16s,color .16s;position:relative;overflow:hidden}.workspace-tab:active{cursor:grabbing}.workspace-tab.is-dragging{opacity:.45;transform:translateY(-3px)scale(.98)}.workspace-tab.is-closing{pointer-events:none;transform-origin:0;width:var(--workspace-tab-current-width,var(--workspace-tab-width));flex:0 0 var(--workspace-tab-current-width,var(--workspace-tab-width));contain:layout paint;will-change:flex-basis, opacity, transform, clip-path;min-width:0;max-width:none;animation:.18s cubic-bezier(.4,0,1,1) both workspace-tab-close}@keyframes workspace-tab-close{0%{flex-basis:var(--workspace-tab-current-width,var(--workspace-tab-width));opacity:1;clip-path:inset(0 round 16px 16px 0 0);transform:translate(0,0)}to{opacity:0;clip-path:inset(0 100% 0 0 round 16px 16px 0 0);flex-basis:0;transform:translate(-8px)}}.workspace-tab.is-drop-target{box-shadow:inset 3px 0 0 var(--accent);transform:translate(4px)}.workspace-tab:not(.is-active):hover{background:color-mix(in srgb, var(--surface-elevated) 62%, transparent);color:var(--ink)}.workspace-tab-select{border-radius:15px 0 0;min-height:41px}.workspace-tab-select:hover,.workspace-tab-select:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;background:0 0}.workspace-tab-close{opacity:.72;pointer-events:auto;border:1px solid #0000;border-radius:50%;flex:0 0 22px;align-self:center;place-items:center;width:22px;min-width:22px;height:22px;min-height:22px;margin:0 8px 0 auto;padding:0;line-height:0;transition:opacity .18s,transform .18s cubic-bezier(.22,1,.36,1),background .18s,border-color .18s,box-shadow .18s,color .18s;display:grid;transform:scale(.92)}.workspace-tab.is-active .workspace-tab-close{color:var(--muted);opacity:.72;pointer-events:auto;background:0 0;transform:scale(.92)}.workspace-tab.is-active .workspace-tab-close:hover,.workspace-tab.is-active .workspace-tab-close:focus-visible{border-color:color-mix(in srgb, var(--line-strong) 28%, transparent);background:color-mix(in srgb, var(--ink) 6%, transparent);box-shadow:0 1px 3px color-mix(in srgb, var(--ink) 12%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--surface-solid) 16%, transparent);color:var(--ink);opacity:1;outline:2px solid var(--accent);outline-offset:-2px;transform:scale(1)}.workspace-tab:not(.is-active) .workspace-tab-close:focus-visible{border-color:color-mix(in srgb, var(--line-strong) 28%, transparent);background:color-mix(in srgb, var(--ink) 6%, transparent);box-shadow:0 1px 3px color-mix(in srgb, var(--ink) 12%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--surface-solid) 16%, transparent);color:var(--ink);opacity:.82;outline:2px solid var(--accent);outline-offset:-2px;pointer-events:auto;transform:scale(1)}.workspace-tab.is-active{--workspace-tab-active:color-mix(in srgb, var(--surface) 86%, var(--accent) 14%);background:var(--workspace-tab-active);border-color:color-mix(in srgb, var(--accent) 72%, var(--line));color:var(--ink);box-shadow:0 1px 0 var(--workspace-tab-active)}.workspace-tab.is-active:after{background:var(--workspace-tab-active);content:"";height:2px;position:absolute;bottom:-1px;left:1px;right:1px}.workspace-tab-new{width:32px;height:32px;color:var(--muted);border-radius:50%;flex:0 0 32px;align-self:center;margin-left:0;transition:background .16s,color .16s,transform .16s}.workspace-tab-new-control{flex:0 0 32px;place-items:center;width:32px;height:44px;display:grid;position:relative}.workspace-tab-new-tooltip{z-index:70;border:1px solid color-mix(in srgb, var(--ink) 14%, transparent);border-radius:var(--radius-sm);background:var(--ink);width:max-content;max-width:min(280px,100vw - 24px);box-shadow:var(--shadow-md);color:var(--surface-solid);opacity:0;pointer-events:none;visibility:hidden;gap:2px;padding:8px 10px;font-size:11px;line-height:1.35;transition:opacity .14s,transform .14s,visibility .14s;display:grid;position:absolute;top:calc(100% + 8px);right:0;transform:translateY(-4px)}.workspace-tab-new-tooltip strong{font-weight:750}.workspace-tab-new-tooltip span{color:color-mix(in srgb, var(--surface-solid) 80%, transparent)}.workspace-tab-new-control.is-at-limit:hover .workspace-tab-new-tooltip,.workspace-tab-new-control.is-at-limit:focus-within .workspace-tab-new-tooltip{opacity:1;visibility:visible;transform:translateY(0)}.workspace-tab-new:hover,.workspace-tab-new:focus-visible{background:var(--surface-muted);color:var(--ink);outline:none;transform:scale(1.06)}.workspace-tab-new:disabled{background:var(--surface-muted);color:var(--muted);cursor:not-allowed;opacity:.55;transform:none}.workspace-tab-new:disabled:hover{background:var(--surface-muted);color:var(--muted);transform:none}.studio-tabbar-leading,.studio-tabbar-actions{flex:none;align-items:center;gap:2px;padding:0 8px;display:flex}.studio-tabbar-leading{border-right:1px solid var(--line)}.studio-brand{white-space:nowrap;align-items:center;gap:7px;min-width:0;padding:0 8px 0 6px;display:flex}.studio-brand .brand-mark{border-radius:8px;width:26px;height:26px;font-size:12px}.studio-brand .brand-logo{object-fit:contain;object-position:center;flex:0 0 30px;width:30px;height:28px;display:block}.studio-brand{--wordmark-size:20px}.studio-tabbar-actions{border-left:1px solid var(--line);padding-right:10px}.studio-tabbar-leading .top-menu-trigger,.studio-tabbar-actions .top-menu-trigger{min-height:32px;padding-inline:9px}.studio-tabbar-leading .top-menu-trigger-icon-only{border-radius:10px;flex:0 0 34px;justify-content:center;align-items:center;width:34px;height:34px;padding:0;line-height:0;transition:background .16s,color .16s,box-shadow .16s,transform .16s;display:inline-flex}.studio-tabbar-leading .top-menu-trigger-icon-only[aria-expanded=true]{box-shadow:0 2px 6px color-mix(in srgb, var(--ink) 12%, transparent), 0 0 0 1px color-mix(in srgb, var(--line) 58%, transparent)}.studio-tabbar-leading .top-menu-trigger-icon-only svg{flex:none;width:21px;height:21px;display:block}.privacy-footer{z-index:3;left:calc(var(--tool-rail-width) + 12px);max-width:min(540px, calc(100vw - var(--tool-rail-width) - 24px));border:1px solid color-mix(in srgb, var(--line) 58%, transparent);border-radius:var(--radius-pill);background:color-mix(in srgb, var(--surface-solid) 68%, transparent);box-shadow:0 3px 14px color-mix(in srgb, var(--ink) 7%, transparent);-webkit-backdrop-filter:blur(12px)saturate(1.08);backdrop-filter:blur(12px)saturate(1.08);color:color-mix(in srgb, var(--muted) 88%, transparent);letter-spacing:.01em;opacity:.78;pointer-events:none;-webkit-user-select:none;user-select:none;white-space:nowrap;align-items:center;gap:8px;padding:6px 10px 6px 9px;font-size:10px;font-weight:500;line-height:1.2;display:inline-flex;position:absolute;bottom:12px}.privacy-footer-brand{color:var(--muted);flex-shrink:0;font-weight:700}.privacy-footer-divider{color:var(--line-strong);opacity:.75}.privacy-footer-message{align-items:center;gap:5px;min-width:0;display:inline-flex}.privacy-footer-message svg{width:13px;height:13px;color:var(--success);stroke-width:1.8px;flex:none}.tool-dock{width:var(--tool-rail-width);height:calc(100% - var(--studio-chrome-height))}@media (width<=900px){.file-name{display:none}.floating-topbar{gap:8px}.tool-dock{flex-direction:row;justify-content:center;top:auto;bottom:52px}}.canvas-stage{cursor:default;touch-action:none;position:absolute;inset:0}.canvas-stage.is-panning{cursor:grabbing}.canvas-world{transform-origin:0 0;will-change:transform;position:absolute}.canvas-artboard{position:absolute}.diagram-svg{z-index:1;pointer-events:none;line-height:0;position:relative}.diagram-svg svg{border-radius:2px;display:block}.empty-canvas{border-radius:var(--radius-md);background:var(--surface-elevated);width:480px;height:240px;color:var(--muted);box-shadow:var(--shadow-md);place-items:center;font-size:13px;display:grid}.canvas-stage:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}.interaction-overlay{z-index:2;pointer-events:none;position:absolute;inset:0;overflow:visible}.marquee-hit-surface{fill:#0000;stroke:none}.hit-group,.hit-node,.hit-edge,.port-handle,.segment-handle{pointer-events:all}.hit-group{fill:#0000;stroke:#0000;stroke-width:1.5px;vector-effect:non-scaling-stroke}.hit-group:hover{stroke:color-mix(in srgb, var(--highlight) 45%, transparent);stroke-dasharray:4 3}.hit-node{fill:#fff0;stroke:#0000;stroke-width:1.5px;vector-effect:non-scaling-stroke}.hit-node:hover,.hit-node.is-selected{stroke:var(--highlight)}.hit-edge{fill:none;stroke:#0000;stroke-width:12px;stroke-linecap:round;vector-effect:non-scaling-stroke}.port-handle{vector-effect:non-scaling-stroke;cursor:crosshair}.port-handle:hover,.port-handle.is-pending{fill:var(--accent);stroke:#fff}.segment-handle.is-horizontal{cursor:ns-resize}.segment-handle.is-vertical{cursor:ew-resize}.canvas-stage{background-position:0 0,0 0,0 0,0 0;background-size:24px 24px,24px 24px,120px 120px,120px 120px}.interaction-overlay.is-select-tool .hit-group,.interaction-overlay.is-select-tool .hit-node,.interaction-overlay.is-select-tool .hit-annotation,.interaction-overlay.is-select-tool .hit-annotation-text{cursor:grab}.interaction-overlay.is-select-tool .hit-group[aria-selected=true],.interaction-overlay.is-select-tool .hit-node[aria-selected=true],.interaction-overlay.is-select-tool .hit-annotation[aria-selected=true],.interaction-overlay.is-select-tool .hit-annotation-text[aria-selected=true]{cursor:move}.interaction-overlay.is-select-tool .hit-group:active,.interaction-overlay.is-select-tool .hit-node:active,.interaction-overlay.is-select-tool .hit-annotation:active,.interaction-overlay.is-select-tool .hit-annotation-text:active{cursor:grabbing}.interaction-overlay.is-text-tool,.interaction-overlay.is-text-tool .hit-annotation-text{cursor:text}.interaction-overlay.is-select-tool .hit-edge{cursor:pointer}.interaction-overlay.is-select-tool.has-group-hover .hit-edge{cursor:move}.interaction-overlay.is-select-tool .hit-edge-label{cursor:grab}.interaction-overlay.is-select-tool .hit-edge-label:active{cursor:grabbing}.hit-group.is-selected{stroke-width:3px;stroke-dasharray:9 5;filter:drop-shadow(0 0 2px color-mix(in srgb, var(--highlight) 38%, transparent))}.hit-node.is-selected{stroke-width:3px;stroke-dasharray:7 4;filter:drop-shadow(0 0 2px color-mix(in srgb, var(--highlight) 34%, transparent))}.selection-outline{filter:drop-shadow(0 0 2px color-mix(in srgb, var(--highlight) 26%, transparent))}.alignment-guide{fill:none;stroke:color-mix(in srgb, var(--highlight) 72%, transparent);stroke-width:1.5px;stroke-dasharray:6 4;vector-effect:non-scaling-stroke;pointer-events:none;opacity:.9;filter:drop-shadow(0 0 1px color-mix(in srgb, var(--artboard) 45%, transparent))}.alignment-guide.is-center{stroke-opacity:1;stroke-dasharray:3 3}.selection-group{stroke-dasharray:11 5}.connector-drag-preview{fill:none;stroke:color-mix(in srgb, var(--accent) 72%, transparent);stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:8 6;opacity:.62;pointer-events:none;animation:.7s linear infinite connector-drag-flow}.connector-drag-preview.is-snapped{stroke-dasharray:none;opacity:.82;filter:drop-shadow(0 1px 3px color-mix(in srgb, var(--accent) 26%, transparent))}.connector-preview-arrow{fill:var(--accent);opacity:.82}.connector-drag-cursor{fill:color-mix(in srgb, var(--accent) 12%, transparent);stroke:var(--accent);stroke-width:1.5px;stroke-dasharray:3 3;opacity:.75;pointer-events:none;animation:.9s ease-in-out infinite connector-drag-pulse}@keyframes connector-drag-flow{to{stroke-dashoffset:-28px}}@keyframes connector-drag-pulse{0%,to{opacity:.55}50%{opacity:.95}}.marquee{fill:color-mix(in srgb, var(--accent) 16%, transparent);stroke:var(--accent);stroke-width:1.5px;stroke-dasharray:6 4;vector-effect:non-scaling-stroke;pointer-events:none}.resize-handle,.bend-handle{fill:#fff;stroke:var(--accent)}.resize-handle{pointer-events:all;cursor:nwse-resize}.resize-handle-n,.resize-handle-s{cursor:ns-resize}.resize-handle-e,.resize-handle-w{cursor:ew-resize}.resize-handle-ne,.resize-handle-sw{cursor:nesw-resize}.resize-handle-nw,.resize-handle-se{cursor:nwse-resize}.group-resize-handle{fill:var(--surface-solid);stroke-width:2px;filter:drop-shadow(0 1px 3px color-mix(in srgb, var(--accent) 28%, transparent))}.group-resize-handle:hover,.group-resize-handle:focus-visible{fill:var(--accent);stroke:var(--surface-solid)}.hit-annotation.is-selected{fill:color-mix(in srgb, var(--brand-orange) 18%, transparent);stroke:var(--brand-orange-deep)}.canvas-stage{background:var(--canvas-bg)}.diagram-svg svg{box-shadow:0 1px 0 var(--line)}.hit-group,.hit-node,.hit-edge{vector-effect:non-scaling-stroke}.hit-group.is-selected,.hit-node.is-selected{stroke:var(--highlight);stroke-width:2px;stroke-dasharray:none}.resize-handle,.bend-handle{stroke-width:2px}.canvas-stage{background-color:var(--canvas-bg)}.diagram-svg{background-color:var(--artboard);background-image:linear-gradient(to right, color-mix(in srgb, var(--canvas-tint) 18%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--canvas-tint) 18%, transparent) 1px, transparent 1px), linear-gradient(to right, color-mix(in srgb, var(--canvas-tint) 28%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--canvas-tint) 28%, transparent) 1px, transparent 1px);background-position:0 0,0 0,0 0,0 0;background-size:24px 24px,24px 24px,120px 120px,120px 120px}.diagram-svg svg{background:0 0}.diagram-svg svg>rect:first-child{display:none}.canvas-stage{background-image:var(--canvas-atmosphere)}.diagram-svg svg .group-border-contrast{display:none}:root[data-theme=dark] .diagram-svg svg .group-border-contrast{display:block}:root[data-theme=dark] .diagram-svg svg text:not(.edge-badge-text):not(.group-badge-text){fill:var(--diagram-ink)}:root[data-theme=dark] .diagram-svg svg path[stroke=\#163964]{stroke:var(--diagram-edge)}:root[data-theme=dark] .diagram-svg svg path[fill=\#163964],:root[data-theme=dark] .diagram-svg svg circle[fill=\#163964]:not(.edge-badge-circle):not(.group-badge-circle){fill:var(--diagram-edge)}:root[data-theme=dark] .diagram-svg svg circle.edge-badge-circle,:root[data-theme=dark] .diagram-svg svg circle.group-badge-circle{fill:var(--badge-fill)}:root[data-theme=dark] .diagram-svg svg text.edge-badge-text,:root[data-theme=dark] .diagram-svg svg text.group-badge-text{fill:var(--badge-text);font-size:12px;font-weight:750}:root[data-theme=dark] .diagram-svg svg rect[fill=\#eee]{fill:var(--diagram-fallback)}:root[data-theme=dark] .diagram-svg svg g[id^=annotation-] text{fill:var(--annotation-ink)}:root[data-theme=dark] .diagram-svg svg g[data-annotation-style=callout] text{fill:var(--brand-navy)}:root[data-theme=dark] .diagram-svg{background-image:linear-gradient(to right, color-mix(in srgb, var(--canvas-tint) 4%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--canvas-tint) 4%, transparent) 1px, transparent 1px), linear-gradient(to right, color-mix(in srgb, var(--canvas-tint) 8%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--canvas-tint) 8%, transparent) 1px, transparent 1px)}@keyframes selection-halo-pulse{0%,to{opacity:.52;filter:drop-shadow(0 0 3px color-mix(in srgb, var(--accent) 18%, transparent))}50%{opacity:.9;filter:drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 34%, transparent))}}@keyframes selection-core-pulse{0%,to{stroke-opacity:.82}50%{stroke-opacity:1}}@keyframes selection-edge-pulse{0%,to{stroke-opacity:.2}50%{stroke-opacity:.34}}.hit-group.is-selected,.hit-node.is-selected{fill:#0000;stroke:#0000}.hit-edge.is-selected{stroke:var(--highlight);stroke-width:14px;stroke-linecap:round;stroke-opacity:.26;filter:drop-shadow(0 0 4px color-mix(in srgb, var(--highlight) 22%, transparent));animation:1.55s ease-in-out infinite selection-edge-pulse}.selection-outline-halo{fill:none;stroke:var(--highlight);stroke-width:8px;stroke-opacity:.18;stroke-linejoin:round;vector-effect:non-scaling-stroke;pointer-events:none;animation:1.8s ease-in-out infinite selection-halo-pulse}.selection-outline{fill:color-mix(in srgb, var(--highlight) 2%, transparent);stroke:var(--highlight);stroke-width:2px;stroke-opacity:.92;stroke-dasharray:none;stroke-linejoin:round;vector-effect:non-scaling-stroke;pointer-events:none;animation:1.8s ease-in-out infinite selection-core-pulse}.selection-group{stroke-width:2.25px}.selection-annotation{stroke:color-mix(in srgb, var(--highlight) 78%, var(--brand-orange-deep));fill:color-mix(in srgb, var(--highlight) 3%, transparent)}.selection-text{stroke:var(--highlight);fill:color-mix(in srgb, var(--highlight) 8%, transparent);stroke-width:2.5px;stroke-dasharray:6 4;rx:5}.auto-fix-button{border:1px solid color-mix(in srgb, var(--accent) 42%, var(--line));background:var(--accent-soft);min-height:32px;color:var(--accent);white-space:nowrap;border-radius:10px;align-items:center;gap:7px;padding:0 12px;font-size:11px;font-weight:700;transition:border-color .15s,background .15s,color .15s,box-shadow .15s,transform .15s;display:inline-flex}.auto-fix-button svg{width:15px;height:15px}.auto-fix-button:hover:not(:disabled){border-color:var(--accent);background:color-mix(in srgb, var(--accent) 14%, var(--surface-solid));box-shadow:0 4px 12px color-mix(in srgb, var(--accent) 14%, transparent)}.auto-fix-button:active:not(:disabled){transform:translateY(1px)}.auto-fix-button:disabled{cursor:progress}.snap-toggle{border:1px solid var(--line);background:var(--surface-solid);min-height:32px;color:var(--muted);white-space:nowrap;border-radius:10px;align-items:center;gap:7px;padding:0 10px;font-size:11px;font-weight:600;transition:border-color .15s,background .15s,color .15s,box-shadow .15s;display:inline-flex}.snap-toggle svg{width:15px;height:15px}.snap-toggle:hover{border-color:var(--line-strong);background:var(--surface-muted);color:var(--ink)}.snap-toggle.is-active{border-color:color-mix(in srgb, var(--accent) 48%, var(--line));background:var(--accent-soft);color:var(--accent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 10%, transparent)}.bend-handle{cursor:grab}.bend-handle:hover,.bend-handle:focus-visible,.bend-handle.is-rewiring{fill:var(--accent);stroke:var(--surface-solid)}.endpoint-handle{cursor:crosshair;width:10px;height:10px}.endpoint-handle:active,.endpoint-handle.is-rewiring{cursor:grabbing}.port-handle.is-rewire-target{fill:var(--accent);stroke:var(--surface-solid);stroke-width:2px;r:5.5px;opacity:1}.quick-connect-control,.port-control{pointer-events:all}.port-hit-area{fill:#0000;stroke:none;pointer-events:all;cursor:crosshair}.port-handle-halo{fill:color-mix(in srgb, var(--accent) 7%, transparent);stroke:color-mix(in srgb, var(--accent) 18%, transparent);stroke-width:1px;opacity:0;pointer-events:none;transition:r .14s,opacity .14s}.port-handle{fill:color-mix(in srgb, var(--accent) 24%, transparent);stroke:color-mix(in srgb, var(--accent) 58%, transparent);stroke-width:1.25px;r:3.25px;opacity:.74;pointer-events:none;transition:r .14s,fill .14s,opacity .14s,stroke .14s,stroke-width .14s}.port-hit-area:hover~.port-handle-halo,.port-hit-area:focus-visible~.port-handle-halo,.port-hit-area[aria-pressed=true]~.port-handle-halo{opacity:.72;r:7px}.port-hit-area:hover~.port-handle,.port-hit-area:focus-visible~.port-handle,.port-hit-area[aria-pressed=true]~.port-handle{fill:var(--accent);stroke:var(--surface-solid);stroke-width:2px;r:5.5px;opacity:1}.quick-connect-frame{fill:color-mix(in srgb, var(--accent) 2%, transparent);stroke:color-mix(in srgb, var(--accent) 28%, transparent);stroke-width:1px;stroke-dasharray:2 6;vector-effect:non-scaling-stroke;pointer-events:none}.quick-connect-control.is-compact .port-handle{fill:color-mix(in srgb, var(--accent) 26%, transparent);stroke:color-mix(in srgb, var(--accent) 62%, transparent);stroke-width:1.25px;r:3.25px}.quick-connect-control.is-compact .port-hit-area:hover~.port-handle,.quick-connect-control.is-compact .port-hit-area:focus-visible~.port-handle,.quick-connect-control.is-compact .port-hit-area[aria-pressed=true]~.port-handle{fill:var(--accent);stroke:var(--surface-solid);stroke-width:2.5px}.interaction-overlay .hit-group{fill:#0000;stroke:#0000;stroke-width:18px;pointer-events:all}.interaction-overlay .hit-annotation{fill:#fff0;stroke:#0000;stroke-width:2px;pointer-events:all;vector-effect:non-scaling-stroke}.interaction-overlay .hit-edge-label{fill:#fff0;stroke:#0000;pointer-events:all}.interaction-overlay .hit-group:hover,.interaction-overlay .hit-group.is-selected{stroke:#0000}.hover-outline,.hover-edge,.hover-edge-badge{pointer-events:none;vector-effect:non-scaling-stroke}.hover-outline{fill:color-mix(in srgb, var(--highlight) 5%, transparent);stroke:color-mix(in srgb, var(--highlight) 76%, white);stroke-width:2.5px;stroke-dasharray:7 4;stroke-linejoin:round;filter:drop-shadow(0 0 4px color-mix(in srgb, var(--highlight) 28%, transparent));animation:1.6s ease-in-out infinite hover-target-pulse}.hover-group{fill:color-mix(in srgb, var(--highlight) 3%, transparent);stroke-width:3px;stroke-dasharray:10 5}.hover-resource{fill:color-mix(in srgb, var(--highlight) 8%, transparent);stroke-dasharray:none}.hover-annotation{fill:color-mix(in srgb, var(--brand-orange) 10%, transparent);stroke:var(--brand-orange-deep);stroke-dasharray:5 4}.hover-edge{fill:none;stroke:color-mix(in srgb, var(--highlight) 42%, transparent);stroke-width:10px;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 3px color-mix(in srgb, var(--highlight) 25%, transparent));animation:1.6s ease-in-out infinite hover-target-pulse}.hover-edge-badge{fill:none;stroke:color-mix(in srgb, var(--highlight) 76%, white);stroke-width:2.5px;filter:drop-shadow(0 0 3px color-mix(in srgb, var(--highlight) 28%, transparent));animation:1.6s ease-in-out infinite hover-target-pulse}@keyframes hover-target-pulse{0%,to{stroke-opacity:.7}50%{stroke-opacity:1}}.edge-badge-handle{cursor:grab;pointer-events:all}.edge-badge-hit{pointer-events:all}.edge-badge-hit circle{fill:#fff0;pointer-events:all}.edge-badge-handle:active{cursor:grabbing}.edge-badge-handle-ring{fill:color-mix(in srgb, var(--accent) 12%, var(--surface-solid));stroke:var(--accent);stroke-width:2px;vector-effect:non-scaling-stroke;filter:drop-shadow(0 2px 4px color-mix(in srgb, var(--accent) 30%, transparent));transition:fill .14s,stroke-width .14s}.edge-badge-handle-core{fill:var(--badge-fill);stroke:var(--accent);stroke-width:1px;vector-effect:non-scaling-stroke;pointer-events:none}.edge-badge-handle:hover .edge-badge-handle-ring,.edge-badge-handle:focus-visible .edge-badge-handle-ring{fill:var(--accent-soft);stroke-width:2.5px}.edge-badge-handle-text{fill:var(--badge-text);font-variant-numeric:tabular-nums;dominant-baseline:middle;pointer-events:none;-webkit-user-select:none;user-select:none;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,system-ui,sans-serif;font-size:12px;font-weight:750}.edge-badge-prediction{pointer-events:none;opacity:.48}.edge-badge-preview-ring{fill:color-mix(in srgb, var(--badge-fill) 12%, var(--surface-solid));stroke:color-mix(in srgb, var(--accent) 72%, transparent);stroke-width:2px;stroke-dasharray:4 3;vector-effect:non-scaling-stroke}.edge-badge-preview-core{fill:var(--badge-fill);stroke:var(--accent);stroke-width:1px;vector-effect:non-scaling-stroke}.edge-badge-preview-text{fill:var(--badge-text);font-variant-numeric:tabular-nums;dominant-baseline:middle;pointer-events:none;-webkit-user-select:none;user-select:none;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,system-ui,sans-serif;font-size:12px;font-weight:750}.rewire-preview{fill:none;stroke:var(--accent);stroke-width:2.5px;stroke-linecap:round;stroke-dasharray:7 5;pointer-events:none;opacity:.9;animation:.7s linear infinite rewire-preview-flow}.rewire-preview.is-snapped{stroke-width:3px;stroke-dasharray:none;opacity:.88;animation:none}.rewire-preview-endpoint{fill:var(--surface-solid);stroke:var(--accent);stroke-width:2px;vector-effect:non-scaling-stroke;pointer-events:none}.rewire-preview-endpoint.is-snapped{fill:var(--accent);stroke:var(--surface-solid);stroke-width:2.5px}@keyframes rewire-preview-flow{to{stroke-dashoffset:-24px}}.route-editor{pointer-events:none}.route-editor.is-rewiring .route-edit-rail,.route-editor.is-rewiring .turn-handle,.route-editor.is-rewiring .segment-handle-group,.route-editor.is-rewiring .endpoint-handle{opacity:0;pointer-events:none}.route-edit-rail{fill:none;stroke:color-mix(in srgb, var(--accent) 32%, transparent);stroke-width:1.5px;stroke-dasharray:2 6;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;pointer-events:none}.turn-handle,.segment-handle-group{pointer-events:all;outline:none}.turn-handle{cursor:move}.turn-handle:active,.turn-handle.is-dragging{cursor:grabbing}.bend-handle-halo{fill:color-mix(in srgb, var(--accent) 12%, transparent);stroke:color-mix(in srgb, var(--accent) 50%, transparent);stroke-width:1px;vector-effect:non-scaling-stroke;pointer-events:none;opacity:.72;transition:r .14s,opacity .14s}.bend-handle{fill:var(--surface-solid);stroke:var(--accent);stroke-width:2px;vector-effect:non-scaling-stroke;pointer-events:all;transition:fill .14s,stroke .14s,r .14s}.bend-handle-core{fill:var(--accent);pointer-events:none}.turn-handle:hover .bend-handle-halo,.turn-handle:focus-visible .bend-handle-halo,.turn-handle:active .bend-handle-halo{opacity:1;r:12px}.turn-handle:hover .bend-handle,.turn-handle:focus-visible .bend-handle,.turn-handle:active .bend-handle{fill:var(--accent-soft);stroke-width:2.5px;r:7px}.segment-handle-group{cursor:move}.segment-handle-group.is-horizontal{cursor:ns-resize}.segment-handle-group.is-vertical{cursor:ew-resize}.segment-handle-group:active{cursor:grabbing}.segment-handle{fill:var(--surface-solid);stroke:var(--accent);stroke-width:1.75px;vector-effect:non-scaling-stroke;pointer-events:all;transition:fill .14s,stroke-width .14s,transform .14s}.segment-handle-glyph{stroke:var(--accent);stroke-width:1.5px;stroke-linecap:round;vector-effect:non-scaling-stroke;pointer-events:none}.segment-handle-group:hover .segment-handle,.segment-handle-group:focus-visible .segment-handle,.segment-handle-group:active .segment-handle{fill:var(--accent-soft);stroke-width:2.5px}.segment-handle-group:hover .segment-handle-glyph,.segment-handle-group:focus-visible .segment-handle-glyph,.segment-handle-group:active .segment-handle-glyph{stroke:var(--accent-strong,var(--accent));stroke-width:2px}.interaction-overlay .hit-annotation-text:hover,.interaction-overlay .hit-annotation-text.is-selected{fill:color-mix(in srgb, var(--highlight) 5%, transparent);stroke:color-mix(in srgb, var(--highlight) 72%, transparent);stroke-width:2px;stroke-dasharray:6 4}.hover-edge-label{fill:color-mix(in srgb, var(--highlight) 5%, transparent);stroke:color-mix(in srgb, var(--highlight) 72%, transparent);stroke-width:2px;stroke-dasharray:6 4;vector-effect:non-scaling-stroke;pointer-events:none}.selection-edge-label{fill:color-mix(in srgb, var(--highlight) 8%, transparent);stroke:var(--highlight);stroke-width:2.5px;stroke-dasharray:6 4}.floating-panel{z-index:14;border:1px solid var(--line);flex-direction:column;max-height:calc(100% - 96px);animation:.18s cubic-bezier(.22,1,.36,1) panel-in;display:flex;position:absolute}.floating-panel.drawer-sheet{min-height:320px;animation-name:drawer-in-left}.floating-panel.edge-sheet{height:auto;min-height:240px;animation-name:drawer-in-right}.floating-panel.inspector-sheet{animation-name:drawer-in-right}@keyframes panel-in{0%{opacity:0;transform:translateY(6px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes drawer-in-left{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}@keyframes drawer-in-right{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}@keyframes drawer-out-left{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-20px)}}.floating-panel.drawer-sheet.is-closing:not(.edge-sheet){pointer-events:none;animation:.18s cubic-bezier(.4,0,.2,1) both drawer-out-left}.floating-panel-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.floating-panel-header h2{margin:0;font-weight:600}.floating-panel-header p{color:var(--muted);margin:4px 0 0;font-size:12px;line-height:1.4}.floating-panel-body{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.drawer-search{padding:10px 12px}.drawer-search input{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-solid);width:100%;padding:8px 10px;font-size:13px}.palette-grid{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.palette-item{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-solid);min-height:108px;color:var(--text-primary);text-align:center;cursor:pointer;flex-direction:column;justify-content:flex-start;align-items:center;gap:6px;padding:10px 8px 12px;font-size:11px;line-height:1.3;transition:border-color .15s,box-shadow .15s;display:flex;position:relative}.palette-item[draggable=true]{cursor:grab}.palette-item[draggable=true]:active{cursor:grabbing}.palette-item:hover{border-color:var(--line-strong);box-shadow:var(--shadow-sm)}.palette-item img{object-fit:contain;flex-shrink:0;width:40px;height:40px}.group-list{flex-direction:column;gap:4px;padding:10px;display:flex;overflow:auto}.group-list button{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-solid);text-align:left;align-items:center;gap:10px;min-height:44px;padding:8px 10px;font-size:12px;transition:border-color .15s;display:flex}.group-list button:hover{border-color:var(--line-strong)}.group-list img,.group-glyph{object-fit:contain;width:26px;height:26px}.group-glyph{color:var(--muted);place-items:center;font-size:18px;display:grid}.callout{border-radius:var(--radius-sm);background:var(--accent-soft);color:var(--accent);margin:12px;padding:12px;font-size:12px;line-height:1.5;animation:.24s cubic-bezier(.22,1,.36,1) both feedback-panel-in}.callout strong{font-weight:600}.code-drawer{flex-direction:column;flex:1;min-height:0;display:flex}.code-actions{border-bottom:1px solid var(--line)}.code-actions button{border-radius:var(--radius-sm);background:var(--line);padding:6px 10px;font-size:11px;font-weight:500}.code-drawer textarea{resize:none;tab-size:2;background:0 0;border:0;outline:0;flex:1;min-height:0;padding:12px;font:12px/1.55 IBM Plex Mono,ui-monospace,monospace}.issues{border-bottom:1px solid var(--line);background:var(--danger-soft);max-height:100px;color:var(--danger);padding:10px 12px;font-size:11px;line-height:1.45;overflow:auto}.issues .source-diagnostic{width:100%;color:inherit;font:inherit;line-height:inherit;text-align:left;text-underline-offset:2px;background:0 0;border:0;padding:0;-webkit-text-decoration:underline #0000;text-decoration:underline #0000;display:block}.issues .source-diagnostic:hover,.issues .source-diagnostic:focus-visible{text-decoration-color:currentColor}.issues .source-diagnostic:focus-visible{outline-offset:2px;outline:2px solid}.property-section{border-bottom:1px solid var(--line);flex-direction:column;gap:8px;padding:14px 16px;display:flex}.property-section label{color:var(--muted);letter-spacing:.02em;text-transform:uppercase;font-size:11px;font-weight:600}.readonly-value,.property-section input,.property-section textarea,.property-section select{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-solid);min-height:32px;padding:7px 10px;font-size:13px}.property-section textarea{resize:vertical;min-height:112px;line-height:1.45}.property-section select{cursor:pointer}.property-help{color:var(--muted);margin:0;font-size:11px;line-height:1.5}.inspector-advanced{border-bottom:1px solid var(--line)}.inspector-advanced>summary{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;cursor:pointer;justify-content:space-between;align-items:center;padding:13px 16px;font-size:11px;font-weight:700;list-style:none;display:flex}.inspector-advanced>summary::-webkit-details-marker{display:none}.inspector-advanced>summary:after{content:"+";color:var(--muted);font-size:16px;font-weight:400;line-height:1}.inspector-advanced[open]>summary:after{content:"−"}.inspector-advanced>summary:hover,.inspector-advanced>summary:focus-visible{background:var(--surface-muted);color:var(--text-primary);outline:none}.inspector-advanced-body{flex-direction:column;gap:10px;padding:0 16px 14px;display:flex}.inspector-detail{flex-direction:column;gap:5px;display:flex}.inspector-detail-label{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:700}.inspector-detail .readonly-value{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-family:IBM Plex Mono,ui-monospace,monospace;overflow:hidden}.button-pair{border:1px solid var(--line);border-radius:var(--radius-sm);grid-template-columns:1fr 1fr;display:grid;overflow:hidden}.button-pair button{padding:8px;font-size:12px;transition:background .15s}.button-pair button:hover{background:var(--line)}.button-pair button.is-active{background:var(--accent-soft);color:var(--accent);font-weight:500}.button-pair.button-triplet{grid-template-columns:repeat(3,1fr)}.text-formatting{gap:12px}.property-control-row{grid-template-columns:72px minmax(0,1fr);align-items:center;gap:10px;display:grid}.property-control-row label{margin:0}.property-control-row select{width:100%}.property-control-label{color:var(--muted);letter-spacing:.02em;text-transform:uppercase;margin-bottom:7px;font-size:11px;font-weight:600;display:block}.note-style-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.note-style-button{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-solid);text-align:left;min-height:58px;padding:8px 9px;transition:border-color .15s,background .15s,transform .15s}.note-style-button:hover{border-color:var(--line-strong);background:var(--surface-muted);transform:translateY(-1px)}.note-style-button.is-active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb, var(--accent) 16%, transparent)}.note-style-button strong,.note-style-button>.note-style-description{display:block}.note-style-button strong{font-size:12px}.note-style-button>.note-style-description{color:var(--muted);margin-top:3px;font-size:10px;line-height:1.25}.note-style-grid-with-previews{gap:10px}.note-style-grid-with-previews .note-style-button{min-height:124px;padding:9px}.note-style-preview{border:1px solid var(--line);width:100%;height:48px;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--ink) 4%, transparent), var(--shadow-sm);border-radius:9px;justify-content:center;align-items:center;margin-bottom:8px;display:flex;position:relative;overflow:hidden}.note-composer-preview{flex:0 0 48px;width:48px;height:48px;margin-bottom:0}.note-style-preview-paper{background:var(--brand-orange-soft);border-color:color-mix(in srgb, var(--brand-orange) 70%, var(--line-strong))}.note-preview-fold{border-bottom:1px solid color-mix(in srgb, var(--brand-orange) 72%, var(--line-strong));border-left:1px solid color-mix(in srgb, var(--brand-orange) 72%, var(--line-strong));background:color-mix(in srgb, var(--brand-orange) 38%, var(--surface-solid));clip-path:polygon(0 0,100% 100%,0 100%);width:15px;height:15px;position:absolute;top:0;right:0}.note-preview-line,.note-preview-code-line,.note-preview-callout-line{border-radius:999px;height:3px;position:absolute;left:13px}.note-preview-line{background:color-mix(in srgb, var(--brand-orange-deep) 72%, var(--brand-orange))}.note-preview-line-long{top:15px;right:19px}.note-preview-line-medium{top:24px;right:28px}.note-preview-line-short{top:33px;right:37px}.note-style-preview-code{background:var(--brand-navy-deep);border-color:var(--brand-navy);justify-content:flex-start;align-items:flex-start}.note-preview-code-line{background:var(--brand-orange);height:4px;left:12px}.note-preview-code-line-long{top:13px;right:16px}.note-preview-code-line-medium{background:var(--brand-coral);top:23px;right:27px}.note-preview-code-line-short{background:color-mix(in srgb, var(--brand-orange) 72%, white);top:33px;right:42px}.note-style-preview-callout{background:var(--brand-coral-soft);border-color:color-mix(in srgb, var(--brand-coral) 52%, var(--line-strong));justify-content:flex-start}.note-style-preview-text{background:var(--surface-solid);border-color:var(--line-strong);color:var(--ink);text-align:left;justify-content:center;align-items:flex-start;gap:5px;padding:0 12px;font-family:Inter,Noto Sans,ui-sans-serif,system-ui,sans-serif;font-size:10px}.note-preview-text-line{white-space:nowrap;text-overflow:ellipsis;max-width:100%;display:block;overflow:hidden}.note-preview-text-line-long{font-weight:600}.note-preview-text-line-short{color:var(--muted)}.note-preview-callout-mark{border:2px solid var(--accent);width:19px;height:19px;color:var(--accent);border-radius:50%;place-items:center;margin-left:11px;font-size:12px;font-weight:700;display:grid}.note-preview-callout-line{background:color-mix(in srgb, var(--brand-navy) 55%, var(--line-strong));left:39px}.note-preview-callout-line-long{top:17px;right:11px}.note-preview-callout-line-short{top:29px;right:29px}.note-style-preview-checklist{background:#eff9f2;border-color:#71a987;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px}.note-preview-check-row{align-items:center;gap:6px;width:76%;margin-left:12px;display:flex}.note-preview-check-row i{color:#4f9b69;border:1px solid #4f9b69;border-radius:3px;flex:0 0 10px;place-items:center;width:10px;height:10px;font-size:8px;font-style:normal;font-weight:700;display:grid}.note-preview-check-row b{background:#8bc39d;border-radius:999px;width:100%;height:3px;display:block}.note-composer{flex-direction:column;min-height:0;display:flex}.note-composer-intro{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:16px;display:flex}.note-composer-intro strong,.note-composer-intro p{display:block}.note-composer-intro strong{font-size:14px}.note-composer-intro p{color:var(--muted);margin:3px 0 0;font-size:11px;line-height:1.35}.note-composer-section{padding:14px 16px 16px}.note-composer-footer{border-top:1px solid var(--line);padding:12px 16px 16px}.note-create-button{width:100%;min-height:38px}.wide-button{border-radius:var(--radius-sm);background:var(--line);width:100%;padding:9px;font-size:12px;font-weight:500}.wide-button:hover{background:var(--line-strong)}.inspector-footer{border-top:1px solid var(--line);padding:12px 16px}.danger-button{border-radius:var(--radius-sm);background:var(--danger-soft);width:100%;color:var(--danger);padding:9px;font-size:12px;font-weight:500}.danger-button:hover{background:#ff3b302e}.inspector-kind{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin-bottom:4px;font-size:10px;font-weight:600;display:block}.inspector-title{letter-spacing:-.02em;overflow-wrap:anywhere;margin:0;font-size:16px;font-weight:600}.floating-panel.drawer-sheet,.floating-panel.inspector-sheet{border-top:0;border-bottom:0;border-right:0;border-left:1px solid var(--line);box-shadow:-12px 0 32px color-mix(in srgb, var(--ink) 10%, transparent);border-radius:0;left:auto;right:0}.floating-panel.edge-sheet{border-top:0;border-bottom:0;border-right:0;border-left:1px solid var(--line);box-shadow:-12px 0 32px color-mix(in srgb, var(--ink) 10%, transparent);border-radius:0;top:52px;left:auto;right:0}.floating-panel-header{background:var(--surface-solid);min-height:68px;padding:17px 20px 14px}.floating-panel-header h2{letter-spacing:0;font-size:14px}.source-drawer .code-actions{flex-wrap:wrap;align-items:center;gap:8px;padding:12px 0}.asset-browser-toolbar{align-items:center}.drawer-search-input,.category-select select,.layers-search{border-color:var(--line-strong);background:var(--surface-muted);border-radius:9px;min-height:38px}.drawer-search-input:focus,.category-select select:focus,.layers-search:focus{border-color:var(--accent);background:var(--surface-solid);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);outline:none}.provider-tabs{border:1px solid var(--line);background:var(--surface-muted);border-radius:10px}.provider-tabs button{color:var(--muted);letter-spacing:.01em;white-space:nowrap;border:1px solid #0000;border-radius:7px}.provider-tabs button:hover{color:var(--ink);background:color-mix(in srgb, var(--surface-solid) 58%, transparent)}.provider-tabs button.is-active{border-color:var(--line);background:var(--surface-solid);color:var(--accent)}.asset-filters{align-items:center;padding-top:2px}.asset-filters button{font-weight:600}.palette-grid{gap:10px;padding:2px 0 18px}.palette-card{border-color:var(--line);transition:border-color .15s,box-shadow .15s,transform .15s}.palette-card:hover,.palette-card:focus-within{border-color:color-mix(in srgb, var(--accent) 56%, var(--line));box-shadow:0 4px 14px color-mix(in srgb, var(--ink) 10%, transparent);transform:translateY(-1px)}.palette-card .palette-item{padding:13px 10px 12px}.palette-card .palette-item:focus-visible{outline-offset:-3px}.palette-thumb{background:color-mix(in srgb, var(--surface-muted) 72%, transparent);border-radius:9px}.favorite-toggle:hover,.favorite-toggle:focus-visible{border-color:var(--line-strong);background:var(--surface-muted);color:var(--accent)}.context-menu-item{font-weight:500}.context-menu-item:hover:not(:disabled){color:var(--accent)}.source-sheet,.layers-sheet{height:auto;top:72px;bottom:16px}.source-drawer,.layers-panel{flex-direction:column;gap:12px;min-height:0;padding:0 12px 12px;display:flex}.source-drawer{flex:1 1 0;min-width:0;height:auto;overflow:hidden}.layers-panel{height:100%}.code-actions{flex:none;gap:8px;min-height:0;padding:0 12px;display:flex}.source-editor-shell{border:1px solid var(--line);border-radius:var(--radius-md);flex:1 1 0;min-width:0;min-height:0;display:flex;overflow:hidden}.source-drawer .cm-editor{flex:auto;min-width:0;height:100%;min-height:0;display:flex}.source-drawer .cm-scroller{overscroll-behavior:contain;scrollbar-width:thin;flex:auto;min-width:0;min-height:0;overflow:auto}.asset-browser{flex-direction:column;flex:1;gap:10px;min-height:0;padding:0 12px 12px;display:flex}.asset-browser-controls{flex-direction:column;flex-shrink:0;gap:8px;display:flex}.asset-browser-body{flex-direction:column;flex:1;min-height:0;display:flex;overflow:auto}.asset-browser-more{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:4px 2px 10px;font-size:11px;display:flex}.asset-browser-more .secondary-button{min-height:34px}.asset-browser-hint{color:var(--muted);margin:0 2px 8px;font-size:12px;line-height:1.4}.asset-sections{flex-direction:column;gap:8px;min-height:0;display:flex}.category-select select{border:1px solid var(--panel-border);background:var(--surface-muted);width:100%;color:var(--text-primary);border-radius:10px;padding:8px 10px;font-size:13px}.asset-section{border:1px solid var(--line);background:color-mix(in srgb, var(--surface-muted) 55%, transparent);border-radius:12px;overflow:hidden}.asset-section-header{width:100%;color:var(--text-primary);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:8px;padding:10px 12px;display:flex}.asset-section-title{flex:1;font-size:13px;font-weight:600}.asset-section-count,.asset-section-caret{color:var(--muted);font-size:11px}.asset-section .palette-grid{padding:0 10px 10px}.asset-browser-toolbar{gap:8px;display:flex}.add-boundary-button{white-space:nowrap;flex:none;justify-content:center;align-items:center;gap:8px;width:100%;min-width:0;display:flex}.groups-toolbar{flex-direction:column}.add-boundary-button__mark{border:1.5px dashed;flex:none}.add-boundary-button__label{text-overflow:ellipsis;overflow:hidden}.groups-toolbar .drawer-search-input{flex:none;width:100%}.drawer-search-input,.layers-search{border:1px solid var(--panel-border);background:var(--surface-muted);color:var(--text-primary);border-radius:10px;flex:1;padding:8px 10px}.provider-tabs,.category-tabs{flex-wrap:wrap;gap:6px;display:flex}.provider-tabs button,.category-tabs button{border:1px solid var(--line);background:var(--surface-muted);color:var(--text-primary);cursor:pointer;border-radius:999px;padding:6px 10px}.provider-tabs button.is-active,.category-tabs button.is-active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.asset-grid{flex:1;min-height:0;overflow:auto}.palette-thumb{flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.palette-thumb img{object-fit:contain;max-width:100%;max-height:100%}.palette-label{-webkit-line-clamp:2;width:100%;color:var(--text-primary);-webkit-box-orient:vertical;font-size:11px;font-weight:500;line-height:1.25;display:-webkit-box;overflow:hidden}.provider-badge{background:var(--accent-soft);color:var(--accent);text-transform:uppercase;border-radius:999px;margin-right:4px;padding:1px 5px;font-size:9px;font-weight:600;display:inline-block}.favorite-toggle{width:22px;height:22px;color:var(--muted);cursor:pointer;border:none;position:absolute;top:6px;right:6px}.favorite-toggle.is-active{color:var(--brand-orange-deep)}.palette-meta{-webkit-line-clamp:2;width:100%;color:var(--muted);-webkit-box-orient:vertical;font-size:10px;display:-webkit-box;overflow:hidden}.palette-empty{color:var(--muted);grid-column:1/-1;padding:16px}.context-menu{z-index:40;border:1px solid var(--line);background:var(--surface-elevated);position:fixed}.context-menu-item{width:100%;color:var(--text-primary);text-align:left;cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;gap:24px;padding:8px 10px;font-size:13px;display:flex}.context-menu-item:hover:not(:disabled){background:var(--surface-muted)}.context-menu-item:disabled{opacity:.45;cursor:default}.context-menu-item kbd{color:var(--muted);white-space:nowrap;font-family:inherit;font-size:10px}.context-menu-item.is-danger{color:var(--danger)}.context-menu-item.is-danger:hover:not(:disabled){background:var(--danger-soft);color:var(--danger)}.context-menu-separator{background:var(--line);height:1px;margin:5px 4px}.edge-panel-header h3{margin:0;font-size:14px}.edge-panel-header p{color:var(--muted);margin:4px 0 0;font-size:12px}.edge-swap-button{margin-top:8px}.edge-panel-footer{padding-top:4px}.palette-grid.is-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.palette-item.is-group{gap:6px;min-height:136px;padding-bottom:14px}.palette-item.is-group .palette-label{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.palette-item.is-group .palette-thumb{width:56px;height:56px}.group-kind-badge{background:var(--surface-muted);max-width:100%;color:var(--muted);text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap;border-radius:999px;padding:2px 6px;font-size:10px;font-weight:600;display:inline-block;overflow:hidden}.asset-browser-count{color:var(--muted);margin:0 2px}.source-drawer .cm-editor,.source-drawer .cm-scroller{flex:1;min-height:0}.layers-search{border:1px solid var(--panel-border);background:var(--surface-muted);width:100%;color:var(--text-primary);border-radius:10px;padding:8px 10px}.layers-toolbar{gap:8px;display:flex}.layers-toolbar button{border:1px solid var(--panel-border);background:var(--surface-muted);min-height:32px;color:var(--text-primary);cursor:pointer;font:inherit;border-radius:8px;flex:1;font-size:12px}.layers-toolbar button:hover:not(:disabled),.layers-toolbar button:focus-visible:not(:disabled){border-color:var(--accent)}.layers-toolbar button:disabled{cursor:not-allowed;opacity:.45}.layers-list{gap:4px;display:grid;overflow:auto}.layer-row{border-radius:8px;align-items:center;gap:6px;display:flex}.layer-row.is-selected{background:color-mix(in srgb, var(--accent) 14%, transparent)}.layer-select{text-align:left;color:var(--text-primary);background:0 0;border:none;flex:1;gap:2px;padding:8px;display:grid}.layer-kind{text-transform:uppercase;opacity:.6;font-size:10px}.layer-actions{padding-right:6px;display:flex}.layer-actions button{cursor:pointer;background:0 0;border:none}@keyframes feedback-panel-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.button-grid{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.floating-panel{background:var(--surface-solid);box-shadow:none;border-radius:0}.floating-panel.drawer-sheet{height:calc(100% - var(--studio-chrome-height));max-height:none}.floating-panel.inspector-sheet{border-radius:0;height:calc(100% - 52px);max-height:none;top:52px;right:0}.palette-card{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-solid);min-width:0;position:relative}.palette-card[data-icon-status=error]{border-color:var(--line)}.palette-card .palette-item{border-radius:var(--radius-sm);background:0 0;border:0;width:100%;min-height:116px}.palette-card .palette-item:hover{box-shadow:none}.palette-card[data-icon-status=retrying] .palette-thumb{opacity:.76}.palette-card[data-icon-status=retrying] img{animation:.7s ease-in-out infinite alternate palette-icon-retry}@keyframes palette-icon-retry{0%{opacity:.42}to{opacity:.9}}.palette-thumb-error{border:1px solid var(--danger);width:32px;height:32px;color:var(--danger);border-radius:50%;place-items:center;font-weight:700;display:grid}.palette-card.is-group .palette-label{-webkit-line-clamp:2;white-space:normal;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.asset-filters{gap:4px;display:flex}.asset-filters button{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-solid);color:var(--muted);padding:6px 10px;font-size:11px}.asset-filters button.is-active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.favorite-toggle{z-index:2;background:var(--surface-solid);border-radius:4px}.floating-panel.drawer-sheet{top:var(--studio-chrome-height);right:auto;left:var(--tool-rail-width);border-top:0;border-right:1px solid var(--line);box-shadow:12px 0 32px color-mix(in srgb, var(--ink) 10%, transparent);border-bottom:0;border-left:0;border-radius:0}.floating-panel.drawer-sheet,.floating-panel.inspector-sheet{min-height:0;max-height:none}.floating-panel.drawer-sheet.edge-sheet,.floating-panel.inspector-sheet{box-shadow:-12px 0 32px color-mix(in srgb, var(--ink) 10%, transparent)}.floating-panel-body{padding:0}.floating-panel.asset-sheet .asset-browser{gap:12px;padding:16px 12px}.floating-panel.asset-sheet .asset-browser-toolbar,.floating-panel.asset-sheet .asset-browser-controls{gap:10px}.floating-panel.asset-sheet .drawer-search-input,.floating-panel.asset-sheet .secondary-button{min-height:40px}.floating-panel.asset-sheet .drawer-search-input{padding-inline:12px}.floating-panel.asset-sheet .secondary-button{padding-inline:14px}.property-hint{color:var(--muted);margin:8px 0 0;font-size:11px;line-height:1.4}.layer-actions button.layer-lock-toggle{border:1px solid var(--line);background:var(--surface-solid);width:30px;height:30px;color:var(--muted);cursor:pointer;border-radius:8px;place-items:center;padding:0;line-height:0;transition:border-color .14s,background .14s,color .14s,box-shadow .14s;display:grid}.layer-actions button.layer-lock-toggle:hover,.layer-actions button.layer-lock-toggle:focus-visible{border-color:var(--accent);background:var(--accent-soft);color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);outline:none}.layer-actions button.layer-lock-toggle.is-locked{border-color:color-mix(in srgb, var(--accent) 54%, var(--line));background:color-mix(in srgb, var(--accent-soft) 72%, var(--surface-solid));color:var(--accent)}.layer-lock-icon{color:currentColor;width:19px;height:19px;overflow:visible}.layer-lock-icon .lock-body{fill:currentColor;stroke:currentColor;stroke-width:1.5px}.layer-lock-icon .lock-shackle{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round}.layer-lock-icon .lock-shackle-open{stroke-width:2.4px}.layer-lock-icon .lock-keyhole,.layer-lock-icon .lock-keyhole-stem{fill:var(--surface-solid);stroke:var(--surface-solid);stroke-width:1.5px;stroke-linecap:round}.layer-actions{align-items:center;gap:4px}.layer-actions button.layer-visibility-toggle{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;place-items:center;padding:0;line-height:0;transition:border-color .14s,background .14s,color .14s,box-shadow .14s;display:grid}.layer-actions button.layer-visibility-toggle:hover,.layer-actions button.layer-visibility-toggle:focus-visible{border-color:var(--accent);background:var(--accent-soft);color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);outline:none}.layer-actions button.layer-visibility-toggle.is-hidden{color:var(--muted);opacity:.78}.layer-visibility-icon{width:18px;height:18px}.floating-panel.drawer-sheet,.floating-panel.inspector-sheet{top:var(--studio-chrome-height)}.floating-panel.drawer-sheet:not(.edge-sheet){width:420px!important}.floating-panel.asset-sheet .asset-browser{background:linear-gradient(180deg, color-mix(in srgb, var(--accent-soft) 32%, transparent), transparent 180px), var(--surface-solid)}.groups-toolbar .add-boundary-button{border:1px solid color-mix(in srgb, var(--accent) 34%, var(--line));background:color-mix(in srgb, var(--accent-soft) 54%, var(--surface-solid));min-height:48px;color:var(--accent);font-weight:650;box-shadow:inset 0 0 0 1px #ffffff4d}.groups-toolbar .add-boundary-button:hover{border-color:var(--accent);background:var(--accent-soft)}.add-boundary-button__mark{border-width:2px;border-radius:5px;width:20px;height:16px}.provider-tabs{scrollbar-width:none;grid-template-columns:.78fr .96fr 1.08fr .9fr 1.12fr;gap:4px;padding:2px 1px 5px;display:grid;overflow:visible}.provider-tabs::-webkit-scrollbar{display:none}.provider-tabs button{border-color:var(--panel-border);background:var(--surface-solid);min-width:0;min-height:38px;box-shadow:0 1px 0 color-mix(in srgb, var(--ink) 5%, transparent);justify-content:center;align-items:center;gap:5px;padding:6px 4px;font-size:10.5px;font-weight:650;display:inline-flex}.provider-tabs button>span:last-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.provider-tabs button.is-active{box-shadow:0 0 0 2px color-mix(in srgb, var(--accent) 14%, transparent)}.provider-mark{background:var(--surface-muted);width:22px;height:22px;color:var(--muted);border-radius:7px;flex:0 0 22px;place-items:center;display:inline-grid;position:relative;overflow:hidden}.provider-mark svg{width:17px;height:17px;display:block;overflow:visible}.provider-mark--all{background:var(--accent-soft);color:var(--accent)}.provider-mark--all path{fill:currentColor}.provider-mark--aws{color:#fff;background:#182433}.provider-mark--aws svg{width:19px}.provider-mark--aws text{fill:#fff;font-family:Arial,sans-serif;font-size:8px;font-weight:700}.provider-mark--aws path{fill:none;stroke:#f90;stroke-linecap:round;stroke-width:1.35px}.provider-mark--azure{background:color-mix(in srgb, #1689d5 12%, var(--surface-solid))}.provider-mark--azure path{fill:#1689d5}.provider-mark--gcp{background:var(--surface-solid);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--line-strong) 65%, transparent)}.provider-mark--gcp .gcp-blue{fill:#4285f4}.provider-mark--gcp .gcp-red{fill:#ea4335}.provider-mark--gcp .gcp-yellow{fill:#fbbc04}.provider-mark--gcp .gcp-green{fill:#34a853}.provider-mark--neutral{background:color-mix(in srgb, var(--muted) 12%, var(--surface-solid))}.provider-mark--neutral path{fill:none;stroke:currentColor;stroke-linejoin:round;stroke-width:1.7px}.category-picker{z-index:5;position:relative}.category-picker__trigger{border:1px solid var(--panel-border);background:var(--surface-solid);width:100%;min-height:44px;color:var(--text-primary);font:inherit;text-align:left;cursor:pointer;box-shadow:0 1px 0 color-mix(in srgb, var(--ink) 5%, transparent);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;display:flex}.category-picker__trigger:hover,.category-picker__trigger[aria-expanded=true]{border-color:var(--accent)}.category-picker__trigger>span:first-child{align-items:center;gap:7px;min-width:0;font-size:12px;font-weight:650;display:flex}.category-picker small{background:var(--surface-muted);min-width:24px;height:20px;color:var(--muted);font-variant-numeric:tabular-nums;border-radius:999px;place-items:center;padding:0 6px;font-size:10px;display:inline-grid}.category-picker__chevron{border-bottom:1.5px solid;border-right:1.5px solid;width:8px;height:8px;transition:transform .16s;transform:translateY(-2px)rotate(45deg)}.category-picker__trigger[aria-expanded=true] .category-picker__chevron{transform:translateY(2px)rotate(225deg)}.category-picker__menu{z-index:8;border:1px solid var(--panel-border);background:var(--surface-elevated);max-height:260px;box-shadow:var(--shadow-lg);border-radius:12px;gap:3px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:auto}.category-picker__menu button{min-height:36px;color:var(--text-primary);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:7px 9px;font-size:11px;display:flex}.category-picker__menu button:hover,.category-picker__menu button.is-selected{background:var(--accent-soft);color:var(--accent)}.palette-grid.is-group-grid{gap:10px}.palette-card.is-group{border-color:var(--panel-border);background:linear-gradient(145deg, color-mix(in srgb, var(--accent-soft) 28%, transparent), transparent 62%), var(--surface-solid);border-radius:14px;min-height:136px;transition:transform .16s,border-color .16s,box-shadow .16s;display:grid;overflow:hidden}.palette-card.is-group:hover{border-color:color-mix(in srgb, var(--accent) 44%, var(--line));box-shadow:0 8px 18px color-mix(in srgb, var(--ink) 9%, transparent);transform:translateY(-2px)}.palette-card.is-group .palette-item{justify-content:center;height:100%;min-height:124px;padding:14px 10px 12px}.palette-card.is-group .palette-thumb{background:color-mix(in srgb, var(--surface-solid) 82%, transparent);width:50px;height:50px;box-shadow:0 4px 12px color-mix(in srgb, var(--ink) 9%, transparent);border-radius:12px;padding:5px}.palette-card.is-group .palette-label{min-height:30px;font-size:12px;font-weight:650}.group-card-meta{align-items:center;gap:5px;display:inline-flex}.group-card-meta .provider-mark{border-radius:6px;flex-basis:18px;width:18px;height:18px;transform:scale(.88)}.group-card-meta .group-kind-badge{background:color-mix(in srgb, var(--surface-muted) 82%, transparent);font-size:9px}.asset-browser-count{background:var(--surface-muted);border-radius:999px;align-self:flex-start;padding:4px 8px;font-size:10px;font-weight:600}.palette-card:not(.is-group) .palette-item{grid-template-rows:48px 32px 28px;grid-template-columns:minmax(0,1fr);align-content:start;place-items:start center;gap:5px;min-height:132px;padding:11px 10px 10px;display:grid}.palette-card:not(.is-group) .palette-thumb{border-radius:11px;width:48px;height:48px;padding:4px}.palette-card:not(.is-group) .palette-thumb img{width:40px;height:40px}.palette-card:not(.is-group) .palette-label{align-self:center;line-height:1.3}.palette-card:not(.is-group) .palette-meta{align-self:start;line-height:1.35}.context-menu{border-color:var(--panel-border);min-width:270px;box-shadow:0 18px 48px color-mix(in srgb, var(--ink) 18%, transparent);border-radius:14px;padding:8px}.context-menu-item{border-radius:9px;min-height:40px;padding-left:38px;position:relative}.context-menu-item:before{width:18px;height:18px;color:var(--muted);place-items:center;font-size:14px;display:grid;position:absolute;left:11px}.context-menu-item[data-menu-item=paste]:before{content:"⊕"}.context-menu-item[data-menu-item=copy]:before{content:"▣"}.context-menu-item[data-menu-item=cut]:before{content:"✂"}.context-menu-item[data-menu-item=duplicate]:before{content:"⧉"}.context-menu-item[data-menu-item=front]:before{content:"⇧"}.context-menu-item[data-menu-item=back]:before{content:"⇩"}.context-menu-item[data-menu-item=lock]:before{content:"◇"}.context-menu-item[data-menu-item=delete]:before{content:"×"}.toast,.floating-panel h2,.layer-label{overflow-wrap:anywhere}.tool-dock,.floating-panel.drawer-sheet,.floating-panel.inspector-sheet,.tool-dock,.floating-panel.drawer-sheet,.floating-panel.inspector-sheet,.floating-panel.edge-sheet{top:var(--studio-chrome-height)}.floating-panel.drawer-sheet,.floating-panel.inspector-sheet{height:calc(100% - var(--studio-chrome-height))}.floating-panel.edge-sheet{max-height:calc(100% - var(--studio-chrome-height))}.floating-panel.drawer-sheet.edge-sheet{top:var(--studio-chrome-height);max-height:calc(100% - var(--studio-chrome-height))}.floating-panel.edge-sheet .floating-panel-body{overflow-y:auto}.floating-panel.inspector-sheet .floating-panel-body{overscroll-behavior:contain;overflow-y:auto}.floating-panel.edge-sheet{border-color:color-mix(in srgb, var(--line-strong) 72%, var(--line));overflow:hidden}.floating-panel.edge-sheet .floating-panel-body{background:var(--surface-elevated);scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}.edge-panel{flex-direction:column;gap:0;min-width:0;padding:0;display:flex}.edge-panel-intro{border-bottom:1px solid var(--line);padding:18px 20px 16px}.edge-panel-kicker{min-width:0;color:var(--muted);letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:7px;font-size:10px;font-weight:750;display:flex}.edge-panel-kicker-icon{border:1px solid color-mix(in srgb, var(--accent) 30%, var(--line));background:var(--accent-soft);width:22px;height:22px;color:var(--accent);border-radius:7px;place-items:center;display:grid}.edge-panel-kicker-icon svg{width:14px;height:14px}.edge-panel-id{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--muted);letter-spacing:0;text-transform:none;margin-left:2px;font-family:IBM Plex Mono,ui-monospace,monospace;font-size:9px;font-weight:600;overflow:hidden}.edge-panel-title-row{justify-content:space-between;align-items:flex-start;gap:14px;min-width:0;margin-top:13px;display:flex}.edge-panel-title-copy{min-width:0}.edge-panel-title-copy h3{color:var(--ink);letter-spacing:-.025em;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:17px;font-weight:720;overflow:hidden}.edge-panel-title-copy p{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:7px;margin:5px 0 0;font-size:11px;display:flex;overflow:hidden}.edge-panel-direction{color:var(--accent);font-size:14px;font-weight:650}.edge-reverse-button{border:1px solid var(--line);background:var(--surface-muted);min-height:30px;color:var(--muted);border-radius:9px;flex:none;align-items:center;gap:6px;padding:0 9px;font-size:11px;font-weight:650;transition:border-color .14s,background .14s,color .14s,transform .14s;display:inline-flex}.edge-reverse-button>span{color:var(--accent);font-size:16px;line-height:1}.edge-reverse-button:hover{border-color:color-mix(in srgb, var(--accent) 46%, var(--line));background:var(--accent-soft);color:var(--accent)}.edge-reverse-button:active,.edge-inline-action:active,.edge-route-button:active,.edge-delete-button:active{transform:translateY(1px)}.edge-panel-section{border-bottom:1px solid var(--line);flex-direction:column;gap:11px;min-width:0;padding:17px 20px 18px;display:flex}.edge-section-heading,.edge-color-heading{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;display:flex}.edge-section-heading h4,.edge-color-heading h4{color:var(--ink);letter-spacing:.07em;text-transform:uppercase;margin:0;font-size:11px;font-weight:760}.edge-section-heading p,.edge-color-heading p{max-width:232px;color:var(--muted);margin:4px 0 0;font-size:10px;line-height:1.4}.edge-section-optional,.edge-section-value{color:var(--muted);flex:none;font-size:10px;font-weight:650}.edge-section-value{color:var(--accent);text-transform:capitalize}.edge-kind-pill,.edge-route-status{background:var(--surface-muted);color:var(--muted);border-radius:999px;flex:none;align-items:center;gap:5px;padding:4px 7px;font-size:10px;font-weight:700;display:inline-flex}.edge-kind-pill.is-flow{background:var(--accent-soft);color:var(--accent)}.edge-kind-pill.is-bidirectional{background:color-mix(in srgb, var(--accent) 12%, var(--surface-elevated));color:var(--accent)}.edge-kind-pill.is-peer{background:color-mix(in srgb, var(--brand-navy) 12%, var(--surface-elevated));color:color-mix(in srgb, var(--brand-navy) 72%, var(--muted))}.edge-kind-pill.is-fail{background:var(--danger-soft);color:var(--danger)}.edge-field{border:1px solid var(--line-strong);background:var(--surface-solid);border-radius:10px;width:100%;min-height:40px;padding:9px 11px;font-size:13px;transition:border-color .14s,box-shadow .14s,background .14s}.edge-field::placeholder{color:color-mix(in srgb, var(--muted) 80%, transparent)}.edge-field:hover{border-color:color-mix(in srgb, var(--accent) 32%, var(--line-strong))}.edge-field:focus{border-color:var(--accent);background:var(--surface-elevated);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);outline:none}.edge-help{color:var(--muted);margin:0;font-size:10px;line-height:1.5}.edge-meaning-options,.edge-style-options{gap:7px;display:grid}.edge-meaning-options{grid-template-columns:repeat(2,minmax(0,1fr))}.edge-meaning-option,.edge-style-option,.edge-route-button{border:1px solid var(--line);background:var(--surface-solid);text-align:left;border-radius:11px;align-items:center;gap:10px;min-width:0;padding:10px;transition:border-color .14s,background .14s,box-shadow .14s,transform .14s;display:flex}.edge-meaning-option{align-items:flex-start;min-height:70px;padding:10px;position:relative}.edge-meaning-option .edge-option-copy{min-width:0;padding-right:12px}.edge-meaning-option .edge-option-copy small{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.edge-meaning-option .edge-option-check{position:absolute;top:9px;right:9px}.edge-meaning-option:hover,.edge-style-option:hover,.edge-route-button:hover{border-color:color-mix(in srgb, var(--accent) 45%, var(--line));background:color-mix(in srgb, var(--accent-soft) 38%, var(--surface-solid))}.edge-meaning-option.is-active,.edge-style-option.is-active{border-color:color-mix(in srgb, var(--accent) 55%, var(--line));background:color-mix(in srgb, var(--accent-soft) 66%, var(--surface-solid));box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent)}.edge-meaning-glyph{background:var(--accent-soft);width:30px;height:30px;color:var(--accent);border-radius:9px;flex:0 0 30px;place-items:center;font-size:18px;font-weight:650;line-height:1;display:grid}.edge-meaning-glyph.is-peer{background:color-mix(in srgb, var(--brand-navy) 13%, var(--surface-elevated));color:color-mix(in srgb, var(--brand-navy) 72%, var(--muted))}.edge-meaning-glyph svg{width:18px;height:18px;display:block}.edge-meaning-glyph.is-fail{background:var(--danger-soft);color:var(--danger);font-size:15px;font-weight:800}.edge-option-copy{flex:auto;gap:3px;min-width:0;display:grid}.edge-option-copy strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:700;overflow:hidden}.edge-option-copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.35;overflow:hidden}.edge-option-check{border:1px solid var(--line-strong);width:18px;height:18px;color:var(--accent);border-radius:50%;flex:0 0 18px;place-items:center;font-size:11px;font-weight:800;display:grid}.is-active .edge-option-check{border-color:var(--accent);background:var(--action-fill);color:var(--action-text)}.edge-style-options{grid-template-columns:repeat(2,minmax(0,1fr))}.edge-style-option{flex-direction:column;align-items:flex-start;gap:8px;min-height:84px;padding:11px}.edge-style-option .edge-option-copy{width:100%}.edge-style-option .edge-option-check{position:absolute;top:9px;right:9px}.edge-style-option{position:relative}.edge-style-sample{width:100%;height:14px;padding-top:6px;display:block}.edge-style-sample i{background:var(--diagram-edge);border-radius:99px;width:100%;height:2px;display:block}.edge-style-sample.is-dashed i{background:repeating-linear-gradient(90deg, var(--diagram-edge) 0 9px, transparent 9px 14px)}.edge-color-heading{align-items:center;margin-top:3px}.edge-current-color{color:var(--muted);align-items:center;gap:6px;font-size:10px;font-weight:650;display:inline-flex}.edge-current-color i{border:1px solid color-mix(in srgb, var(--ink) 18%, transparent);border-radius:50%;width:10px;height:10px;display:block}.edge-color-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 6px;display:grid}.edge-color-option.edge-color-auto{grid-column:1/-1}.edge-color-option{min-width:0;min-height:34px;color:var(--muted);border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:5px;font-size:9px;font-weight:650;transition:border-color .14s,background .14s,color .14s,transform .14s;display:flex}.edge-color-option:hover{border-color:var(--line);background:var(--surface-muted);color:var(--ink)}.edge-color-option.is-active{border-color:color-mix(in srgb, var(--accent) 45%, var(--line));background:var(--accent-soft);color:var(--accent)}.edge-color-swatch{border:1px solid color-mix(in srgb, var(--ink) 18%, transparent);border-radius:50%;flex:0 0 13px;width:13px;height:13px;display:block;box-shadow:inset 0 0 0 2px #ffffff38}.edge-color-swatch.is-auto{background:conic-gradient(var(--accent) 0 25%, var(--line-strong) 25% 50%, var(--danger) 50% 75%, var(--success) 75% 100%)}.edge-badge-editor{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.edge-inline-action{min-height:40px;color:var(--accent);white-space:nowrap;padding:0 4px;font-size:11px;font-weight:700;transition:color .14s,transform .14s}.edge-inline-action:hover{color:color-mix(in srgb, var(--accent) 72%, var(--ink))}.edge-route-status{background:var(--surface-muted);color:var(--muted)}.edge-route-status i{background:var(--muted);border-radius:50%;width:6px;height:6px}.edge-route-status.is-pinned{background:color-mix(in srgb, var(--success) 13%, var(--surface-elevated));color:var(--success)}.edge-route-status.is-pinned i{background:var(--success)}.edge-route-button{min-height:58px;padding:10px 11px}.edge-route-button-icon{background:var(--surface-muted);width:28px;height:28px;color:var(--accent);border-radius:8px;flex:0 0 28px;place-items:center;font-size:17px;display:grid}.edge-route-button-arrow{color:var(--accent);flex:none;font-size:16px}.edge-panel-footer{padding:14px 20px 18px}.edge-delete-button{border:1px solid color-mix(in srgb, var(--danger) 28%, var(--line));background:color-mix(in srgb, var(--danger-soft) 78%, var(--surface-elevated));width:100%;min-height:38px;color:var(--danger);border-radius:10px;justify-content:center;align-items:center;gap:7px;font-size:11px;font-weight:700;transition:border-color .14s,background .14s,transform .14s;display:flex}.edge-delete-button:hover{border-color:color-mix(in srgb, var(--danger) 58%, var(--line));background:var(--danger-soft)}.floating-panel.drawer-sheet.edge-sheet,.floating-panel.inspector-sheet{border-top:0;border-right:0;border-bottom:1px solid var(--line);border-left:1px solid var(--line);border-radius:0;height:auto;min-height:0;max-height:none;inset:96px 0 calc(56px + clamp(30px,4vw,50px)) auto;overflow:hidden}.floating-panel.drawer-sheet.edge-sheet .floating-panel-header,.floating-panel.inspector-sheet .floating-panel-header{z-index:1;flex:none;position:sticky;top:0}.floating-panel.drawer-sheet.edge-sheet .floating-panel-body,.floating-panel.inspector-sheet .floating-panel-body{overscroll-behavior:contain;flex:auto;min-height:0;overflow-y:auto}.tool-dock,.floating-panel.drawer-sheet:not(.edge-sheet){top:var(--studio-chrome-height)}.floating-panel.drawer-sheet:not(.edge-sheet){left:var(--tool-rail-width);height:calc(100% - var(--studio-chrome-height))}.hosted-privacy-trigger{border:1px solid var(--line);color:var(--muted);border-radius:7px;padding:5px 8px;font-size:11px;font-weight:600}.hosted-privacy-trigger:hover{color:var(--ink);border-color:var(--line-strong);background:var(--surface-muted)}.hosted-privacy-copy{gap:12px;line-height:1.55;display:grid}.hosted-privacy-copy p{margin:0}.hosted-privacy-lead{color:var(--ink);font-size:18px;font-weight:750}.hosted-setup-note{border-left:3px solid var(--accent);background:var(--surface-muted);padding:12px 14px}.hosted-links{font-size:12px}.hosted-links a{color:var(--accent);font-weight:650}.hosted-check{align-items:flex-start;gap:8px;font-size:12px;line-height:1.4;display:flex}.hosted-check input{accent-color:var(--accent);margin-top:2px}.hosted-settings{gap:18px;display:grid}.hosted-tour-layer{z-index:90;pointer-events:none;position:fixed;inset:0}.hosted-tour-layer:before{content:"";pointer-events:auto;background:#0c121c61;position:absolute;inset:0}.hosted-tour-spotlight{z-index:1;border:2px solid var(--accent);box-shadow:0 0 0 9999px #0c121c61, 0 0 0 6px color-mix(in srgb, var(--accent) 28%, transparent);pointer-events:none;border-radius:10px;position:fixed}.hosted-tour-tooltip{z-index:2;border:1px solid var(--panel-border);background:var(--panel-bg);box-shadow:var(--shadow-lg);pointer-events:auto;border-radius:14px;padding:16px;position:fixed}.hosted-tour-tooltip h2{margin:5px 0 6px;font-size:17px}.hosted-tour-tooltip p{color:var(--muted);margin:0 0 12px;font-size:13px;line-height:1.45}.hosted-tour-progress{color:var(--accent);letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:750}@media (prefers-reduced-motion:reduce){.hosted-tour-spotlight,.hosted-tour-tooltip{transition:none}}.crash-recovery{background:var(--app-bg,#f5f5f7);min-height:100vh;color:var(--text-primary,#172033);place-items:center;padding:32px;display:grid}.crash-recovery-card{background:#fff;border:1px solid #1720331f;border-radius:18px;width:min(520px,100%);padding:28px;box-shadow:0 18px 50px #1720331f}.crash-recovery-card h1{margin:4px 0 10px;font-size:24px}.crash-recovery-card p{line-height:1.55}.crash-recovery-eyebrow{color:#51627a;letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:12px;font-weight:700}.crash-recovery-card details{margin:18px 0}.crash-recovery-card pre{white-space:pre-wrap;background:#f0f2f5;border-radius:8px;padding:12px;overflow:auto}.crash-recovery-card button{background:var(--action-fill);color:#fff;min-height:40px;font:inherit;cursor:pointer;border:0;border-radius:9px;padding:0 16px;font-weight:700}.export-menu{align-items:stretch;display:inline-flex;position:relative}.export-menu .caret{border-top-left-radius:0;border-bottom-left-radius:0;padding-inline:10px}.export-dropdown{background:var(--panel-bg);border:1px solid var(--panel-border);min-width:330px;box-shadow:var(--shadow-lg);z-index:30;border-radius:16px;gap:8px;padding:8px;display:grid;position:absolute;top:calc(100% + 8px);right:0}.export-primary{align-items:center;gap:7px;display:inline-flex}.export-primary svg{width:15px;height:15px}.export-dropdown-heading{color:var(--text-primary);letter-spacing:.02em;justify-content:space-between;align-items:baseline;gap:12px;padding:7px 9px 3px;font-size:12px;font-weight:700;display:flex}.export-dropdown-heading small{color:var(--muted);font-size:10px;font-weight:500}.export-format-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;display:grid}.export-dropdown button.export-format-option{min-width:0;color:var(--text-primary);text-align:left;border:1px solid #0000;border-radius:10px;gap:3px;padding:9px 10px;display:grid}.export-dropdown button.export-format-option:hover,.export-dropdown button.export-format-option:focus-visible{border-color:color-mix(in srgb, var(--accent) 24%, var(--line));background:var(--accent-soft);outline:none}.export-format-name{font-size:12px;font-weight:700}.export-format-description{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.3;overflow:hidden}.export-dropdown-footer{border-top:1px solid var(--line);color:var(--muted);padding:7px 9px 3px;font-size:10px}.export-dropdown button{text-align:left;color:var(--text-primary);background:0 0;border:none;border-radius:8px;padding:8px 10px}.export-dropdown button:hover{background:var(--surface-muted)}.export-dialog-form{display:grid}.export-dialog-section,.export-advanced{border:1px solid var(--line)}.export-dialog-section{display:grid}.export-section-heading{justify-content:space-between;align-items:flex-start;display:flex}.export-section-heading h3{color:var(--text-primary);letter-spacing:-.015em;margin:0;font-weight:750}.export-section-heading p{max-width:580px;color:var(--muted);margin:4px 0 0}.export-file-extension{border-radius:var(--radius-pill);background:var(--accent-soft);color:var(--accent);flex:none;font:10px IBM Plex Mono,ui-monospace,monospace}.export-select-label,.export-input-label{color:var(--text-primary);align-items:center;font-weight:650;display:grid}.export-select-label select,.export-input-label select,.export-input-label input{box-sizing:border-box;border:1px solid var(--line-strong);background-color:var(--surface-solid);width:100%;color:var(--text-primary);font:inherit;outline:none;font-weight:500}.export-select-label select,.export-input-label select{appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.5 6 6 10.5 1.5' stroke='%235e6975' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat}:root[data-theme=dark] .export-select-label select,:root[data-theme=dark] .export-input-label select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.5 6 6 10.5 1.5' stroke='%23a39b93' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.export-select-label select:focus,.export-input-label select:focus,.export-input-label input:focus{border-color:var(--focus);box-shadow:0 0 0 3px color-mix(in srgb, var(--focus) 18%, transparent)}.export-scope-grid{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.export-choice-card{border:1px solid var(--line);background:var(--surface-solid);min-width:0;color:var(--text-primary);cursor:pointer;text-align:left;transition:border-color .15s,background .15s,transform .15s;display:grid}.export-choice-card:hover:not(:disabled){border-color:color-mix(in srgb, var(--accent) 48%, var(--line));transform:translateY(-1px)}.export-choice-card.selected{border-color:var(--accent);background:color-mix(in srgb, var(--accent-soft) 66%, var(--surface-solid));box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent)}.export-choice-card:disabled{cursor:not-allowed;opacity:.48}.export-choice-card>span:last-child{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.export-choice-kicker{color:var(--accent);letter-spacing:.08em;text-transform:uppercase;font-weight:750}.export-appearance-row{flex-wrap:wrap;align-items:center;display:flex}.export-segmented{border:1px solid var(--line);background:var(--surface-solid);display:inline-flex}.export-segmented button{color:var(--muted);cursor:pointer;background:0 0;border:none;font-weight:650}.export-check-row{color:var(--text-primary);cursor:pointer;align-items:center;font-weight:550;display:inline-flex}.export-check-row input{accent-color:var(--accent)}.export-advanced{overflow:hidden}.export-advanced summary{color:var(--text-primary);cursor:pointer;justify-content:space-between;align-items:center;gap:12px;font-weight:750;list-style:none;display:flex}.export-advanced summary::-webkit-details-marker{display:none}.export-advanced summary:before{border-top:5px solid #0000;border-bottom:5px solid #0000;border-left:6px solid var(--muted);content:"";width:0;height:0;margin-right:2px;transition:transform .15s}.export-advanced[open] summary:before{transform:rotate(90deg)}.export-advanced summary>span:first-of-type{margin-right:auto}.export-advanced-summary{color:var(--muted);font-weight:500}.export-advanced-grid{border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.export-input-with-suffix{position:relative}.export-input-with-suffix input[readonly]{color:var(--muted);cursor:default}.export-input-with-suffix b{color:var(--muted);pointer-events:none;font-weight:550;position:absolute;top:50%;transform:translateY(-50%)}.export-advanced-checks{flex-wrap:wrap;display:flex}.export-dialog-footer{justify-content:space-between;align-items:center;display:flex}.export-dimension-note{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.export-dimension-note strong{color:var(--text-primary);font-weight:700}.export-status-dot{background:var(--success);border-radius:50%;width:6px;height:6px;margin:0 5px 1px 0;display:inline-block}.export-dialog-footer .modal-actions{flex:none}.export-menu .primary-button.caret{border-left:1px solid #ffffff40;border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px;padding-inline:10px}.export-menu .primary-button:not(.caret){border-top-right-radius:0;border-bottom-right-radius:0}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0c11196b;place-items:center;padding:32px;display:grid;position:fixed;inset:0}.modal-dialog{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface-elevated);max-width:calc(100vw - 48px);max-height:calc(100vh - 64px);box-shadow:var(--shadow-lg);flex-direction:column;animation:.18s panel-in;display:flex;overflow:hidden}.modal-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:20px;padding:18px 20px 14px;display:flex}.modal-header h2{letter-spacing:-.025em;margin:0;font-size:17px;font-weight:650}.modal-header p{max-width:580px;color:var(--muted);margin:5px 0 0;font-size:12px;line-height:1.45}.modal-body{min-height:0;padding:18px 20px 20px;overflow:auto}.modal-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.confirm-modal p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.recycle-bin-modal{flex-direction:column;gap:12px;display:flex}.recycle-bin-toolbar{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.recycle-bin-list{flex-direction:column;gap:8px;max-height:min(52vh,420px);display:flex;overflow:auto}.recycle-bin-item{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-elevated);grid-template-columns:112px minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:10px 12px;display:grid}.recycle-bin-preview{border:1px solid var(--line);background:var(--canvas-tint);border-radius:6px;place-items:center;width:112px;height:72px;display:grid;overflow:hidden}.recycle-bin-preview>svg{width:100%;height:100%;display:block}.recycle-bin-preview-empty{color:var(--muted);text-align:center;font-size:10px}.recycle-bin-item-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.recycle-bin-item-copy strong,.recycle-bin-item-copy span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.recycle-bin-item-copy strong{color:var(--ink);font-size:13px}.recycle-bin-item-copy span{color:var(--muted);font-size:11px}.recycle-bin-item .primary-button,.recycle-bin-item .text-button{min-height:30px;padding:0 10px;font-size:11px}.recycle-bin-empty{min-height:150px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex}.recycle-bin-empty strong{color:var(--ink);font-size:14px}.recycle-bin-empty span{max-width:300px;font-size:12px;line-height:1.5}.recycle-bin-loading,.examples-loading,.example-preview-skeleton{color:var(--muted);justify-content:center;align-items:center;gap:9px;font-size:12px;display:flex}.recycle-bin-loading{text-align:center;flex-direction:column;gap:7px;min-height:150px}.recycle-bin-loading strong{color:var(--ink);font-size:13px}.recycle-bin-loading>span:last-child{font-size:11px}.save-as-form{flex-direction:column;gap:8px;display:flex}.save-as-form label{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:11px;font-weight:700}.save-as-form input,.command-palette>input{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-solid);min-height:38px;padding:9px 11px;font-size:13px}.examples-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.examples-progress{min-height:18px;color:var(--muted);font-variant-numeric:tabular-nums;margin-bottom:10px;font-size:11px}.examples-loading{min-height:260px}.examples-empty{color:var(--muted);text-align:center;grid-column:1/-1;padding:28px 16px}.example-card{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-solid);overflow:hidden}.example-preview{background:var(--canvas-bg);place-items:center;height:190px;display:grid;overflow:hidden}.example-preview-skeleton{background:linear-gradient(110deg, transparent 22%, color-mix(in srgb, var(--surface-solid) 56%, transparent) 42%, transparent 62%), linear-gradient(var(--canvas-bg), var(--canvas-bg));background-size:220% 100%,100% 100%;flex-direction:column;width:100%;height:100%;animation:1.35s ease-in-out infinite example-preview-shimmer}.example-preview>div{width:100%;height:100%;padding:10px}.example-preview svg{background:var(--artboard);width:100%;height:100%;box-shadow:var(--shadow-sm);display:block}.example-card-content{padding:13px}.example-card-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.example-card h3,.help-content h3{margin:0;font-size:13px;font-weight:650}.example-card p,.help-content p{color:var(--muted);margin:5px 0 0;font-size:11px;line-height:1.45}.example-card .primary-button{flex:none;justify-content:center;align-items:center;gap:6px;min-width:78px;padding:7px 11px;font-size:11px;display:inline-flex}.example-tags{flex-wrap:wrap;gap:5px;margin-top:12px;display:flex}.example-tags span{border-radius:var(--radius-pill);background:var(--accent-soft);color:var(--accent);padding:3px 7px;font-size:10px}.example-prompt{border-top:1px solid var(--line);margin-top:12px;padding-top:9px}.example-prompt+.example-prompt{margin-top:9px}.example-prompt summary{cursor:pointer;color:var(--accent);font-size:11px;font-weight:650;list-style-position:inside}.example-prompt pre{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--canvas-bg);max-height:190px;color:var(--text);white-space:pre-wrap;margin:8px 0 0;padding:9px;font:10px/1.5 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;overflow:auto}.example-prompt pre.example-source{white-space:pre;max-height:260px}.help-content{flex-direction:column;gap:20px;display:flex}.help-content section{border-bottom:1px solid var(--line);padding-bottom:18px}.help-content section:last-child{border-bottom:0;padding-bottom:0}.help-content code{background:var(--surface-muted);border-radius:4px;padding:2px 4px;font:11px IBM Plex Mono,ui-monospace,monospace}.shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin-top:11px;display:grid}.shortcut-row{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:7px 0;font-size:11px;display:flex}.shortcut-row kbd,.command-list kbd{border:1px solid var(--line);background:var(--surface-solid);color:var(--ink);white-space:nowrap;border-radius:5px;padding:3px 6px;font:10px IBM Plex Mono,ui-monospace,monospace}.help-examples-callout{border-radius:var(--radius-md);background:var(--accent-soft);justify-content:space-between;align-items:center;gap:16px;padding:13px;display:flex}.help-examples-callout p{color:var(--accent)}.command-palette{flex-direction:column;gap:10px;display:flex}.command-list{flex-direction:column;gap:3px;max-height:360px;display:flex;overflow:auto}.command-list button{border-radius:var(--radius-sm);color:var(--ink);text-align:left;justify-content:space-between;align-items:center;gap:16px;padding:10px 11px;display:flex}.command-list button:hover,.command-list button.is-selected{background:var(--accent-soft);color:var(--accent)}.command-list button span{flex-direction:column;gap:3px;min-width:0;display:flex}.command-list button strong{font-size:12px;font-weight:600}.command-list button small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.command-empty{color:var(--muted);text-align:center;padding:24px 12px;font-size:12px}.confirm-dialog .modal-header{align-items:center;padding:18px 20px 15px}.confirm-dialog .modal-header h2{letter-spacing:-.02em;font-size:16px}.confirm-dialog .modal-header p{margin-top:4px;font-size:11px}.confirm-dialog .modal-header .icon-button{width:30px;height:30px;color:var(--muted);border-radius:8px;flex:0 0 30px}.confirm-dialog .modal-header .icon-button:hover{background:var(--surface-muted);color:var(--ink)}.confirm-dialog .modal-header .icon-button:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 68%, transparent);outline-offset:2px}.confirm-dialog .modal-body{padding:18px 20px 20px}.confirm-dialog .confirm-modal p{color:var(--ink);font-size:13px;font-weight:500}.confirm-dialog .modal-actions-spread{justify-content:flex-end;align-items:center;gap:8px;margin-top:20px;display:flex}.confirm-dialog .modal-actions-spread button{white-space:nowrap;border-radius:9px;width:auto;min-height:36px;padding:0 13px;font-size:12px;font-weight:650;line-height:1}.confirm-dialog .modal-actions-spread .text-button{color:var(--muted)}.confirm-dialog .modal-actions-spread .text-button:hover{background:var(--surface-muted);color:var(--ink)}.confirm-dialog .modal-actions-spread .danger-button{border:1px solid color-mix(in srgb, var(--danger) 32%, var(--line));color:var(--danger);background:0 0}.confirm-dialog .modal-actions-spread .danger-button:hover{border-color:color-mix(in srgb, var(--danger) 52%, var(--line));background:var(--danger-soft)}.confirm-dialog .modal-actions-spread .primary-button{min-width:112px;box-shadow:0 2px 6px color-mix(in srgb, var(--accent) 22%, transparent)}.confirm-dialog .modal-actions-spread .primary-button:hover{filter:brightness(1.04)}.export-dialog{border-color:color-mix(in srgb, var(--line-strong) 70%, var(--line));background:var(--surface);border-radius:16px;max-height:min(760px,100vh - 28px);width:min(720px,100vw - 32px)!important}.export-dialog .modal-header{background:var(--surface-elevated);padding:15px 18px 11px}.export-dialog .modal-header h2{letter-spacing:-.03em;font-size:18px}.export-dialog .modal-header p{margin-top:3px;font-size:11px}.export-dialog .modal-header .icon-button{border-radius:8px;width:30px;height:30px}.export-dialog .modal-header .icon-button:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 68%, transparent);outline-offset:2px}.export-dialog .modal-body{background:var(--surface);scrollbar-gutter:stable;padding:10px 12px 12px}.export-dialog-form{gap:8px}.export-dialog-section,.export-advanced{border-color:color-mix(in srgb, var(--line-strong) 72%, var(--line));background:var(--surface-elevated);border-radius:11px}.export-dialog-section{gap:9px;padding:11px 12px}.export-section-heading{gap:10px}.export-section-heading h3{font-size:12px}.export-section-heading p{margin-top:3px;font-size:10px;line-height:1.35}.export-file-extension{padding:3px 7px;font-size:9px}.export-select-label,.export-input-label{gap:5px;font-size:10px}.export-select-label select,.export-input-label select,.export-input-label input{border-radius:8px;min-height:32px;font-size:11px}.export-input-label input{padding:6px 9px}.export-select-label select,.export-input-label select{background-position:right 12px center;background-size:9px 6px;padding:6px 36px 6px 9px}.export-dialog .export-select-label select:focus,.export-dialog .export-input-label select:focus,.export-dialog .export-input-label input:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent)}.export-scope-grid{gap:8px}.export-choice-card{border-radius:9px;gap:3px;min-height:66px;padding:10px 11px}.export-choice-card strong{font-size:12px}.export-choice-card>span:last-child{font-size:9px}.export-choice-kicker{font-size:8px}.export-appearance-row{gap:8px 12px}.export-segmented{border-radius:8px;padding:2px}.export-segmented button{border-radius:6px;min-width:56px;padding:6px 9px;font-size:10px}.export-segmented button.selected{background:var(--accent);color:var(--surface)}.export-check-row{gap:6px;font-size:10px}.export-check-row input{width:14px;height:14px}.export-advanced summary{padding:10px 12px;font-size:12px}.export-advanced summary:before{border-width:4px 4px 4px 5px}.export-advanced-summary{font-size:9px}.export-advanced-grid{gap:9px;padding:0 12px 11px}.export-advanced-grid .export-input-label{padding-top:10px}.export-input-with-suffix input{padding-right:28px}.export-input-with-suffix b{font-size:9px;right:9px}.export-advanced-checks{gap:12px;padding:0 12px 11px}.export-dialog-footer{gap:10px;padding:2px 2px 0}.export-dimension-note{font-size:9px}.export-dialog-footer .modal-actions{gap:6px;margin-top:0}.export-dialog-footer .modal-actions .text-button,.export-dialog-footer .modal-actions .primary-button{border-radius:9px;min-height:34px;padding:0 12px;font-size:11px}.export-dialog-footer .modal-actions .primary-button{background:var(--accent);color:var(--surface)}.export-dialog-footer .modal-actions .primary-button:hover{background:color-mix(in srgb, var(--accent) 86%, var(--ink))}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (width<=900px){body{min-width:0}.floating-panel.drawer-sheet{max-width:none;left:12px;right:12px;width:auto!important}.floating-panel.inspector-sheet{left:12px;right:12px;width:auto!important}.tool-dock{flex-direction:row;justify-content:center;top:auto;bottom:52px}.floating-panel.drawer-sheet,.floating-panel.inspector-sheet,.floating-panel.edge-sheet{border-left:0;left:0;right:0;width:100%!important}}@media (prefers-reduced-motion:reduce){.connector-drag-preview,.connector-drag-cursor{stroke-dasharray:none;animation:none}}@media (width<=1119px){.floating-panel.drawer-sheet{left:48px}.floating-panel.inspector-sheet{right:0}}@media (width<=900px){html,body,#root{min-width:900px}.floating-panel.drawer-sheet{right:auto;left:var(--tool-rail-width);border-right:1px solid var(--line);border-left:0;width:min(100%,420px)!important}.floating-panel.drawer-sheet.edge-sheet,.floating-panel.inspector-sheet{border-left:1px solid var(--line);left:auto;right:0;width:min(100%,420px)!important}}@media (prefers-reduced-motion:reduce){.status-capsule,.callout,.toast,.selection-outline-halo,.selection-outline{animation:none}}@media (width<=900px){.auto-fix-button span:not(.loading-spinner),.snap-toggle span{display:none}}@media (prefers-reduced-motion:reduce){.hover-outline,.hover-edge,.hover-edge-badge{animation:none}.bend-handle-halo,.bend-handle,.segment-handle,.layer-actions button.layer-lock-toggle,.layer-actions button.layer-visibility-toggle{transition:none}.loading-spinner,.example-preview-skeleton{animation:none}}@media (width<=1050px){.floating-topbar .brand-name{display:none}.topbar-left{gap:5px}.examples-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.workspace-tab-new-tooltip{transition:none}}@media (width<=900px){.privacy-footer{bottom:8px;left:calc(var(--tool-rail-width) + 8px);max-width:min(390px, calc(100vw - var(--tool-rail-width) - 16px));justify-content:flex-start}.privacy-footer-message{overflow:hidden}.privacy-footer-message>span{text-overflow:ellipsis;overflow:hidden}.floating-panel.edge-sheet{width:min(100%,420px)!important}}@media (width<=520px){.edge-panel-intro,.edge-panel-section,.edge-panel-footer{padding-left:16px;padding-right:16px}.edge-style-option{min-height:78px}}@media (width>=701px) and (height>=700px){.export-dialog .modal-body{padding:8px 10px 10px;overflow:hidden}.export-dialog-form{gap:6px}.export-dialog-section{gap:6px;padding:8px 10px}.export-choice-card{min-height:58px;padding:8px 10px}.export-dialog:has(.export-advanced[open]) .modal-body{overflow:auto}}@media (height<=699px),(width<=700px){.export-dialog .modal-body{overflow:auto}}@media (width<=700px){.export-dialog .modal-body{padding:8px}.export-scope-grid{grid-template-columns:1fr}.export-appearance-row,.export-dialog-footer{flex-direction:column;align-items:flex-start}.export-dialog-footer,.export-dialog-footer .modal-actions{width:100%}.export-dialog-footer .modal-actions{justify-content:flex-end}}@media (width<=900px){.tool-dock{top:auto;bottom:52px}}
