@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/fef07dbb0973bf53-s.12tyk43_3sh9u.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.0jzbimsg8vl84.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/53b9e256198e5412-s.0-wfv7uh4i7h9.woff2)format("woff2");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:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7178b3e590c64307-s.0nx0ww8fni_q3.woff2)format("woff2");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:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2)format("woff2");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:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.geist_a71539c9-module__T19VSG__className{font-family:Geist,Geist Fallback;font-style:normal}.geist_a71539c9-module__T19VSG__variable{--font-geist-sans:"Geist", "Geist Fallback"}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/5ce348bf30bf5439-s.0zgw-jeven.3w.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4fa387ec64143e14-s.0wkzw~je483f-.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/6306c77e7c8268e4-s.0rhz0arwfsn~5.woff2)format("woff2");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7d817b4c03b0c5f1-s.0l76wvqk9d84w.woff2)format("woff2");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:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/bbc41e54d2fcbd21-s.0k4k9394f2q-k.woff2)format("woff2");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:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/797e433ab948586e-s.p.08e28id.o-okb.woff2)format("woff2");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:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}.geist_mono_8d43a2aa-module__8Li5zG__className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.geist_mono_8d43a2aa-module__8Li5zG__variable{--font-geist-mono:"Geist Mono", "Geist Mono Fallback"}
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.contents{display:contents}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}}:root{--ink:#172033;--muted:#66738a;--soft-muted:#8d99ac;--border:#cbd5e1;--border-strong:#aebcd0;--shell:#f7f4ec;--panel:#f4f7fb;--canvas:#f8fafc;--white:#fff;--blue:#2563eb;--blue-hover:#1d4ed8;--blue-soft:#eaf1ff;--green:#15805c;--red:#c2414a;--red-soft:#fff0f1;--shadow:0 8px 28px #1e3a681f}*{box-sizing:border-box}html,body{min-height:100%}body{background:var(--shell);color:var(--ink);font-family:var(--font-geist-sans), "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;margin:0;overflow:hidden}button,textarea{font:inherit}button{color:inherit}button:focus-visible,textarea:focus-visible,[role=separator]:focus-visible,.canvas:focus-visible{outline-offset:-2px;outline:3px solid #2563eb6b}button:disabled{cursor:not-allowed;opacity:.42}.app-shell{background:var(--shell);min-height:100svh}.topbar{z-index:20;border-bottom:1px solid var(--border);background:#faf8f2f5;justify-content:space-between;align-items:center;height:64px;padding:0 24px;display:flex;position:relative;box-shadow:0 1px 8px #1e3a680a}.brand{letter-spacing:-.025em;align-items:center;gap:12px;font-size:22px;font-weight:760;display:flex}.brand-mark{background:var(--blue-soft);width:36px;height:36px;color:var(--blue);border:1px solid #a9bff4;border-radius:10px;place-items:center;display:grid}.privacy-note{color:#31405a;align-items:center;gap:8px;font-size:14px;font-weight:650;display:flex}.privacy-note svg{color:var(--green)}.workspace{--editor-width:35%;grid-template-columns:minmax(0, var(--editor-width)) 10px minmax(0, 1fr);background:var(--border);height:calc(100svh - 64px);min-height:520px;display:grid}.source-panel,.preview-panel{min-width:0;min-height:0}.source-panel{background:var(--panel);flex-direction:column;display:flex;overflow:hidden}.panel-heading{border-bottom:1px solid var(--border);background:#f8fafdf0;justify-content:space-between;align-items:center;min-height:58px;padding:0 18px;display:flex}.panel-title{align-items:center;gap:9px;min-width:0;display:flex}.panel-title svg{color:var(--blue);flex:none}.panel-title h1{letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:16px;font-weight:740;overflow:hidden}.text-button,.collapse-editor-button,.empty-action{color:var(--blue);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:7px;font-size:13px;font-weight:700;display:inline-flex}.text-button{border-radius:7px;min-height:36px;padding:0 8px}.text-button:hover{background:var(--blue-soft)}.editor-body{background:#f8faff;flex:1;grid-template-columns:52px minmax(0,1fr);min-height:0;display:grid}.line-numbers{color:#91a0b5;font-family:var(--font-geist-mono), "Cascadia Mono", Consolas, monospace;text-align:right;-webkit-user-select:none;user-select:none;background:#f1f5fa;border-right:1px solid #dfe6f0;padding:16px 0 60px;font-size:13px;line-height:1.72;overflow:hidden}.line-numbers span{height:1.72em;padding-right:12px;display:block}.source-input{resize:none;width:100%;height:100%;min-height:0;caret-color:var(--blue);color:#20304c;font-family:var(--font-geist-mono), "Cascadia Mono", Consolas, monospace;font-variant-ligatures:none;tab-size:2;background:0 0;border:0;outline:0;padding:16px 18px 60px;font-size:13px;line-height:1.72}.source-input::selection{background:#cfe0ff}.source-footer{border-top:1px solid var(--border);background:#fbfcfe;justify-content:space-between;align-items:center;gap:14px;min-height:76px;padding:12px 16px 12px 18px;display:flex}.editor-meta{min-width:0;color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;display:flex}.meta-separator{background:var(--border-strong);border-radius:50%;width:3px;height:3px}.dirty-badge{color:#805c0d;background:#fff4d7;border-radius:999px;padding:3px 7px;font-size:11px;font-weight:700}.render-button{color:#fff;cursor:pointer;background:linear-gradient(#3473f4 0%,#2563eb 100%);border:1px solid #1f57d5;border-radius:10px;flex:none;justify-content:center;align-items:center;gap:9px;min-height:46px;padding:0 14px 0 16px;font-size:14px;font-weight:740;transition:transform .14s,box-shadow .14s,background .14s;display:inline-flex;box-shadow:0 5px 14px #2563eb38}.render-button:hover:not(:disabled){background:linear-gradient(#2d69e9 0%,#1d4ed8 100%);transform:translateY(-1px);box-shadow:0 7px 18px #2563eb47}.render-button:active:not(:disabled){transform:translateY(0)}kbd{min-width:25px;font-family:var(--font-geist-mono), monospace;background:#ffffff24;border:1px solid #ffffff57;border-radius:5px;padding:3px 5px;font-size:10px;font-weight:600}.splitter{z-index:12;cursor:col-resize;touch-action:none;background:#e8edf4;place-items:center;width:10px;display:grid;position:relative}.splitter:after{content:"";background:0 0;transition:background .14s;position:absolute;inset:0 3px}.splitter:hover:after,.splitter:focus-visible:after{background:#b7c9ee}.splitter-grip{z-index:1;background:#fff;border:1px solid #b8c5d6;border-radius:7px;place-content:center;gap:3px;width:22px;height:48px;display:grid;position:relative;box-shadow:0 2px 7px #1e3a681a}.splitter-grip i{background:#738197;border-radius:50%;width:3px;height:3px;display:block}.preview-panel{background:var(--canvas);grid-template-rows:44px minmax(0,1fr) 44px;display:grid;position:relative;overflow:hidden}.preview-panel:fullscreen{background:var(--canvas);width:100vw;height:100vh}.preview-heading{z-index:7;background:#f9fbfef2;border-bottom:1px solid #cbd5e1d1;justify-content:space-between;align-items:center;padding:0 14px 0 16px;display:flex;position:relative}.preview-label{align-items:center;gap:9px;font-size:13px;font-weight:750;display:flex}.preview-actions{align-items:center;gap:6px;display:flex}.edit-mode-button{color:#3c4c65;cursor:pointer;background:#fff;border:1px solid #c9d6e8;border-radius:8px;align-items:center;gap:6px;min-height:32px;padding:0 10px;font-size:12px;font-weight:720;display:inline-flex}.edit-mode-button:hover:not(:disabled),.edit-mode-button.is-active{background:var(--blue-soft);color:var(--blue-hover);border-color:#8eb0f4}.diagram-type{max-width:220px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;background:#f1f5fb;border:1px solid #d3deef;border-radius:999px;padding:3px 8px;font-size:10px;font-weight:650;overflow:hidden}.collapse-editor-button{color:#4e5d73;border-radius:7px;min-height:32px;padding:0 9px}.collapse-editor-button:hover{color:var(--blue);background:#edf2f8}.show-editor-button{margin-left:-7px}.canvas{background-color:var(--canvas);cursor:default;touch-action:none;-webkit-user-select:none;user-select:none;background-image:linear-gradient(#5a70940e 1px,#0000 1px),linear-gradient(90deg,#5a70940e 1px,#0000 1px);background-position:50%;background-size:24px 24px;min-width:0;min-height:0;position:relative;overflow:hidden}.canvas.has-diagram{cursor:grab}.canvas.has-diagram:active{cursor:grabbing}.canvas-toolbar{z-index:8;max-width:calc(100% - 28px);min-height:42px;box-shadow:var(--shadow);scrollbar-width:none;background:#fffffff5;border:1px solid #b9c5d6eb;border-radius:12px;align-items:center;padding:4px;display:flex;position:absolute;top:14px;left:50%;overflow-x:auto;transform:translate(-50%)}.canvas-toolbar::-webkit-scrollbar{display:none}.toolbar-drag-handle{color:#718096;cursor:grab;touch-action:none;background:#f4f7fb;border:0;border-right:1px solid #d7dee9;border-radius:8px 3px 3px 8px;flex:none;place-items:center;width:30px;min-width:30px;min-height:34px;display:grid}.toolbar-drag-handle:hover,.toolbar-drag-handle:focus-visible{background:var(--blue-soft);color:var(--blue)}.toolbar-drag-handle:active{cursor:grabbing}.tool-button,.icon-button{color:#2c3b53;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;gap:7px;min-width:38px;min-height:34px;padding:0 10px;font-size:12px;font-weight:650;transition:background .14s,color .14s;display:inline-flex}.tool-button:hover:not(:disabled),.icon-button:hover:not(:disabled){background:var(--blue-soft);color:var(--blue-hover)}.tool-button.icon-only{width:36px;min-width:36px;padding:0}.zoom-value{color:#334155;min-width:48px;font-family:var(--font-geist-mono), monospace;text-align:center;padding:0 3px;font-size:12px}.tool-divider{background:#d7dee9;flex:none;width:1px;height:24px;margin:0 3px}.diagram-stage{pointer-events:none;transform-origin:0 0;will-change:transform;position:absolute;top:0;left:0}.diagram-stage img{pointer-events:none;width:100%;height:100%;display:block}.activity-hit-target{z-index:2;cursor:grab;pointer-events:auto;touch-action:none;background:#2563eb09;border:2px solid #2563eb3d;border-radius:7px;padding:0;display:block;position:absolute;box-shadow:inset 0 0 0 2px #ffffff80}.activity-hit-target:active{cursor:grabbing}.activity-hit-target.is-dragging{opacity:.38;border-style:dashed}.activity-hit-target.drop-before:before,.activity-hit-target.drop-after:after,.activity-hit-target.add-before:before,.activity-hit-target.add-after:after{content:"";background:#ef7d2d;border-radius:999px;height:4px;position:absolute;left:-5px;right:-5px;box-shadow:0 0 0 2px #ffffffe6}.activity-hit-target.drop-before:before{top:-7px}.activity-hit-target.drop-after:after{bottom:-7px}.activity-hit-target.add-before:before,.activity-hit-target.add-after:after{background:#18a66a;height:5px;box-shadow:0 0 0 2px #fffffff0,0 0 0 4px #18a66a33}.activity-hit-target.add-before:before{top:-8px}.activity-hit-target.add-after:after{bottom:-8px}.activity-lane-drop-preview{z-index:1;pointer-events:none;background:#18a66a21;border:3px solid #18a66ad1;place-items:start center;display:grid;position:absolute;box-shadow:inset 0 0 0 2px #ffffffb8}.activity-lane-drop-preview span{color:#fff;white-space:nowrap;background:#08794a;border-radius:999px;margin-top:8px;padding:5px 9px;font-size:11px;font-weight:800;position:sticky;top:8px;box-shadow:0 4px 12px #03392233}.activity-hit-target:hover,.activity-hit-target.is-selected{background:#2563eb1f;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb24,inset 0 0 0 2px #ffffffa6}.structure-hit-target{z-index:3;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);cursor:pointer;pointer-events:auto;touch-action:manipulation;background:#f59e0b1a;border:2px solid #b4530980;padding:0;display:block;position:absolute}.structure-hit-target.is-while{background:#10b9811a;border-color:#0596698c}.structure-hit-target:hover,.structure-hit-target.is-selected,.structure-hit-target:focus-visible{filter:drop-shadow(0 0 5px #d977066b);background:#f59e0b3d;border-color:#d97706;outline:0}.structure-hit-target.is-while:hover,.structure-hit-target.is-while.is-selected,.structure-hit-target.is-while:focus-visible{filter:drop-shadow(0 0 5px #05966961);background:#10b98138;border-color:#059669}.activity-editor-panel{z-index:12;width:min(330px,100% - 28px);max-height:calc(100% - 82px);color:var(--ink);cursor:default;touch-action:auto;-webkit-user-select:text;user-select:text;background:#fffffffa;border:1px solid #aebcd0f5;border-radius:14px;padding:14px;position:absolute;top:68px;right:14px;overflow:auto;box-shadow:0 16px 42px #1e3a6833}.activity-editor-heading{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:11px;display:flex}.activity-editor-heading>div{gap:2px;display:grid}.activity-editor-heading strong{font-size:15px}.activity-editor-heading span{color:var(--muted);font-size:11px}.activity-editor-close{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;flex:none;place-items:center;display:grid}.activity-editor-close:hover{color:var(--ink);background:#edf2f8}.activity-history-buttons,.activity-action-grid{gap:7px;display:grid}.activity-history-buttons{grid-template-columns:1fr 1fr;margin-bottom:12px}.activity-new-drag-button{color:#176346;cursor:grab;touch-action:none;background:#effaf4;border:1px dashed #70b995;border-radius:9px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;min-height:54px;margin:0 0 12px;padding:7px 9px;display:grid}.activity-new-drag-button:active,.activity-new-drag-button.is-dragging{cursor:grabbing;background:#dff6e9;border-style:solid}.activity-new-drag-button>span{text-align:left;gap:1px;min-width:0;display:grid}.activity-new-drag-button b{font-size:12px}.activity-new-drag-button small{color:#4f7d69;font-size:10px}.activity-structure-button{color:#344a6d;cursor:pointer;background:#f4f7fc;border:1px solid #bdcbe0;border-radius:9px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;width:100%;min-height:50px;margin:0 0 12px;padding:7px 10px;display:grid}.activity-structure-button:hover{color:#2458cd;background:#edf3ff;border-color:#7fa3dc}.activity-structure-button>span{text-align:left;gap:1px;display:grid}.activity-structure-button b{font-size:12px}.activity-structure-button small{color:var(--muted);font-size:10px}.activity-history-buttons .activity-diff-button{grid-column:1/-1}.activity-diff-button>span{gap:5px;margin-left:auto;font-size:10px;font-style:normal;display:inline-flex}.activity-diff-button b,.source-diff-heading b{color:#177245}.activity-diff-button em,.source-diff-heading em{color:#b23a48;font-style:normal;font-weight:700}.activity-history-buttons button,.activity-action-grid button,.activity-primary-action{color:#35445c;cursor:pointer;background:#f8fafc;border:1px solid #cfd9e7;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:0 9px;font-size:12px;font-weight:680;display:inline-flex}.activity-history-buttons button:hover:not(:disabled),.activity-action-grid button:hover:not(:disabled){background:var(--blue-soft);color:var(--blue-hover);border-color:#9db8ec}.activity-field{gap:6px;margin-bottom:11px;display:grid}.activity-field>span{color:#4c5b72;font-size:11px;font-weight:750}.activity-field select,.activity-field textarea{color:#26364f;width:100%;font:inherit;background:#fff;border:1px solid #c8d4e3;border-radius:8px;outline:0;font-size:12px}.activity-field select{min-height:38px;padding:0 9px}.activity-field textarea{resize:vertical;min-height:70px;padding:9px 10px;line-height:1.5}.activity-field select:focus,.activity-field textarea:focus{border-color:#6e9bf3;box-shadow:0 0 0 3px #2563eb21}.activity-primary-action{background:var(--blue);color:#fff;border-color:#2458cd;width:100%;margin:-3px 0 12px}.activity-primary-action:hover{background:var(--blue-hover)}.activity-action-grid{grid-template-columns:1fr 1fr}.activity-action-grid .activity-delete-action{color:#a52f39;background:#fff5f5;border-color:#efc7cb}.activity-editor-empty,.activity-edit-message,.activity-editor-note{margin:11px 0 0;font-size:11px;line-height:1.55}.activity-editor-empty,.activity-editor-note{color:var(--muted)}.activity-edit-message{color:#176346;background:#edf7f2;border-radius:7px;padding:8px 9px;font-weight:650}.source-diff-panel,.structure-editor-panel{z-index:15;min-width:0;color:var(--ink);cursor:default;-webkit-user-select:text;user-select:text;background:#fff;border:1px solid #b8c6d9;border-radius:14px;grid-template-rows:auto auto minmax(0,1fr);display:grid;position:absolute;inset:72px 368px 18px 18px;overflow:hidden;box-shadow:0 22px 60px #18305642}.structure-editor-heading{border-bottom:1px solid #dce4ef;justify-content:space-between;align-items:center;gap:14px;min-height:58px;padding:10px 13px 10px 16px;display:flex}.structure-editor-heading>div{gap:2px;display:grid}.structure-editor-heading strong{font-size:15px}.structure-editor-heading span{color:var(--muted);font-size:10px}.structure-editor-heading>button{width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;display:grid}.structure-editor-heading>button:hover{color:var(--ink);background:#edf2f8}.structure-editor-tabs{background:#f8fafc;border-bottom:1px solid #dce4ef;grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.structure-editor-tabs button{color:#65758b;cursor:pointer;background:0 0;border-top:0;border-bottom:3px solid #0000;border-left:0;border-right:1px solid #e0e7f0;min-height:42px;padding:5px 8px;font-size:11px;font-weight:700}.structure-editor-tabs button:last-child{border-right:0}.structure-editor-tabs button:hover,.structure-editor-tabs button.is-active{color:#2458cd;background:#edf3ff}.structure-editor-tabs button.is-active{border-bottom-color:#2563eb}.structure-editor-content{background:#fbfcfe;padding:18px;overflow:auto}.structure-editor-section{gap:14px;max-width:720px;margin:0 auto;display:grid}.structure-editor-section h3,.structure-editor-section p{margin:0}.structure-editor-section h3{font-size:16px}.structure-editor-section p{color:#607087;font-size:11px;line-height:1.65}.structure-field{gap:6px;display:grid}.structure-field>span{color:#4c5b72;font-size:11px;font-weight:750}.structure-field input,.structure-field select{color:#26364f;width:100%;min-height:40px;font:inherit;background:#fff;border:1px solid #c8d4e3;border-radius:8px;outline:0;padding:8px 10px;font-size:12px}.structure-field input:focus,.structure-field select:focus{border-color:#6e9bf3;box-shadow:0 0 0 3px #2563eb21}.structure-two-columns,.structure-branch-choice,.fork-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.structure-primary-action,.structure-branch-choice button,.fork-actions button,.structure-delete-actions button{color:#35445c;cursor:pointer;background:#f8fafc;border:1px solid #c5d2e3;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:7px 11px;font-size:11px;font-weight:720;display:inline-flex}.structure-delete-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.structure-delete-actions button{background:#fff;border-color:#cad5e3}.structure-delete-actions .structure-danger-action{color:#a52f39;background:#fff5f5;border-color:#efc7cb}.structure-delete-actions button:hover{background:#f4f7fb;border-color:#8fa4bf}.structure-delete-actions .structure-danger-action:hover{background:#ffe9eb;border-color:#dc7d87}.structure-safety-note{background:#f4f7fb;border-radius:8px;padding:10px 11px}.structure-primary-action{color:#fff;background:#2563eb;border-color:#2458cd}.structure-primary-action:hover:not(:disabled){background:#1749b5}.structure-branch-choice button.is-active{color:#1749b5;background:#eaf1ff;border-color:#6190ea;box-shadow:0 0 0 2px #2563eb1c}.structure-primary-action:disabled,.fork-actions button:disabled{cursor:not-allowed;opacity:.45}.control-editor-card{background:#fff;border:1px solid #d5dfeb;border-radius:11px;gap:13px;padding:14px;display:grid}.fork-branch-list{gap:7px;display:grid}.fork-branch-list button{color:#47566c;cursor:pointer;text-align:left;background:#f8fafc;border:1px solid #d1dce9;border-radius:8px;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:9px;min-height:42px;padding:7px 10px;display:grid}.fork-branch-list button.is-active{color:#1749b5;background:#eaf1ff;border-color:#6190ea}.fork-branch-list button span{text-overflow:ellipsis;white-space:nowrap;font:11px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow:hidden}.fork-actions .is-danger{color:#a52f39;background:#fff5f5;border-color:#efc7cb}.structure-empty{text-align:center;background:#f8fafc;border:1px dashed #c6d2e0;border-radius:10px;padding:22px}.source-diff-heading{border-bottom:1px solid #dce4ef;justify-content:space-between;align-items:center;gap:14px;min-height:55px;padding:10px 13px 10px 16px;display:flex}.source-diff-heading>div{align-items:center;gap:13px;min-width:0;display:flex}.source-diff-heading strong{font-size:14px}.source-diff-heading span{gap:8px;font-size:11px;display:inline-flex}.source-diff-heading button{width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;display:grid}.source-diff-heading button:hover{color:var(--ink);background:#edf2f8}.source-diff-legend{min-height:34px;color:var(--muted);background:#f8fafc;border-bottom:1px solid #e4eaf2;align-items:center;gap:13px;padding:6px 16px;font-size:10px;display:flex}.source-diff-legend .is-removed{color:#a83241;font-weight:700}.source-diff-legend .is-added{color:#146a3e;font-weight:700}.source-diff-content{background:#fbfcfe;outline:0;padding:8px 0;overflow:auto}.source-diff-line{border-left:3px solid #0000;grid-template-columns:24px 48px 48px minmax(420px,1fr);align-items:stretch;min-width:max-content;min-height:25px;font:12px/1.65 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;display:grid}.source-diff-line.is-added{background:#eaf8ef;border-left-color:#31a468}.source-diff-line.is-removed{background:#fff0f1;border-left-color:#d65b68}.source-diff-marker,.source-diff-line-number{color:#8a99ad;-webkit-user-select:none;user-select:none;place-items:center;display:grid}.source-diff-line.is-added .source-diff-marker{color:#177245;font-weight:800}.source-diff-line.is-removed .source-diff-marker{color:#b23a48;font-weight:800}.source-diff-line-number{border-right:1px solid #b1bed073;font-size:10px}.source-diff-line code{white-space:pre;padding:2px 12px}.source-diff-skip{color:#74849a;background:#f1f5f9;border-top:1px dashed #ccd6e4;border-bottom:1px dashed #ccd6e4;padding:5px 16px 5px 123px;font-size:10px;font-weight:650}.lane-guide{z-index:7;pointer-events:none;height:34px;position:absolute;top:64px;left:0;right:0;overflow:hidden}.lane-guide-segment{color:#334155;letter-spacing:.01em;white-space:nowrap;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);border:1px solid #7485a047;justify-content:center;align-items:center;min-width:0;height:32px;font-size:11px;font-weight:720;display:flex;position:absolute;top:0;overflow:hidden;box-shadow:0 4px 14px #1e3a6817}.lane-guide-segment span{text-overflow:ellipsis;padding:0 8px;overflow:hidden}.lane-guide-segment.is-primary{z-index:1;color:#163b85;border-color:#2563eb7a;font-weight:800;box-shadow:0 5px 16px #2563eb24}.lane-color-0{background:#dbeafeeb}.lane-color-1{background:#dcfce7eb}.lane-color-2{background:#fef3c7eb}.lane-color-3{background:#f3e8ffeb}.lane-color-4{background:#ffe4e6eb}.lane-color-5{background:#cffafeeb}.empty-state{width:min(430px,100% - 40px);color:var(--muted);text-align:center;flex-direction:column;align-items:center;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-47%)}.empty-icon{width:56px;height:56px;color:var(--blue);background:linear-gradient(145deg,#f7faff,#e7efff);border:1px solid #bdcff6;border-radius:16px;place-items:center;margin-bottom:16px;display:grid;box-shadow:0 8px 24px #2563eb1f}.empty-state h2{color:#26344c;letter-spacing:-.02em;margin:0;font-size:19px}.empty-state p{margin:9px 0 18px;font-size:13px;line-height:1.75}.empty-action{background:#ffffffe0;border:1px solid #b7c9ee;border-radius:9px;min-height:40px;padding:0 14px;box-shadow:0 3px 10px #1e3a6812}.empty-action:hover{background:#fff;border-color:#8caaf0}.error-card{z-index:7;cursor:default;-webkit-user-select:text;user-select:text;background:#fffcfcfa;border:1px solid #e2a8ad;border-radius:14px;flex-direction:column;width:min(820px,100% - 48px);min-width:0;min-height:0;margin:0 auto;display:flex;position:absolute;inset:72px 24px 24px;overflow:hidden;box-shadow:0 12px 36px #7b2c3424}.error-card-heading{background:var(--red-soft);border-bottom:1px solid #f0cbd0;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;display:flex}.error-card-title{align-items:flex-start;gap:11px;min-width:0;display:flex}.error-card-icon{width:36px;height:36px;color:var(--red);background:#fff;border:1px solid #e6adb3;border-radius:9px;flex:none;place-items:center;display:grid}.error-card h2{color:#8c2732;letter-spacing:-.01em;margin:0;font-size:15px}.error-card p{color:#84575d;margin:4px 0 0;font-size:11px;line-height:1.55}.copy-error-button{color:#9f2f3b;cursor:pointer;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #d9969e;border-radius:9px;flex:none;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 12px;font-size:12px;font-weight:740;display:inline-flex}.copy-error-button:hover{background:#fff7f8;border-color:#c96e79}.limit-recovery{-webkit-user-select:text;user-select:text;background:#fff9f1;border-bottom:1px solid #f0cbd0;padding:14px 18px 15px}.limit-recovery-copy h3{color:#7c4b0c;letter-spacing:-.01em;margin:0;font-size:14px}.limit-recovery-copy p,.limit-help,.limit-input-error{color:#765f3e;margin:4px 0 0;font-size:11px;line-height:1.55}.limit-recovery-controls{align-items:center;gap:9px;margin-top:11px;display:flex}.limit-recovery-controls label{color:#5d4a30;flex:none;font-size:12px;font-weight:720}.limit-input-wrap{background:#fff;border:1px solid #d6b57f;border-radius:8px;align-items:center;height:38px;display:flex;overflow:hidden}.limit-input-wrap:focus-within{border-color:#9c6b1d;box-shadow:0 0 0 3px #b47c2226}.limit-input-wrap input{color:#3f321f;width:104px;height:100%;font-family:var(--font-geist-mono), monospace;background:0 0;border:0;outline:0;padding:0 4px 0 10px;font-size:13px;font-weight:700}.limit-input-wrap span{color:#76684f;padding:0 9px 0 2px;font-size:11px}.raise-limit-button{color:#fff;cursor:pointer;background:#9a6514;border:1px solid #a66d14;border-radius:8px;min-height:38px;padding:0 13px;font-size:12px;font-weight:740}.raise-limit-button:hover{background:#7f520e}.limit-input-error{color:#a12f3c;font-weight:700}.error-details{color:#40282b;cursor:text;min-height:0;font-family:var(--font-geist-mono), "Cascadia Mono", Consolas, monospace;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;touch-action:pan-x pan-y;-webkit-user-select:text;user-select:text;background:#fff;flex:1;margin:0;padding:18px;font-size:12px;line-height:1.72;overflow:auto}.render-overlay{z-index:9;color:#26344c;text-align:center;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#f7fafdc7;flex-direction:column;justify-content:center;align-items:center;gap:10px;font-size:14px;font-weight:700;display:flex;position:absolute;inset:0}.render-overlay svg{color:var(--blue)}.render-overlay small{color:var(--muted);font-size:11px;font-weight:500}.preview-footer{z-index:7;background:#f9fbfef2;border-top:1px solid #cbd5e1db;justify-content:space-between;align-items:center;gap:16px;padding:0 15px;display:flex;position:relative}.status-message,.canvas-hints,.canvas-hints span{align-items:center;min-width:0;display:flex}.status-message{color:var(--muted);white-space:nowrap;gap:7px;font-size:11px;overflow:hidden}.status-message span{text-overflow:ellipsis;overflow:hidden}.status-success{color:var(--green)}.status-error{color:var(--red);font-weight:650}.status-loading{color:var(--blue)}.canvas-hints{color:#78869a;flex:none;gap:15px;font-size:10px}.canvas-hints span{gap:4px}.editor-collapsed{grid-template-columns:0 0 minmax(0,1fr)}.editor-collapsed .source-panel,.editor-collapsed .splitter{visibility:hidden}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:1080px){.tool-button span{display:none}.tool-button{width:38px;padding:0}.canvas-hints span:last-child,.render-button kbd{display:none}}@media (max-width:760px){body{overflow:auto}.topbar{height:56px;padding:0 14px;position:sticky;top:0}.brand{gap:9px;font-size:17px}.brand-mark{border-radius:8px;width:32px;height:32px}.privacy-note span{display:none}.workspace,.editor-collapsed{background:var(--border);flex-direction:column;height:auto;min-height:calc(100svh - 56px);display:flex}.source-panel{flex:none;height:43svh;min-height:330px}.editor-collapsed .source-panel{display:none}.panel-heading{min-height:50px;padding:0 12px}.editor-body{grid-template-columns:43px minmax(0,1fr)}.source-input,.line-numbers{padding-top:12px;font-size:12px}.source-input{padding-left:12px;padding-right:12px}.line-numbers span{padding-right:9px}.source-footer{min-height:66px;padding:9px 10px 9px 12px}.render-button{min-height:44px;padding:0 13px}.splitter{display:none}.preview-panel{flex:none;grid-template-rows:40px minmax(0,1fr) 40px;height:70svh;min-height:500px}.preview-heading{padding:0 10px}.edit-mode-button{padding:0 8px;font-size:11px}.collapse-editor-button{min-height:34px}.canvas-toolbar{max-width:calc(100% - 20px);top:10px;left:10px;transform:none}.activity-editor-panel{width:min(340px,100% - 20px);max-height:calc(100% - 72px);top:62px;right:10px}.source-diff-panel,.structure-editor-panel{inset:62px 10px 10px}.structure-editor-tabs{grid-template-columns:1fr 1fr}.structure-editor-tabs button:nth-child(2){border-right:0}.structure-editor-content{padding:14px}.structure-two-columns,.structure-branch-choice,.structure-delete-actions,.fork-actions{grid-template-columns:1fr}.source-diff-heading>div{flex-direction:column;align-items:flex-start;gap:2px}.source-diff-legend span:last-child{display:none}.source-diff-line{grid-template-columns:20px 36px 36px minmax(300px,1fr)}.source-diff-skip{padding-left:95px}.tool-button,.tool-button.icon-only{width:40px;min-width:40px;min-height:38px}.toolbar-drag-handle{width:34px;min-width:34px;min-height:38px}.zoom-value{min-width:45px}.error-card{width:calc(100% - 20px);inset:62px 10px 10px}.error-card-heading{flex-direction:column;align-items:stretch;gap:11px;padding:13px}.copy-error-button{min-height:42px}.limit-recovery{padding:13px}.limit-recovery-controls{flex-wrap:wrap;align-items:stretch}.limit-recovery-controls label{width:100%}.limit-input-wrap{flex:130px}.limit-input-wrap input{width:100%}.raise-limit-button{flex:180px;min-height:42px}.error-details{padding:14px;font-size:11px}.preview-footer{padding:0 11px}.canvas-hints,.desktop-only{display:none}}@media (max-width:420px){.editor-meta span:nth-child(2),.editor-meta span:nth-child(3){display:none}.collapse-editor-button{font-size:0}.collapse-editor-button svg{width:18px;height:18px}.diagram-type{max-width:120px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (forced-colors:active){button,.canvas-toolbar,.splitter-grip,.brand-mark{border:1px solid buttontext}.canvas:focus-visible,button:focus-visible,textarea:focus-visible,[role=separator]:focus-visible{outline:3px solid highlight}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}
