@import"https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Sora:wght@400;500;600&display=swap";@layer components;@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;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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;--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,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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;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:where(:not(iframe)){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 utilities{.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.block{display:block}.contents{display:contents}.flex{display:flex}.inline{display:inline}.table{display:table}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.border{border-style:var(--tw-border-style);border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--bg0:#0b1220;--bg1:#122033;--ink:#e8eef7;--muted:#93a4bc;--teal:#14b8a6;--teal-deep:#0f766e;--danger:#e11d48;--panel:#122033db;--line:#94a3b847;--radius:14px;color:var(--ink);background:var(--bg0);font-family:Sora,system-ui,sans-serif;line-height:1.45}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:radial-gradient(1000px 600px at 10% -10%,#14b8a62e,transparent 55%),radial-gradient(800px 500px at 100% 0%,#1d4ed829,transparent 50%),linear-gradient(160deg,var(--bg0),var(--bg1) 55%,#0a1628);min-height:100dvh}a{color:var(--teal);text-decoration:none}.brand{letter-spacing:-.02em;color:var(--ink);margin:0;font-family:Fraunces,Georgia,serif;font-size:1.65rem;font-weight:700}h1{letter-spacing:-.02em;margin:.2rem 0 .5rem;font-family:Fraunces,Georgia,serif;font-size:clamp(1.6rem,4vw,2.2rem);font-weight:700}.lede{color:var(--muted);max-width:36rem;margin:0 0 1.25rem}.muted{color:var(--muted)}.btn{font:inherit;cursor:pointer;color:var(--ink);background:0 0;border:1px solid #0000;border-radius:999px;padding:.7rem 1.15rem;font-weight:500}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.primary{color:#ecfeff;background:linear-gradient(135deg,#0d9488,#0f766e)}.btn.secondary{border-color:var(--line);background:#94a3b824}.btn.ghost{border-color:var(--line);background:#0f172a59}.btn.sm{padding:.4rem .75rem;font-size:.85rem}.btn.wide{width:100%}.btn.danger{color:#fecdd3;background:#e11d4826;border-color:#e11d4873}.danger-text{color:#fda4af!important}.field{gap:.35rem;margin-bottom:.9rem;display:grid}.field span{color:var(--muted);font-size:.85rem}.field input{border:1px solid var(--line);width:100%;color:var(--ink);font:inherit;background:#0208178c;border-radius:12px;padding:.75rem .9rem}.password-field{display:grid;position:relative}.password-field input{padding-right:4.25rem}.password-toggle{color:var(--teal);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:.35rem .55rem;font-size:.85rem;font-weight:500;position:absolute;top:50%;right:.45rem;transform:translateY(-50%)}.password-toggle:hover{background:#14b8a61f}.form-error{color:#fda4af;margin:0 0 .75rem}.form-error.padded,.muted.padded,.padded{padding:1rem 1.25rem}.auth-page{place-items:center;min-height:100dvh;padding:1.5rem;display:grid}.auth-panel{background:var(--panel);border:1px solid var(--line);border-radius:calc(var(--radius) + 4px);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);width:min(420px,100%);padding:1.6rem 1.4rem 1.4rem}.auth-form{margin-top:1rem}.auth-switch{color:var(--muted);margin:1rem 0 0;font-size:.92rem}.library-page{max-width:720px;margin:0 auto;padding:1.25rem 1.1rem 3rem}.library-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.75rem;display:flex}.user-line{color:var(--muted);margin:.15rem 0 0;font-size:.9rem}.library-hero{margin-bottom:1.5rem}.map-list{gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.map-item{border-radius:var(--radius);border:1px solid var(--line);background:#0f172a73;grid-template-columns:1fr auto;align-items:center;gap:.5rem;padding:.9rem 1rem;display:grid}.map-link{color:inherit;gap:.2rem;min-width:0;display:grid}.map-title{font-weight:600}.map-meta{color:var(--muted);font-size:.82rem}.map-actions{gap:.35rem;display:flex}.empty{text-align:center;border:1px dashed var(--line);border-radius:var(--radius);padding:2rem 1rem}.editor-page{grid-template-rows:auto 1fr;height:100dvh;display:grid;position:relative;overflow:hidden}.editor-page:has(.connect-banner){grid-template-rows:auto auto 1fr}.editor-bar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:2;background:#0b1220e0;align-items:center;gap:.75rem;padding:.65rem .85rem;display:flex}.editor-title{white-space:nowrap;text-overflow:ellipsis;flex:1;margin:0;font-family:Sora,sans-serif;font-size:1rem;font-weight:600;overflow:hidden}.save-pill{color:var(--muted);white-space:nowrap;font-size:.78rem}.mindmap-stage{touch-action:none;background:radial-gradient(circle at 20% 20%,#14b8a614,#0000 40%),linear-gradient(#0f172a33,#0000);position:relative;overflow:hidden}.mindmap-svg{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.mindmap-svg:active{cursor:grabbing}.mindmap-edge{stroke:#94a3b88c;stroke-width:2px}.stack-border{fill:#14b8a612;stroke:#5eead4a6;stroke-width:2px}.stack-border.is-active{fill:#14b8a624;stroke:#5eead4;stroke-width:2.5px}.connect-line{stroke:#5eead4;stroke-width:2.5px;stroke-linecap:round;opacity:.95}.connect-arrowhead{fill:#5eead4;stroke:#5eead4;stroke-width:1px;stroke-linejoin:round}.mindmap-stage.is-connecting{outline-offset:-2px;outline:2px solid #5eead459}.mindmap-node.is-connect-source rect{stroke:#fbbf24;stroke-width:3px}.connect-banner{color:#ecfeff;white-space:nowrap;z-index:2;background:#0f766e8c;border-bottom:1px solid #5eead459;flex:none;justify-content:space-between;align-items:center;gap:.5rem;height:2.25rem;min-height:2.25rem;max-height:2.25rem;padding:0 .75rem;font-size:.8rem;line-height:1;display:flex;overflow:hidden}.connect-banner>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.connect-banner .btn{flex-shrink:0;padding:.25rem .55rem;font-size:.75rem}.block-menu{left:50%;bottom:calc(1rem + env(safe-area-inset-bottom));z-index:3;border:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0b1220d1;border-radius:999px;flex-wrap:wrap;justify-content:center;gap:.45rem;max-width:calc(100% - 1.5rem);padding:.45rem;display:flex;position:absolute;transform:translate(-50%)}.mindmap-node{cursor:pointer}.mindmap-node.is-selected rect{stroke:#5eead4;stroke-width:3px}.fab-row .btn.fab{min-width:4.6rem;padding-left:.85rem;padding-right:.85rem}.mindmap-label{fill:#f8fafc;pointer-events:none;-webkit-user-select:none;user-select:none;font-family:Sora,sans-serif;font-size:13px;font-weight:500}.fab-row{right:1rem;bottom:calc(1rem + env(safe-area-inset-bottom));z-index:3;gap:.55rem;display:flex;position:absolute}.btn.fab{min-width:5.5rem;box-shadow:0 10px 30px #00000059}.sheet-backdrop{z-index:20;background:#0206178c;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{border:1px solid var(--line);background:#122033;border-bottom:none;border-radius:18px 18px 0 0;width:100%;max-width:560px;margin:0 auto;padding:.75rem 1.1rem 1.25rem;animation:.18s ease-out rise}@keyframes rise{0%{opacity:.6;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}.sheet-handle{background:#94a3b873;border-radius:999px;width:42px;height:4px;margin:.2rem auto 1rem}.color-row{flex-wrap:wrap;gap:.5rem;display:flex}.swatch{cursor:pointer;border:2px solid #0000;border-radius:999px;width:2rem;height:2rem}.swatch.is-active{border-color:#f8fafc}.sheet-actions{justify-content:flex-end;gap:.5rem;margin-top:.75rem;display:flex}@media(min-width:768px){.sheet{border-bottom:1px solid var(--line);border-radius:18px;margin-bottom:1.5rem}}@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}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
