@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.06d3mdzz5bre_.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/7178b3e590c64307-s.11.cyxs5p-0z~.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.16t1db8_9y2o~.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/4fa387ec64143e14-s.0q3udbd2bu5yp.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/bbc41e54d2fcbd21-s.0gw~uztddq1df.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.0.q-h669a_dqa.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 theme{:root,:host{--font-sans:var(--font-geist-sans);--spacing:.25rem;--default-font-family:var(--font-geist-sans);--default-mono-font-family:var(--font-geist-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{.start{inset-inline-start:var(--spacing)}.flex{display:flex}.h-full{height:100%}.min-h-full{min-height:100%}.flex-col{flex-direction:column}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}}:root{--node-radius:16px;--modal-overlay:#0006;--font-sans:var(--font-geist-sans);--font-mono:var(--font-geist-mono)}:root,.theme-light{--background:#fafbfc;--foreground:#1a1a2e;--dot-color:#d4d4d8;--edge-color:#a1a1aa;--issue-bg:#fffbeb;--issue-border:#f59e0b;--issue-glow:#f59e0b26;--why-color-1:#6366f1;--why-color-2:#8b5cf6;--why-color-3:#ec4899;--why-color-4:#f97316;--why-color-5:#14b8a6;--node-bg:#fff;--node-border:#e4e4e7;--node-shadow:0 4px 24px #0000000f, 0 1px 4px #0000000a}.theme-dark{--background:#0f0f1a;--foreground:#e4e4e7;--dot-color:#27272a;--edge-color:#52525b;--issue-bg:#1c1917;--issue-border:#d97706;--issue-glow:#d977061f;--why-color-1:#818cf8;--why-color-2:#a78bfa;--why-color-3:#f472b6;--why-color-4:#fb923c;--why-color-5:#2dd4bf;--node-bg:#18181b;--node-border:#27272a;--node-shadow:0 4px 24px #0000004d, 0 1px 4px #0003}.theme-ocean{--background:#0c1929;--foreground:#cbd5e1;--dot-color:#1e3a5f;--edge-color:#475569;--issue-bg:#0f2942;--issue-border:#0ea5e9;--issue-glow:#0ea5e926;--why-color-1:#38bdf8;--why-color-2:#22d3ee;--why-color-3:#a78bfa;--why-color-4:#34d399;--why-color-5:#fb923c;--node-bg:#0f2640;--node-border:#1e3a5f;--node-shadow:0 4px 24px #00000059, 0 1px 4px #0003}.theme-rose{--background:#fdf2f4;--foreground:#4a2030;--dot-color:#f0d0d8;--edge-color:#c9a0ae;--issue-bg:#fff1f3;--issue-border:#f43f5e;--issue-glow:#f43f5e1f;--why-color-1:#e11d48;--why-color-2:#db2777;--why-color-3:#a855f7;--why-color-4:#f97316;--why-color-5:#0d9488;--node-bg:#fff;--node-border:#f0d0d8;--node-shadow:0 4px 24px #a03c5a14, 0 1px 4px #a03c5a0a}*{box-sizing:border-box}body{background:var(--background);color:var(--foreground);font-family:var(--font-sans), system-ui, sans-serif;margin:0;overflow:hidden}.canvas-container{flex-direction:column;width:100vw;height:100vh;display:flex;position:relative}.canvas-header{z-index:10;pointer-events:none;background:linear-gradient(to bottom, var(--background) 60%, transparent);justify-content:space-between;align-items:center;padding:16px 24px;display:flex;position:absolute;top:0;left:0;right:0}.canvas-header>*{pointer-events:auto}.logo-area{align-items:center;gap:10px;display:flex}.logo-icon{font-size:24px;animation:3s ease-in-out infinite gentle-bounce}@keyframes gentle-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}.logo-text{letter-spacing:-.5px;background:linear-gradient(135deg, var(--why-color-1), var(--why-color-3));-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;font-size:20px;font-weight:700}.header-stats{gap:8px;display:flex}.stat-badge{color:var(--edge-color);background:var(--node-bg);border:1px solid var(--node-border);border-radius:999px;padding:4px 12px;font-size:13px;font-weight:500}.reset-btn{color:var(--foreground);background:var(--node-bg);border:1px solid var(--node-border);cursor:pointer;font-size:14px;font-weight:600;font-family:var(--font-sans), system-ui, sans-serif;border-radius:12px;align-items:center;gap:6px;padding:8px 16px;transition:all .2s;display:flex;box-shadow:0 1px 3px #0000000a}.reset-btn:hover:not(:disabled){color:#ef4444;border-color:#ef4444;transform:translateY(-1px);box-shadow:0 2px 8px #ef44441f}.reset-btn:disabled{opacity:.4;cursor:default}.reset-icon{font-size:16px;transition:transform .3s;display:inline-block}.reset-btn:hover:not(:disabled) .reset-icon{transform:rotate(-180deg)}.header-btn{color:var(--foreground);background:var(--node-bg);border:1px solid var(--node-border);cursor:pointer;font-size:14px;font-weight:600;font-family:var(--font-sans), system-ui, sans-serif;border-radius:12px;align-items:center;gap:6px;padding:8px 16px;transition:all .2s;display:flex;box-shadow:0 1px 3px #0000000a}.header-btn:disabled{opacity:.4;cursor:default}.header-btn-icon{font-size:15px;font-weight:700;transition:transform .25s cubic-bezier(.34,1.56,.64,1);display:inline-block}.save-btn:hover:not(:disabled){border-color:var(--why-color-1);color:var(--why-color-1);box-shadow:0 2px 8px var(--why-color-1)}@supports (color:color-mix(in lab, red, red)){.save-btn:hover:not(:disabled){box-shadow:0 2px 8px color-mix(in srgb, var(--why-color-1) 15%, transparent)}}.save-btn:hover:not(:disabled){transform:translateY(-1px)}.save-btn:hover:not(:disabled) .header-btn-icon{transform:translateY(2px)}.load-btn:hover{border-color:var(--why-color-5);color:var(--why-color-5);box-shadow:0 2px 8px var(--why-color-5)}@supports (color:color-mix(in lab, red, red)){.load-btn:hover{box-shadow:0 2px 8px color-mix(in srgb, var(--why-color-5) 15%, transparent)}}.load-btn:hover{transform:translateY(-1px)}.load-btn:hover .header-btn-icon{transform:translateY(-2px)}.hidden-file-input{display:none}.five-whys-flow{flex:1}.react-flow__edge-path{stroke:var(--edge-color)!important;stroke-width:2px!important}.node-handle{background:var(--edge-color)!important;border:2px solid var(--node-bg)!important;width:8px!important;height:8px!important}.flow-controls{overflow:hidden;box-shadow:var(--node-shadow)!important;border:1px solid var(--node-border)!important;border-radius:12px!important}.flow-controls button{background:var(--node-bg)!important;color:var(--foreground)!important;border-color:var(--node-border)!important;width:32px!important;height:32px!important}.flow-controls button:hover{background:var(--background)!important}.flow-controls button svg{fill:var(--foreground)!important}.issue-node{background:var(--issue-bg);border:2px solid var(--issue-border);border-radius:var(--node-radius);width:280px;box-shadow:var(--node-shadow), 0 0 0 4px var(--issue-glow);pointer-events:all;padding:16px;transition:box-shadow .3s,transform .2s;position:relative}.issue-node:hover{box-shadow:var(--node-shadow), 0 0 0 6px var(--issue-glow);transform:translateY(-1px)}.why-node{background:var(--node-bg);border:2px solid var(--accent,var(--node-border));border-radius:var(--node-radius);width:280px;box-shadow:var(--node-shadow);pointer-events:all;padding:16px;transition:box-shadow .3s,transform .2s,border-color .3s;position:relative}.why-node:hover{transform:translateY(-1px);box-shadow:0 8px 32px #0000001a,0 2px 8px #0000000f}.node-header{align-items:center;gap:8px;margin-bottom:10px;display:flex}.node-icon{font-size:18px}.node-title{text-transform:uppercase;letter-spacing:.5px;color:var(--foreground);font-size:14px;font-weight:700}.why-title{color:var(--accent,var(--foreground))}.depth-badge{color:var(--accent);background:var(--accent);margin-left:auto;font-size:11px;font-weight:600}@supports (color:color-mix(in lab, red, red)){.depth-badge{background:color-mix(in srgb, var(--accent) 10%, transparent)}}.depth-badge{border-radius:999px;padding:2px 8px}.node-input{border:1.5px solid var(--node-border);width:100%;font-size:14px;font-family:var(--font-sans), system-ui, sans-serif;color:var(--foreground);resize:none;background:0 0;border-radius:10px;outline:none;max-height:200px;padding:10px 12px;line-height:1.5;transition:border-color .2s,box-shadow .2s;overflow-y:hidden}.node-input:focus{overflow-y:auto}.node-input::placeholder{color:var(--edge-color)}.node-input:focus{border-color:var(--accent,var(--issue-border));box-shadow:0 0 0 3px var(--accent,var(--issue-border))}@supports (color:color-mix(in lab, red, red)){.node-input:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--accent,var(--issue-border)) 12%, transparent)}}.add-why-btn{background:var(--node-bg);border:2px solid var(--accent,var(--issue-border));width:28px;height:28px;color:var(--accent,var(--issue-border));cursor:pointer;z-index:5;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:16px;font-weight:800;line-height:1;transition:all .25s cubic-bezier(.34,1.56,.64,1);display:flex;position:absolute;bottom:-14px;left:50%;transform:translate(-50%)}.add-why-btn:hover{background:var(--accent,var(--issue-border));color:#fff;box-shadow:0 4px 16px var(--accent,var(--issue-border));transform:translate(-50%)scale(1.3)}@supports (color:color-mix(in lab, red, red)){.add-why-btn:hover{box-shadow:0 4px 16px color-mix(in srgb, var(--accent,var(--issue-border)) 30%, transparent)}}.add-why-btn:active{transform:translate(-50%)scale(1.1)}.add-why-icon{font-family:var(--font-sans), system-ui, sans-serif}.remove-btn{background:var(--node-bg);border:1.5px solid var(--node-border);width:24px;height:24px;color:var(--edge-color);cursor:pointer;opacity:0;z-index:5;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:16px;line-height:1;transition:all .2s;display:flex;position:absolute;top:-10px;right:-10px}.why-node:hover .remove-btn{opacity:1}.remove-btn:hover{color:#fff;background:#ef4444;border-color:#ef4444;transform:scale(1.15)}@keyframes pop-in{0%{opacity:0;transform:scale(.3)translateY(-20px)}50%{opacity:1;transform:scale(1.08)translateY(0)}70%{transform:scale(.96)}to{transform:scale(1)}}.node-pop-in .issue-node,.node-pop-in .why-node{animation:.45s cubic-bezier(.34,1.56,.64,1) forwards pop-in}.modal-overlay{background:var(--modal-overlay);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;justify-content:center;align-items:center;animation:.2s fade-in;display:flex;position:fixed;inset:0}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.modal-content{background:var(--node-bg);border:1px solid var(--node-border);text-align:center;border-radius:20px;width:90%;max-width:380px;padding:32px;animation:.3s cubic-bezier(.34,1.56,.64,1) modal-pop;box-shadow:0 24px 64px #00000026}@keyframes modal-pop{0%{opacity:0;transform:scale(.85)translateY(10px)}to{opacity:1;transform:scale(1)translateY(0)}}.modal-icon{margin-bottom:12px;font-size:40px}.modal-title{color:var(--foreground);margin:0 0 8px;font-size:20px;font-weight:700}.modal-text{color:var(--edge-color);margin:0 0 24px;font-size:14px;line-height:1.5}.modal-actions{justify-content:center;gap:12px;display:flex}.modal-btn{cursor:pointer;font-size:14px;font-weight:600;font-family:var(--font-sans), system-ui, sans-serif;border:none;border-radius:12px;padding:10px 20px;transition:all .2s}.modal-btn-cancel{background:var(--background);color:var(--foreground);border:1px solid var(--node-border)}.modal-btn-cancel:hover{background:var(--node-border)}.modal-btn-confirm{color:#fff;background:#ef4444}.modal-btn-confirm:hover{background:#dc2626;transform:translateY(-1px);box-shadow:0 4px 12px #ef44444d}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--node-border);border-radius:3px}.header-right{align-items:center;gap:10px;display:flex}.theme-switcher{position:relative}.theme-switcher-btn{background:var(--node-bg);border:1px solid var(--node-border);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;width:38px;height:38px;padding:0;font-size:18px;transition:all .2s;display:flex;box-shadow:0 1px 3px #0000000a}.theme-switcher-btn:hover{border-color:var(--edge-color);transform:translateY(-1px);box-shadow:0 3px 10px #00000014}.theme-switcher-emoji{line-height:1}.theme-dropdown{background:var(--node-bg);border:1px solid var(--node-border);z-index:50;border-radius:14px;min-width:180px;padding:6px;animation:.2s cubic-bezier(.34,1.56,.64,1) modal-pop;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 40px #0000001f}.theme-option{cursor:pointer;width:100%;font-size:14px;font-weight:500;font-family:var(--font-sans), system-ui, sans-serif;color:var(--foreground);background:0 0;border:none;border-radius:10px;align-items:center;gap:10px;padding:8px 12px;transition:background .15s;display:flex}.theme-option:hover{background:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.theme-option:hover{background:color-mix(in srgb, var(--foreground) 6%, transparent)}}.theme-option-active{background:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.theme-option-active{background:color-mix(in srgb, var(--foreground) 8%, transparent)}}.theme-swatch{border:2px solid var(--node-border);border-radius:50%;flex-shrink:0;width:18px;height:18px}.theme-option-active .theme-swatch{border-color:var(--issue-border);box-shadow:0 0 0 2px var(--issue-border)}@supports (color:color-mix(in lab, red, red)){.theme-option-active .theme-swatch{box-shadow:0 0 0 2px color-mix(in srgb, var(--issue-border) 25%, transparent)}}.theme-option-emoji{font-size:16px}.theme-option-label{text-align:left;flex:1}.theme-check{color:var(--issue-border);font-size:14px;font-weight:700}
