:root{color:#32263b;font-synthesis:none;--accent:#8d67b6;--muted:#826e90;--border:#d6bddc;--rose:#f9dfda;--sage:#e1ebdc;--sand:#f4e9cf;--sky:#dcebf0;--lavender:#eadbf6;background:#fffaf1;font-family:Trebuchet MS,Avenir Next,ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;font-size:13px;font-weight:600;display:inline-flex}button:disabled{opacity:.45;cursor:default}button,input,textarea,select{transition:border-color .15s,background-color .15s,box-shadow .15s}button:focus-visible,[role=button]:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #a191ad}input,textarea,select{color:#32263b;background:#fff;border:1px solid #dcd5e1;border-radius:7px;width:100%;min-width:0;padding:11px 12px;font-size:13px}textarea{resize:vertical;line-height:1.6}input:focus,textarea:focus,select:focus{border-color:#9381a0;outline:none;box-shadow:0 0 0 3px #92809e15}input:disabled,textarea:disabled{background:#f3f0f5}label{margin:0 0 8px;font-size:12px;font-weight:600;display:block}h1,h2,h3,p{margin-top:0}p{line-height:1.6}.primary{background:var(--accent);color:#fff;padding:12px 18px;box-shadow:0 2px 3px #32263b10}.primary:hover:not(:disabled){background:#3d294c}.secondary{border:1px solid var(--border);background:#fff;padding:10px 12px}.secondary:hover:not(:disabled){background:#f4eff7}.quiet{color:#70607c;padding:9px 12px}.quiet:hover{background:#ebe5f0}.icon-button{flex-shrink:0;width:32px;height:32px;padding:5px}.icon-button:hover:not(:disabled){background:#ede7f2}.text-button{color:var(--accent);justify-content:flex-start;padding:9px 0;font-size:12px}.text-button:hover{color:#23162c}.eyebrow{letter-spacing:.16em;color:#887695;font-size:10px;font-weight:700;line-height:1.5;display:block}.muted{color:var(--muted)}.error{color:#92443a;overflow-wrap:anywhere;background:#fff0ec;border:1px solid #eed3c9;border-radius:8px;padding:12px 16px;font-size:13px}.reverse{transform:rotate(180deg)}.rose{--node-color:var(--rose);--node-border:#dca9a2}.sage{--node-color:var(--sage);--node-border:#adc3a4}.sand{--node-color:var(--sand);--node-border:#d7c38f}.sky{--node-color:var(--sky);--node-border:#a7c6d2}.lavender{--node-color:var(--lavender);--node-border:#c2add6}.login-page{background-image:radial-gradient(#d0c7d780 .7px,#0000 .7px);background-size:22px 22px;flex-direction:column;align-items:center;min-height:100dvh;padding:52px 24px 30px;display:flex}.login-brand,.brand{color:var(--accent);letter-spacing:-.04em;align-items:center;gap:10px;font-size:24px;font-weight:700;text-decoration:none;display:flex}.login-card{border:1px solid var(--border);background:#fff9ed;border-radius:16px;width:min(100%,444px);margin:34px 0;padding:42px;box-shadow:0 10px 50px #3f304a10}.login-card h1{letter-spacing:-.04em;margin:20px 0;font-family:Cooper Black,Bookman Old Style,Georgia,serif;font-size:41px;font-weight:700;line-height:1.14}.login-card>p{color:var(--muted);font-size:13px}.login-card form{margin-top:28px}.password-field{position:relative}.password-field>svg,.password-field>img{color:#8e7c9a;position:absolute;top:13px;left:13px}.password-field input{padding-left:41px}.login-card .primary{justify-content:space-between;width:100%;margin-top:12px}.login-note{justify-content:center;align-items:center;gap:6px;margin:22px 0 0;display:flex;font-size:10px!important}.site-nav{border-bottom:1px solid var(--border);background:#fff9ed;align-items:center;gap:22px;height:78px;padding:0 max(32px,50vw - 600px);display:flex}.library{max-width:1200px;margin:0 auto;padding:52px 32px 28px}.library-heading{justify-content:space-between;align-items:center;gap:24px;display:flex}.library-heading h1{letter-spacing:-.035em;margin:12px 0;font-family:Cooper Black,Bookman Old Style,Georgia,serif;font-size:clamp(32px,4vw,46px);font-weight:700}.library-heading p{color:var(--muted);margin:0;font-size:14px}.library-heading .primary{flex-shrink:0}.library-bar{border-top:1px solid var(--border);align-items:center;gap:14px;margin:36px 0 26px;padding-top:22px;display:flex}.library-count{color:#816e8f;align-items:center;gap:9px;font-size:12px;display:flex}.search-field{width:230px;margin-left:auto;position:relative}.search-field svg{color:#9e8fa9;position:absolute;top:11px;left:12px}.search-field input{background:#fff9ed;padding-left:37px;font-size:12px}.chart-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;display:grid}.chart-card{border:1px solid var(--border);background:#fff9ed;border-radius:12px;transition:box-shadow .2s,transform .2s;overflow:hidden}.chart-open{text-align:left;border-radius:0;width:100%;padding:0;font-weight:400;display:block}.chart-art{background:#efe9f3;border-bottom:1px solid #e5dfe9;padding:10px 0;position:relative}.chart-art:before{content:"";opacity:.65;background-image:radial-gradient(#c8bed0 .7px,#0000 .7px);background-size:13px 13px;position:absolute;inset:0}.tree-preview{width:100%;height:168px;position:relative}.chart-card-body{padding:22px 22px 16px}.chart-card h2{overflow-wrap:anywhere;margin-bottom:8px;font-family:Cooper Black,Bookman Old Style,Georgia,serif;font-size:24px;font-weight:700}.chart-card-body>p{color:#8a7897;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:38px;margin-bottom:22px;font-size:12px;font-weight:400;display:-webkit-box;overflow:hidden}.chart-meta{color:#877594;justify-content:space-between;gap:8px;font-size:10px;display:flex}.chart-meta span{align-items:center;gap:5px;display:flex}.chart-card-footer{color:#8f7e9b;border-top:1px solid #ece6f0;justify-content:flex-end;align-items:center;padding:7px 16px 7px 22px;font-size:10px;display:flex}.chart-card-footer .icon-button:hover{color:#b06f5d}.new-chart-card{color:#8e7c9b;background:#f2edf6;border:1px dashed #ccbfd5;border-radius:12px;flex-direction:column;gap:12px;min-height:336px;padding:32px}.new-chart-card:hover{background:#ece4f2}.new-chart-card strong{color:#6b5b77;font-family:Cooper Black,Bookman Old Style,Georgia,serif;font-size:21px;font-weight:400}.plus-circle{background:#e8dfee;border:1px solid #dacee2;border-radius:50%;place-items:center;width:48px;height:48px;margin-bottom:5px;display:grid}.library-empty{text-align:center;background:#f0eaf580;border:1px dashed #d4c8dd;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;min-height:430px;padding:34px;display:flex}.empty-illustration{width:300px;max-width:100%;margin-bottom:18px}.library-empty h2{margin:12px 0;font-family:Cooper Black,Bookman Old Style,Georgia,serif;font-size:27px;font-weight:400}.library-empty p{color:#8e7c9a;margin-bottom:25px;font-size:13px}.app-error{max-width:1100px;margin:0 auto}.create-dialog{border:1px solid var(--border);color:#32263b;background:#fff9ed;border-radius:15px;width:min(460px,100vw - 32px);padding:36px;box-shadow:0 20px 80px #271b3033}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#30233966}.dialog-close{position:absolute;top:14px;right:14px}.create-dialog h2{margin:15px 0 10px;font-family:Cooper Black,Bookman Old Style,Georgia,serif;font-size:32px;font-weight:400}.create-dialog p{color:var(--muted);font-size:13px}.create-dialog form{margin-top:26px}.create-dialog .primary{width:100%;margin-top:20px}.editor-page{background:#f9f7fb;flex-direction:column;height:100dvh;display:flex;overflow:hidden}.editor-header{border-bottom:1px solid var(--border);background:#fff9ed;flex-shrink:0;align-items:center;gap:18px;min-height:82px;padding:14px 24px;display:flex}.back-button{color:#826f90;white-space:nowrap;padding:8px 10px 8px 0;font-size:12px}.editor-brand{border-left:1px solid var(--border);color:#735e82;padding-left:16px}.chart-title{flex:1;min-width:0}.chart-title h1,.chart-title input{letter-spacing:-.02em;margin:0;font-family:Cooper Black,Bookman Old Style,Georgia,serif;font-size:22px;font-weight:400}.chart-title input{background:0 0;border:1px solid #0000;height:31px;margin-left:-6px;padding:1px 5px}.chart-title input:hover{border-color:var(--border)}.chart-title h1{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chart-title>span{color:#9686a2;align-items:center;gap:13px;margin-top:4px;font-size:10px;display:flex}.save-state{align-items:center;gap:5px;display:inline-flex}.save-state:before{content:"";background:#9b80af;border-radius:50%;width:5px;height:5px}.save-state.unsaved{color:#ae8d53}.save-state.unsaved:before{background:#cfaf73}.editor-actions{align-items:center;gap:8px;display:flex}.save-button{padding:9px 13px;font-size:12px}.mode-toggle{background:#f1ecf4;border:1px solid #e0dae5;border-radius:9px;gap:3px;margin-left:5px;padding:4px;display:flex}.mode-toggle button{color:#8e7d9b;border-radius:6px;padding:8px 12px;font-size:12px}.mode-toggle .active{color:#553d67;background:#fff9ed;box-shadow:0 1px 4px #32263b14}.editor-workspace{flex:1;min-width:0;min-height:0;display:flex}.editor-error{border-radius:0;flex-shrink:0;justify-content:space-between;align-items:center;gap:15px;margin:0;display:flex}.editor-error>div{align-items:center;gap:15px;display:flex}.canvas-shell{flex:1;min-width:0;min-height:0;position:relative;overflow:hidden}.canvas{overscroll-behavior:none;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background-color:#fffaf1;background-image:none;background-size:20px 20px;width:100%;height:100%;position:relative;overflow:hidden}.canvas.panning,.canvas.panning .taxon-card{cursor:grabbing;-webkit-user-select:none;user-select:none}.tree-stage{transform-origin:0 0;will-change:transform;position:absolute;top:0;left:0}.tree-connections{pointer-events:none;position:absolute;inset:0}.taxon-card{cursor:pointer;background:#fff9ed;border:1.5px solid #857292;border-radius:7px;padding:9px;position:absolute;overflow:hidden;box-shadow:0 3px 6px #31243b10}.taxon-label{background:var(--node-color);border:1px solid var(--node-border);border-radius:4px;padding:8px 12px}.taxon-label>span{letter-spacing:.12em;text-transform:uppercase;color:#786d67;margin-bottom:5px;font-size:9px;display:block}.taxon-label h3{letter-spacing:-.02em;-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:0;font-size:20px;font-weight:500;line-height:1.2;display:-webkit-box;overflow:hidden}.group-node{border-color:var(--node-border);background:var(--node-color);padding:8px}.group-node .taxon-label{border:0;padding:8px 12px}.taxon-content{align-items:flex-start;gap:10px;padding:12px 3px 3px;display:flex}.taxon-content ul{flex:1;min-width:0;margin:0;padding-left:13px;font-size:12px;line-height:18px;list-style:outside}.taxon-content li{overflow-wrap:anywhere;margin-bottom:7px;padding-left:1px}.taxon-content.has-photo ul{width:50%}.taxon-photo{border-radius:3px;flex-shrink:0;width:170px;height:120px;overflow:hidden}.taxon-photo img{object-fit:contain;width:100%;height:100%}.photo-placeholder{color:#b2a5bb;background:#f0ebf3;flex-direction:column;justify-content:center;align-items:center;gap:10px;height:100%;font-size:9px;display:flex}.node-edit-hint{opacity:0;color:#675078;background:#fff9ede0;border-radius:4px;padding:4px;position:absolute;top:8px;right:8px}.taxon-card:hover .node-edit-hint,.taxon-card.selected .node-edit-hint{opacity:1}.canvas-controls{border:1px solid var(--border);background:#fff9edf2;border-radius:9px;align-items:center;gap:6px;padding:5px;display:flex;position:absolute;bottom:22px;left:24px;box-shadow:0 2px 8px #32263b0a}.canvas-controls>span{text-align:center;color:#847191;min-width:36px;font-size:11px}.canvas-controls .control-divider{background:var(--border);width:1px;min-width:0;height:20px;margin:0 3px}.canvas-controls .icon-button{font-size:19px}.inspector{border-left:1px solid var(--border);background:#fff9ed;flex-direction:column;flex-shrink:0;width:320px;min-height:0;display:flex}.inspector-heading{border-bottom:1px solid #e6dfeb;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:22px 22px 18px;display:flex}.inspector-heading h2{overflow-wrap:anywhere;margin:5px 0 0;font-family:Cooper Black,Bookman Old Style,Georgia,serif;font-size:22px;font-weight:400}.inspector-heading .eyebrow{font-size:8px}.inspector-body{border:0;min-width:0;margin:0;padding:22px;overflow:auto}.inspector-body>label{margin-top:18px}.inspector-body>label:first-child{margin-top:0}.inspector-body input,.inspector-body textarea,.inspector-body select{background:#fbfafc;font-size:12px}.color-options{gap:10px;display:flex}.color-swatch{border:1px solid var(--node-border);background:var(--node-color);border-radius:50%;width:26px;height:26px;font-size:12px}.color-swatch.chosen{outline-offset:3px;outline:2px solid #887397}.inspector-section{border-top:1px solid #e8e2ec;margin-top:24px;padding-top:20px}.inspector-section h3{margin-bottom:8px;font-size:12px;font-weight:700}.section-title{justify-content:space-between;align-items:center;display:flex}.section-title>span{color:#a496ae;font-size:9px}.field-help{color:#a294ac;margin-bottom:12px;font-size:10px;line-height:1.5}.bullet-fields{flex-direction:column;gap:8px;display:flex}.bullet-field{align-items:flex-start;gap:6px;display:flex}.bullet-dot{color:#9b86aa;padding-top:10px}.bullet-field textarea{flex:1;padding:8px;font-size:11px}.bullet-tools{flex-direction:column;display:flex}.bullet-tools .icon-button{color:#a193ab;width:22px;height:25px}.upload-placeholder{color:#a999b4;background:#f5f0f8;border:1px dashed #d7ccdf;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:10px;height:112px;margin-bottom:10px;font-size:10px;display:flex}.upload-button{border:1px solid var(--border);color:#7a638b;cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:10px;font-size:11px;display:flex;position:relative;overflow:hidden}.upload-button:hover{background:#f3edf7}.upload-button input{opacity:0;cursor:pointer;position:absolute;inset:0}.upload-button:focus-within{outline-offset:2px;outline:3px solid #a191ad}.inspector-photo{height:160px;margin-bottom:10px;position:relative}.inspector-photo img{object-fit:contain;background:#eee8f3;border-radius:7px;width:100%;height:100%}.inspector-photo button{background:#fff9ede0;position:absolute;top:6px;right:6px}.branch-actions{gap:7px;margin-top:10px;display:flex}.branch-actions>button{flex:1;padding:9px;font-size:10px}.reorder{margin-top:13px}.inspector-section>label{margin-top:12px}.danger{color:#b07465}.danger:hover{color:#914637}.chart-settings{border-top:1px solid var(--border);margin-top:24px;padding-top:18px;font-size:12px}.chart-settings summary{color:#8b7898;cursor:pointer;margin-bottom:16px}.inspector-prompt{text-align:center;color:#9686a2;justify-content:center;align-items:center;padding:26px}.inspector-prompt h2{color:#5d486c;margin:18px 0 10px;font-family:Cooper Black,Bookman Old Style,Georgia,serif;font-size:24px;font-weight:400}.inspector-prompt p{font-size:12px}.study-notes figure{margin:22px 0}.study-notes figure img{border-radius:7px;width:100%}.study-notes figcaption{color:#9b8ba6;margin-top:8px;font-size:10px;line-height:1.5}.rank-tag{border:1px solid var(--node-border);background:var(--node-color);border-radius:5px;padding:6px 10px;font-size:11px;display:inline-block}.study-notes h3{margin-top:24px;font-size:12px}.study-notes ul{padding-left:16px;font-size:12px;line-height:1.7}.study-notes li{overflow-wrap:anywhere;margin-bottom:9px}.study-notes>p{font-size:12px}.study-lineage{border-top:1px solid var(--border);margin-top:24px;padding-top:20px}.study-lineage p{margin-top:8px;font-family:Cooper Black,Bookman Old Style,Georgia,serif;font-size:20px}@media (width<=1050px){.chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-header{gap:12px;padding:12px 16px}.editor-brand{display:none}.inspector{width:290px}}@media (width<=700px){.site-nav{height:65px;padding:0 20px}.library{padding:34px 20px 24px}.library-heading{flex-direction:column;align-items:flex-start;gap:20px}.library-bar{flex-wrap:wrap;margin-top:24px}.library-count{width:100%}.search-field{flex:1;width:auto;margin-left:0}.chart-grid{grid-template-columns:1fr}.new-chart-card{min-height:180px}.login-card{padding:30px}.login-card h1{font-size:36px}.editor-header{flex-wrap:wrap;gap:9px;min-height:110px;padding:10px 14px}.back-button span{display:none}.chart-title{flex-basis:calc(100% - 50px)}.chart-title h1,.chart-title input{font-size:20px}.editor-actions{justify-content:flex-end;width:100%}.mode-toggle{margin-left:auto}.export-button{margin-right:auto}.editor-workspace{flex-direction:column}.canvas-shell{min-height:180px}.inspector{border-left:0;border-top:1px solid var(--border);width:100%;height:42%;min-height:180px}.inspector-heading{padding:12px 20px}.inspector-heading h2{font-size:19px}.inspector-body{padding:18px 20px}.inspector-prompt{display:none}.canvas-controls{bottom:14px;left:14px}.editor-error{padding:8px 14px;font-size:11px}.editor-error>div{gap:5px}.tree-preview{height:160px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}.ancestor-list{border-left:1px solid var(--border);margin:12px 0 0;list-style:none;padding:0!important}.ancestor-list li{margin-bottom:6px;padding-left:16px;position:relative}.ancestor-list li:before{content:"";background:var(--border);width:10px;height:1px;position:absolute;top:16px;left:0}.ancestor-list button{text-align:left;color:var(--accent);overflow-wrap:anywhere;max-width:100%;padding:7px 9px;font-size:13px;font-weight:500;display:block}.ancestor-list button:hover{background:#f1eaf8}.delete-target-name{border:1px solid var(--border);overflow-wrap:anywhere;white-space:pre-wrap;background:#f3edf9;border-radius:7px;padding:12px;font-weight:600}.delete-dialog-actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.delete-confirm{color:#fff;background:#a04e61;padding:11px 16px}.delete-confirm:hover:not(:disabled){background:#843b4c}.app-shell:not(:has(.editor-page)){max-width:1160px;box-shadow:none;background:#fffaf1;border:0;border-radius:0;margin:38px auto;overflow:hidden}.site-nav{background:#fff9ed;border-bottom:0;justify-content:center;height:90px;padding:20px}.brand,.login-brand{color:#56415d;letter-spacing:-.035em;font-family:Cooper Black,Bookman Old Style,Georgia,serif;font-size:28px;font-weight:700}.library{padding-top:18px;padding-bottom:0}.library-heading h1{color:#51434f;font-weight:700}.library-bar{border-top-color:#e7d7df;margin-top:25px}.primary{color:#fff;text-shadow:0 1px #6e468850;background:#a684ca;border:2px solid #8d67b6;border-radius:13px;padding:10px 18px;box-shadow:0 3px #755290}.primary:hover:not(:disabled){background:#9470ba;box-shadow:0 2px #755290}.secondary{color:#76548b;background:#fff9ed;border:1.5px solid #bc9dcb;border-radius:11px}button:active:not(:disabled){transform:translateY(1px)}input,textarea,select{background:#fffcf5;border-color:#ddc7df;border-radius:10px}input::placeholder,textarea::placeholder{color:#a78dae}.chart-card{border:2px solid #dbc4df;border-radius:15px;box-shadow:0 4px #ebdaeb}.chart-card:hover{transform:translateY(-2px);box-shadow:0 6px #e6d1e8}.chart-art{background:#fff5e7;border-color:#dfcde5}.chart-art:before{opacity:.35}.chart-card h2{color:#564452;font-size:23px;font-weight:700}.new-chart-card,.library-empty{background:#fcf3ef;border:2px dashed #d2b4de;border-radius:15px}.new-chart-card strong,.library-empty h2{color:#71517e;font-weight:700}.plus-circle{background:#e7d3f0;border:1.5px solid #bda0cb}.bug-friends{pointer-events:none;width:100%;height:auto;display:block;overflow:hidden}.login-page{background:#fffaf1;justify-content:center;padding:30px 24px}.login-brand{margin-bottom:12px}.login-card{background:#fff9ed;border:2px solid #fff4e2;border-radius:8px;width:min(100%,620px);margin:18px 0;padding:36px 60px 0;overflow:hidden;box-shadow:0 12px 40px #a881ac18}.login-card h1{text-align:center;color:#51434f;letter-spacing:-.04em;font-size:clamp(27px,4vw,36px);font-weight:700}.login-card form{max-width:340px;margin:26px auto 0}.login-card .primary{justify-content:center;gap:16px}.login-card .login-note{color:#907795;margin-bottom:28px}.login-card .bug-friends{width:calc(100% + 48px);max-width:none;margin:10px -24px -3px}.create-dialog{background:#fff9ed;border:2px solid #d9bdde;border-radius:16px;box-shadow:0 7px #c9aacf,0 25px 70px #73527c35}.create-dialog h2{color:#55414f;font-weight:700}.editor-header{background:#fff9ed;border-bottom:2px solid #e5cfe7}.chart-title h1,.chart-title input{color:#55414f;font-weight:700}.mode-toggle{background:#efe0f5;border:1.5px solid #cdb2d8;border-radius:13px}.mode-toggle .active{color:#76548b;background:#fff9ed;border-radius:9px}.taxon-card{border:2px solid #b49bbc;border-radius:12px;box-shadow:0 3px #d8c3de70}.taxon-card:hover{border-color:#8f6ea0;box-shadow:0 4px #d8c3de}.taxon-card.selected{outline-offset:4px;outline:2px solid #a17abb}.taxon-label{border-radius:8px}.taxon-label h3{font-family:Cooper Black,Bookman Old Style,Georgia,serif;font-size:20px;font-weight:700}.group-node{border-color:var(--node-border)}.taxon-photo{border-radius:8px}.canvas-controls{background:#fff9ed;border:1.5px solid #cdb2d8;border-radius:14px;box-shadow:0 3px #dfcbe5}.inspector{background:#fff9ed;border-left:2px solid #dfc5e2}.inspector-heading h2{font-weight:700}.editing-card{cursor:default;background:#fff9ed;padding:9px;overflow:visible}.inline-taxon{-webkit-user-select:text;user-select:text}.inline-title{padding:8px 28px 8px 9px;position:relative}.inline-title input{color:#51414f;background:0 0;border:1px solid #0000;border-radius:4px;padding:1px 3px;font-family:Cooper Black,Bookman Old Style,Georgia,serif;font-size:20px;font-weight:700;line-height:1.3}.inline-title input:hover,.inline-title input:focus{box-shadow:none;background:#fff9ed90;border-color:#ad8bbc}.inline-title>span{margin-left:4px}.inline-done{color:#8d6ca1;width:24px;height:24px;position:absolute;top:6px;right:2px}.inline-card-content{align-items:flex-start;gap:9px;padding:12px 2px 5px;display:flex}.inline-notes{flex:1;min-width:0}.inline-bullet{align-items:flex-start;gap:2px;margin-bottom:6px;display:flex}.inline-bullet>span{color:#9a78ae;padding-top:3px;font-size:12px}.inline-bullet textarea{resize:none;min-width:0;box-shadow:none;background:0 0;border:1px solid #0000;border-radius:4px;flex:1;padding:2px;font-size:12px;line-height:18px;overflow:hidden}.inline-bullet textarea:hover,.inline-bullet textarea:focus{background:#fffcf5;border-color:#d7bcdf}.inline-bullet .icon-button{color:#b093b7;width:16px;height:23px;padding:1px}.inline-new-bullet{color:#9a78ae;justify-content:flex-start;gap:3px;padding:5px 0;font-size:10px}.inline-photo{cursor:pointer;background:#f0e3f5;border:1px dashed #c4a8d0;border-radius:8px;flex-shrink:0;width:160px;height:112px;margin:0;position:relative;overflow:hidden}.inline-photo>img{object-fit:contain;width:100%;height:100%}.inline-photo>span:not(.photo-edit-overlay){color:#a284b2;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:100%;font-size:10px;font-weight:400;display:flex}.inline-photo input{opacity:0;cursor:pointer;padding:0;position:absolute;inset:0}.inline-photo:focus-within{outline-offset:3px;outline:3px solid #b792ce}.photo-edit-overlay{pointer-events:none;color:#87609f;background:#fff9ede0;border-radius:5px;padding:4px;position:absolute;bottom:4px;right:4px}.branch-add-markers{pointer-events:none;position:absolute}.branch-plus{pointer-events:auto;z-index:3;color:#9a70b6;background:#fff9ed;border:1.5px solid #bf9cd4;border-radius:50%;width:26px;height:26px;padding:0;font-size:19px;font-weight:500;position:absolute;box-shadow:0 2px #e1cbea}.branch-plus:hover:not(:disabled){color:#6f448c;background:#eadaf5;border-color:#9a70b6}@media (width<=1200px){.app-shell:not(:has(.editor-page)){margin:24px}}@media (width<=700px){.app-shell:not(:has(.editor-page)){margin:14px}.site-nav{height:70px}.library-heading{flex-direction:row;align-items:center}.library-heading h1{font-size:32px}.library-heading .primary{padding:9px 13px;font-size:12px}.login-card{padding:24px 26px 0}.login-card h1{font-size:28px}.login-card .bug-friends{width:calc(100% + 32px);margin:16px -16px -3px}}.card-drag-handle{z-index:4;color:#a180b3;cursor:grab;touch-action:none;background:#fff9edcc;border-radius:5px;width:20px;height:24px;padding:0;font-size:21px;line-height:1;position:absolute;top:14px;right:36px}.card-drag-handle:active{cursor:grabbing}.inline-title{padding-right:51px}.reordering-card{z-index:10;opacity:.85;cursor:grabbing;box-shadow:0 12px 24px #70517b33}.sibling-drop-line{z-index:9;pointer-events:none;background:#a275be;border-radius:4px;height:3px;position:absolute;box-shadow:0 0 0 3px #fff9edcc}.inline-card-footer{justify-content:space-between;align-items:center;gap:12px;padding:12px 2px 4px;display:flex}.inline-card-footer .icon-button{width:24px;height:24px}.canvas-pattern{pointer-events:none;background-repeat:repeat;position:absolute;inset:0}.bugtree-icon{object-fit:contain;flex-shrink:0}@media (width<=400px){.canvas-controls{gap:2px;left:8px}.canvas-controls .icon-button{width:28px}}@media (width<=420px){.canvas-controls{flex-wrap:wrap;max-width:calc(100% - 28px)}}.flashcards{background:#fffaf1;flex-direction:column;flex:1;align-items:center;min-width:0;padding:28px 24px 36px;display:flex;overflow:auto}.flashcards-bar{color:#8b7697;justify-content:space-between;align-items:center;width:min(100%,620px);font-size:12px;display:flex}.flashcards-progress{background:#eee1f3;border-radius:3px;flex-shrink:0;width:min(100%,620px);height:4px;margin:8px 0 24px;overflow:hidden}.flashcards-progress span{background:#b08bca;border-radius:3px;height:100%;transition:width .2s;display:block}.flashcard{background:#fff9ed;border:2px solid #dbc4df;border-radius:18px;flex-direction:column;flex-shrink:0;width:min(100%,620px);padding:16px;display:flex;box-shadow:0 5px #e6d2ea}.flashcard:hover{border-color:#b996cc}.flashcard-image{background:#fff;border-radius:11px;justify-content:center;align-items:center;width:100%;height:clamp(180px,44vh,430px);display:flex;overflow:hidden}.flashcard-image img{object-fit:contain;-webkit-user-select:none;user-select:none;width:100%;height:100%}.flashcard-details{text-align:left;overflow-wrap:anywhere;width:100%;margin:18px 0 0;padding:0 14px 0 30px;font-size:15px;font-weight:400;line-height:1.5}.flashcard-details li+li{margin-top:6px}.flashcard-missing{color:#b29ac0;flex-direction:column;align-items:center;gap:12px;font-weight:400;display:flex}.flashcard-answer{justify-content:center;align-items:center;width:100%;min-height:92px;padding:18px 12px 6px;display:flex}.flashcard-answer>span{color:#a18aad;font-size:13px;font-weight:400}.flashcard-answer h2{color:#665073;overflow-wrap:anywhere;margin:0;font-family:Cooper Black,Bookman Old Style,Georgia,serif;font-size:clamp(23px,4vw,32px)}.flashcard.revealed{border-color:#b08bca}.flashcards-navigation{justify-content:space-between;gap:14px;width:min(100%,620px);margin-top:24px;display:flex}.flashcards-empty{text-align:center;color:#987ca9;justify-content:center}.flashcards-empty h2{color:#6d537b;margin:20px 0 8px;font-family:Georgia,serif;font-size:26px}.flashcards-empty p{margin-bottom:24px;font-size:13px}@media (width<=700px){.editor-actions{flex-wrap:wrap}.mode-toggle button{padding:7px 8px}.flashcards{padding:20px 16px 28px}.flashcard{padding:12px}.flashcards-progress{margin-bottom:18px}.flashcard-answer{min-height:78px}}.login-card{box-shadow:none;background:#fffaf1;border:0;border-radius:0;padding-bottom:30px}.inline-card-footer .color-options{gap:8px}.inline-card-footer .color-swatch{width:22px;height:22px;font-size:10px}.tree-default-color{flex-direction:column;gap:5px;margin-right:8px;display:flex}.tree-default-color>span{color:var(--muted);font-size:11px}.tree-default-color .color-options{gap:6px}.tree-default-color .color-swatch{width:22px;height:22px}.circle-node{background:var(--node-color);border-color:var(--node-border);border-radius:50%;padding:0;overflow:visible}.circle-node .card-drag-handle{display:none}.redirect-node.circle-node{cursor:grab;border-style:dashed}.node-type-control{align-items:center;gap:8px;padding:10px 4px 2px;font-size:12px;display:flex}.node-type-control select{border:1px solid var(--border);min-width:0;color:inherit;background:#fffaf1;border-radius:6px;flex:1;padding:6px}.redirect-tools{flex-direction:column;gap:10px;padding:12px 4px;font-size:12px;display:flex}.redirect-node.circle-node{box-shadow:none;background:0 0;border:2px dashed #838584;overflow:visible}.redirect-delete{color:#875779;border:1px solid var(--border);cursor:pointer;background:#fffaf1;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;padding:0;font-size:16px;line-height:1;display:flex;position:absolute;top:-14px;right:-14px}.connector-hit-area{pointer-events:stroke;cursor:crosshair}.connector-hit-area:hover,.connector-hit-area:focus{stroke:#a17abb30;outline:none}.tree-connections{overflow:visible}.column-mode-toggle{color:#76548b;border-radius:7px;padding:6px 10px;font-size:12px}.column-mode-toggle.active{background:#eadbf6;box-shadow:inset 0 0 0 1px #c7b1dd}.layout-lock-toggle{color:#76548b;border-radius:7px;align-items:center;gap:5px;padding:6px 8px;font-size:12px;display:flex}.layout-lock-toggle.active{background:#eadbf6}.redirect-node.circle-node{cursor:pointer}.redirect-node.circle-node.draggable{cursor:grab}.flashcards-workspace{flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.flashcards-tree-picker{border-right:1px solid var(--border);background:#fff9ed;flex-shrink:0;width:240px;padding:24px 16px;overflow-y:auto}.flashcards-tree-picker h2{margin:0 0 18px;font-family:Georgia,serif;font-size:19px}.flashcards-tree-list{flex-direction:column;gap:8px;display:flex}.flashcards-tree-option{border-radius:8px;padding:9px 8px}.flashcards-tree-option:has(input:checked){background:#eadbf680}.flashcards-tree-option label{cursor:pointer;overflow-wrap:anywhere;align-items:flex-start;gap:9px;font-size:14px;display:flex}.flashcards-tree-option input{accent-color:#8d67b6;flex-shrink:0;width:16px;height:16px;margin:2px 0 0}.flashcards-tree-option small{color:var(--muted);margin-top:5px;font-size:11px;display:block}.flashcards-tree-option .error{margin-top:8px;font-size:12px}@media (width<=700px){.flashcards-workspace{flex-direction:column}.flashcards-tree-picker{border-right:0;border-bottom:1px solid var(--border);width:100%;max-height:190px;padding:12px 16px}.flashcards-tree-picker h2{margin-bottom:8px;font-size:16px}.flashcards-tree-list{flex-flow:wrap;gap:4px}.flashcards-tree-option{max-width:100%;padding:6px 8px}}
