@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;450;500;550;600;650;700;750;800&display=swap');
:root{font-family:'Plus Jakarta Sans',sans-serif;--canvas:#fbf8fc;--side:#f5f2f6;--surface:#fff;--ink:#232227;--muted:#8b8380;--line:#eeeaee;--primary:#925c00;--orange:#f5a000;--soft:#f3f0f4;--shadow:0 7px 18px #28203009;--sidebar:224px;color:var(--ink);background:var(--canvas);font-synthesis:none}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f4bb52;outline-offset:3px}a{color:inherit}button svg{pointer-events:none}.icon{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);padding:26px 15px;background:var(--side);border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:35;transition:width .2s}.workspace-brand{display:flex;align-items:center;gap:12px;padding:0 10px 35px;font-weight:650;font-size:12px;letter-spacing:.3px}.lights{display:inline-flex;align-items:center;gap:6px;flex-shrink:0}.lights i{height:9px;width:9px;background:#dc6262;border-radius:50%}.lights i:nth-child(2){background:#f4b54d}.lights i:nth-child(3){background:#66bdec}.workspace-brand button{margin-left:auto}.navtitle{font-size:10px;letter-spacing:1.5px;color:#99908a;padding:0 14px;margin:7px 0 12px}nav{display:grid;gap:5px}nav button{display:flex;align-items:center;gap:13px;text-align:left;padding:12px 13px;font-size:12px;color:#6d625c;background:none;border-radius:10px}nav button:hover{background:#eeeaee}nav button.active{background:var(--orange);color:#543700;font-weight:650}.count{margin-left:auto;border-radius:12px;background:#e8e3e7;font-size:10px;padding:2px 6px}.active .count{background:#fff4ce}.nav-gap{height:20px}.side-footer{margin-top:auto;background:#eeeaf0;border-radius:12px;padding:15px;display:flex;gap:10px;align-items:center;font-size:11px}.side-footer strong{display:block;font-size:11px;margin-bottom:4px}.side-footer small{color:var(--muted);font-size:10px}.side-footer .icon{color:var(--primary)}.app-shell{margin-left:var(--sidebar);height:100vh}.topbar{height:69px;padding:0 25px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--canvas) 94%,transparent);display:flex;gap:15px;align-items:center;position:relative;z-index:25}.brandmark{width:33px;height:33px;display:grid;place-items:center;border-radius:10px;background:#fff0cc;color:var(--primary)}.brandmark .icon{width:23px;height:23px}.brand-title{font-size:18px;font-weight:800;letter-spacing:-.6px;white-space:nowrap}.breadcrumbs{display:flex;align-items:center;gap:10px;color:#7a6d62;font-size:11px;flex:1;min-width:0}.breadcrumbs strong{color:var(--ink);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}.topbar-actions{display:flex;align-items:center;gap:9px}.sync-badge{font-size:10px;color:#287085;background:#eaf6ff;border:0;border-radius:20px;padding:7px 11px;max-width:190px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.search-wrap{display:flex;align-items:center;gap:8px;background:var(--soft);border-radius:30px;padding:8px 12px}.search-wrap input{border:0;padding:0;background:transparent;width:130px;font-size:11px;outline:none;color:var(--ink)}.search-wrap .icon{width:14px;height:14px;color:var(--muted)}.kbd{font-size:10px;padding:2px 4px;border-radius:4px;background:#e7e2e6;color:#8b7d73}.icon-button{height:31px;width:31px;display:inline-grid;place-items:center;border-radius:8px;background:none;color:#94867a;flex-shrink:0}.icon-button:hover{background:var(--soft);color:var(--primary)}.avatar{height:31px;width:31px;border-radius:50%;background:var(--primary);color:white;font-size:11px;display:grid;place-items:center}.view{height:calc(100vh - 69px);overflow:auto;position:relative}.canvas-view{overflow:hidden;background:radial-gradient(circle,#cfc5c2 1px,transparent 1.1px);background-size:24px 24px}.canvas-toolbar{position:absolute;top:17px;left:22px;right:22px;display:flex;justify-content:space-between;gap:15px;z-index:15;pointer-events:none}.tool-island{background:#ffffffe0;border:1px solid #fff;border-radius:16px;box-shadow:0 3px 9px #2c22300c;padding:9px 12px;display:flex;align-items:center;gap:9px;backdrop-filter:blur(18px);pointer-events:auto}.tool-label{font-size:9px;color:#6d5b4b;font-weight:600;letter-spacing:.5px;margin-right:2px}.swatch{height:22px;width:22px;border-radius:50%;background:var(--note);border:2px solid transparent;cursor:pointer}.swatch.selected{border-color:#ad7c34;box-shadow:0 0 0 2px #fff}.divider{height:23px;width:1px;background:var(--line);margin:0 3px}.select-small{font-size:11px;padding:5px 20px 5px 8px;border-radius:7px;border:0;background:var(--soft);color:#746253}.zoom-hud{font-size:11px;gap:10px}.snap-label{font-size:10px;color:var(--primary);background:#fff5df;padding:6px 8px;border-radius:6px}.scroll-canvas{position:absolute;inset:0;overflow:auto;padding:95px 22px 160px;scrollbar-width:thin;scrollbar-color:#d5ced4 transparent}.canvas-plane{position:relative;width:2400px;height:1800px;transform-origin:top left}.window{position:absolute;background:#ffffffb5;border:1px solid #fff;border-radius:18px;box-shadow:0 8px 20px #352d3415,0 1px 3px #352d3405;min-width:320px;min-height:250px;overflow:hidden;backdrop-filter:blur(14px)}.window.focused{box-shadow:0 13px 35px #352d3420,0 0 0 2px #ecba6850}.window.minimized{height:48px!important;min-height:48px}.window-header{height:49px;background:#eeebf1c9;display:flex;align-items:center;gap:12px;padding:0 14px;cursor:grab;touch-action:none;user-select:none}.window-header:active{cursor:grabbing}.window-title{font-size:14px;font-weight:750;letter-spacing:-.5px;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.window-title .icon{color:var(--accent)}.window-controls{display:flex;gap:5px}.window-controls button{height:10px;width:10px;padding:0;background:#d66b70;border-radius:50%;color:transparent}.window-controls button:nth-child(2){background:#efb244}.window-controls button:nth-child(3){background:#68b9e9}.window-controls button:hover{outline:2px solid #fff}.item-count{color:#765699;background:#e9dfff;font-size:9px;border-radius:20px;padding:4px 7px;white-space:nowrap}.window-content{position:absolute;inset:49px 0 0;overflow:auto;scrollbar-width:thin}.texture-dots{background-image:radial-gradient(#cec5cc8c .8px,transparent 1px);background-size:20px 20px}.texture-ruled{background-image:linear-gradient(transparent 23px,#c7becc55 24px);background-size:100% 24px}.texture-blank{background:var(--surface)}.texture-charcoal{background:#313036}.texture-cork{background-color:#e2bd85;background-image:radial-gradient(#a87f4d55 .7px,transparent 1px);background-size:5px 7px}.texture-glass{background:linear-gradient(145deg,#e8f6fe90,#fff3df90)}.note-plane{position:relative;min-width:900px;min-height:1100px}.note{position:absolute;width:240px;min-width:180px;min-height:100px;border-radius:13px;background:var(--note);color:var(--note-ink,#4f3e2d);box-shadow:0 5px 9px #342c2610,0 1px 2px #342c2608;overflow:hidden;border:1px solid #00000003;display:flex;flex-direction:column;transition:box-shadow .2s}.note:hover{box-shadow:0 10px 20px #342c2620}.note.type-text:after{content:'';position:absolute;top:0;right:0;border-top:22px solid #0000000a;border-left:22px solid transparent}.note.type-code{font-family:ui-monospace,monospace}.note-header{display:flex;align-items:center;gap:7px;padding:13px 14px 6px;min-height:36px;cursor:grab;touch-action:none;user-select:none}.note-kind{font-size:9px;font-weight:650;letter-spacing:.7px;text-transform:uppercase;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.note-header .icon{width:13px;height:13px}.note-header .icon-button{width:23px;height:23px;color:inherit;opacity:.7}.note-header .icon-button:hover{background:#fff7}.note-body{padding:7px 17px 12px;overflow:auto;flex:1;font-size:12px;line-height:1.7;scrollbar-width:thin}.note-body h3{font-size:16px;line-height:1.4;font-weight:750;letter-spacing:-.4px;margin:0 0 12px;overflow-wrap:anywhere}.note-body p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.note-body blockquote{font-size:15px;font-style:italic;margin:0;padding-left:12px;border-left:2px solid #a778e455}.note-footer{padding:7px 16px 13px;font-size:9px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.note-footer .tag{background:#ffffff65;padding:3px 6px;border-radius:6px}.note-footer .note-edit{margin-left:auto;background:transparent;font-size:10px;color:inherit;font-weight:600}.note-checks{list-style:none;padding:0;margin:0;display:grid;gap:9px}.note-checks li{display:flex;gap:8px;align-items:flex-start}.note-checks button{width:14px;height:14px;margin-top:4px;border:1px solid currentColor;border-radius:4px;background:transparent;color:inherit;display:grid;place-items:center;padding:0;flex-shrink:0}.note-checks .done button{background:var(--note-accent);border-color:var(--note-accent);color:white}.note-checks button .icon{width:10px;height:10px}.note-checks .done span{opacity:.5;text-decoration:line-through}.note-checks span{overflow-wrap:anywhere}.note pre{margin:0;font-size:10px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;background:#ffffff8c;border-radius:8px;padding:12px;color:#234c71}.note.type-code pre{background:#ffffff08;color:#c2b7e2}.progress-number{font-size:37px;font-weight:800;letter-spacing:-1.5px;line-height:1.3;margin:17px 0}.progress-track{height:7px;background:#0001;border-radius:8px;overflow:hidden;margin-top:14px}.progress-track i{height:100%;background:var(--note-accent);display:block;border-radius:8px}.note-image{width:100%;max-height:170px;object-fit:cover;border-radius:9px;margin-bottom:12px}.image-placeholder{height:115px;background:linear-gradient(150deg,#f6d0a3,#eac8c6,#c5d2e2);display:grid;place-items:center;border-radius:9px;margin-bottom:12px}.image-placeholder .icon{width:35px;height:35px;color:#fff}.note-link{display:block;color:inherit;text-decoration:none;background:#fff7;padding:10px;border-radius:8px;overflow-wrap:anywhere}.note-link small{display:block;opacity:.7;margin-bottom:9px}.due-pill{font-size:10px;background:#fff7;padding:6px 8px;display:inline-block;border-radius:6px;margin-top:12px}.countdown{display:flex;gap:5px;margin-top:20px}.countdown>div{flex:1;padding:9px 4px;border-radius:8px;background:#fff7;text-align:center}.countdown b{font-size:17px}.countdown small{display:block;font-size:8px;margin-top:3px}.cluster-nodes{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:20px 0}.cluster-nodes span{background:#fff9;padding:10px;border-radius:8px;font-size:11px}.note-drawing{width:100%;height:auto;object-fit:contain;background:#fff5;border-radius:7px}.resize-handle{position:absolute;right:0;bottom:0;width:17px;height:17px;cursor:nwse-resize;z-index:5;touch-action:none;background:linear-gradient(135deg,transparent 60%,#806e4c44 61%,transparent 68%,#806e4c44 69%,transparent 77%)}.dock{position:fixed;bottom:21px;left:calc(50% + var(--sidebar)/2);transform:translateX(-50%);display:flex;gap:9px;align-items:center;background:#ffffffe0;backdrop-filter:blur(20px);box-shadow:0 8px 25px #342b3410;border:1px solid white;padding:9px 12px;border-radius:18px;z-index:30;max-width:calc(100vw - var(--sidebar) - 40px)}.dock-tab{display:flex;align-items:center;gap:8px;background:var(--soft);border-radius:9px;padding:7px 9px;font-size:10px;max-width:145px;white-space:nowrap}.dock-tab>button{color:var(--muted);background:none;padding:0;display:grid;place-items:center}.dock-tab>button .icon{width:12px;height:12px}.tab-dot{width:8px;height:8px;border-radius:2px;background:var(--accent);flex-shrink:0}.dock .swatch{border-radius:8px;height:30px;width:30px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 15px;border-radius:10px;font-size:11px;font-weight:650;text-decoration:none;white-space:nowrap}.primary{background:var(--primary);color:white;box-shadow:0 3px 7px #925c0018}.primary:hover{filter:brightness(1.09)}.secondary{background:var(--soft);color:#6c5d50}.primary .icon,.secondary .icon{width:15px;height:15px}.canvas-hint{position:fixed;bottom:91px;left:calc(var(--sidebar) + 26px);font-size:10px;color:#ac9c91;z-index:3;pointer-events:none}.minimap{position:absolute;right:22px;bottom:94px;width:132px;height:84px;border-radius:11px;background:#ffffffb8;backdrop-filter:blur(10px);border:1px solid #eae5eb;padding:6px;z-index:12;overflow:hidden}.minimap i{position:absolute;background:var(--accent);opacity:.3;border-radius:3px;min-width:8px;min-height:7px}.minimap span{font-size:8px;position:absolute;bottom:5px;right:7px;color:#a09287}.overview{padding:28px 28px 110px;max-width:1550px;margin:auto}.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.eyebrow{font-size:9px;letter-spacing:1.4px;text-transform:uppercase;color:var(--primary);font-weight:650;margin:0 0 8px}.page-title h1{font-size:30px;line-height:1.2;letter-spacing:-1.3px;margin:0 0 10px;font-weight:800}.page-title p{font-size:12px;color:var(--muted);line-height:1.7;margin:0;max-width:620px}.title-actions{display:flex;align-items:center;gap:10px}.segmented{display:flex;background:var(--soft);padding:4px;border-radius:10px;gap:3px}.segmented button{padding:7px 10px;background:none;color:#8a786a;border-radius:7px;font-size:11px}.segmented button.active{background:var(--surface);color:var(--ink);box-shadow:0 2px 5px #30253008}.filterbar{display:flex;align-items:center;gap:10px;margin-bottom:19px}.filterbar .search-wrap{background:var(--surface);border-radius:12px;flex:1;padding:13px 16px;max-width:630px}.filterbar input{width:100%;font-size:12px}.filterbar select{margin-left:auto}.chips{display:flex;gap:8px;align-items:center;margin-bottom:24px;flex-wrap:wrap}.chips button{background:var(--surface);color:#766b63;border:1px solid #f0ebef;border-radius:20px;font-size:11px;padding:8px 12px;display:flex;align-items:center;gap:5px;white-space:nowrap}.chips button.selected{background:var(--orange);color:#543700;border-color:var(--orange)}.chips .icon{width:13px;height:13px}.panel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.panel-preview{position:relative;border:1px solid #ede8ed;background:var(--surface);border-radius:16px;box-shadow:var(--shadow);overflow:hidden;cursor:pointer}.preview-titlebar{height:36px;background:color-mix(in srgb,var(--accent) 12%,var(--surface));padding:0 12px;display:flex;align-items:center;gap:8px}.preview-titlebar>small{font-size:9px;flex:1;font-weight:600;letter-spacing:.6px}.preview-titlebar .icon-button{width:23px;height:23px}.preview-canvas{height:194px;position:relative;overflow:hidden;pointer-events:none}.preview-note{position:absolute;padding:9px;border-radius:7px;font-size:9px;line-height:1.55;box-shadow:0 2px 4px #30252c09;background:var(--note);color:var(--note-ink);max-width:54%;overflow:hidden;max-height:115px;transform:rotate(var(--tilt,0deg))}.preview-note strong{font-size:10px;display:block;margin-bottom:5px}.preview-note p{margin:0;white-space:pre-wrap}.preview-note img{max-width:100%;height:60px;object-fit:cover}.preview-count{position:absolute;bottom:8px;right:8px;background:#fffd;font-size:9px;padding:3px 7px;border-radius:10px;color:#5e565a}.panel-preview-foot{padding:16px}.panel-preview-foot h3{font-size:15px;margin:0 0 6px;letter-spacing:-.5px}.panel-preview-foot p{font-size:10px;color:var(--muted);margin:0 0 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta-row{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:9px}.meta-row .tag{padding:3px 6px;background:var(--soft);border-radius:4px;color:#80736a}.create-card{min-height:305px;border:1px dashed #e4d9ca;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:transparent;color:var(--ink);padding:20px;text-align:center}.create-card>span{height:52px;width:52px;display:grid;place-items:center;background:#f9e8cc;border-radius:18px;color:var(--primary)}.create-card h3{font-size:16px;letter-spacing:-.5px;margin:0}.create-card p{font-size:11px;line-height:1.8;color:var(--muted);max-width:200px;margin:0}.panel-grid.list{grid-template-columns:1fr}.panel-grid.list .panel-preview{display:grid;grid-template-columns:200px 1fr;min-height:140px}.panel-grid.list .preview-titlebar{display:none}.panel-grid.list .preview-canvas{height:150px}.panel-grid.list .panel-preview-foot{padding:25px}.template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.template-card{background:var(--note);color:var(--note-ink);border:1px solid #00000003;border-radius:16px;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;min-height:315px;padding:19px;position:relative}.template-label{font-size:9px;font-weight:650;text-transform:uppercase;letter-spacing:.5px;display:flex;gap:7px;align-items:center;margin:0 0 23px}.template-label .icon{width:14px;height:14px}.template-card h3{font-size:17px;letter-spacing:-.6px;line-height:1.5;margin:0 0 12px}.template-card p{font-size:12px;line-height:1.85;margin:0}.template-card .template-content{flex:1;overflow:hidden;max-height:235px}.template-card blockquote{font-size:18px;font-style:italic;line-height:1.6;margin:0}.template-card pre{font-size:9px;line-height:1.8;white-space:pre-wrap}.template-foot{display:flex;justify-content:space-between;align-items:center;margin-top:24px;gap:8px}.template-foot small{font-size:9px;opacity:.65}.template-foot button{background:var(--note-accent);color:white;font-size:10px;padding:9px 11px;border-radius:10px;font-weight:600}.palette-panel{display:flex;gap:25px;background:var(--surface);padding:19px 21px;border-radius:15px;margin-bottom:24px;align-items:center;flex-wrap:wrap}.palette-panel label{font-size:9px;display:grid;gap:10px;letter-spacing:.7px}.palette-panel .swatches{display:flex;gap:7px}.palette-panel .swatch{width:29px;height:29px;font-size:8px;color:#746253}.paper-options{display:flex;gap:7px}.paper-options button{padding:7px 10px;background:var(--soft);border-radius:6px;font-size:10px;color:var(--muted)}.paper-options button.selected{background:#fff0d1;color:var(--primary)}.studio{max-width:1120px;margin:26px auto 110px;padding:0 26px}.studio-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 15px 45px #2f253108}.studio-head{background:var(--soft);padding:25px 30px;display:flex;align-items:center;gap:17px}.studio-head .brandmark{width:44px;height:44px;background:var(--primary);color:white}.studio-head h1{font-size:23px;letter-spacing:-1px;margin:0 0 8px}.studio-head p{font-size:12px;color:var(--muted);margin:0}.studio-body{display:grid;grid-template-columns:1.35fr 1fr}.studio-form{padding:28px 30px}.form-section{margin-bottom:30px}.section-label{font-size:10px;font-weight:700;letter-spacing:.7px;margin-bottom:17px;display:block}.field{display:grid;gap:7px;font-size:11px;font-weight:600;margin-bottom:14px}.field small{font-size:10px;font-weight:400;color:var(--muted);line-height:1.6}.field input,.field select,.field textarea,.form-input{width:100%;border:1px solid var(--line);background:var(--soft);border-radius:9px;padding:11px 13px;color:var(--ink);font-size:12px;outline-offset:2px}.field textarea{min-height:80px;resize:vertical;line-height:1.7}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.glyphs,.swatches{display:flex;gap:7px;flex-wrap:wrap}.glyphs button{width:33px;height:33px;background:var(--soft);color:var(--muted);border-radius:9px;display:grid;place-items:center}.glyphs button.selected{background:#fff0cc;color:var(--primary);box-shadow:0 0 0 1px #dca347}.texture-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.texture-option{border:1px solid transparent;border-radius:10px;background:var(--soft);padding:7px;text-align:left;color:var(--ink)}.texture-option.selected{border-color:var(--primary)}.texture-option>span{display:grid;place-items:center;height:47px;border-radius:7px;margin-bottom:7px;color:#9d8a6a}.texture-option strong{font-size:11px;display:block}.texture-option small{font-size:9px;color:var(--muted)}.studio-preview{background:var(--canvas);padding:28px 25px;border-left:1px solid var(--line)}.studio-preview>p{font-size:10px;font-weight:600;margin:0 0 20px}.studio-preview .preview-canvas{height:345px}.studio-preview .preview-note{min-width:120px;font-size:10px;max-height:150px}.preview-info{font-size:11px;line-height:1.8;color:var(--muted);padding:17px;background:var(--soft);border-radius:10px;margin-top:18px}.starter-section{padding:22px 30px;border-top:1px solid var(--line)}.starter-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.starter{border:1px solid var(--line);background:var(--surface);padding:11px;border-radius:12px;text-align:left}.starter.selected{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.starter-art{height:65px;background:var(--soft);border-radius:8px;display:flex;align-items:center;justify-content:center;gap:7px;margin-bottom:12px}.starter-art i{width:25px;height:39px;border-radius:5px;background:#ffdfad}.starter-art i:nth-child(2){background:#c9e7ff}.starter-art i:nth-child(3){background:#e9d8ff}.starter strong{display:block;font-size:11px;margin-bottom:5px}.starter small{font-size:9px;line-height:1.7;color:var(--muted)}.studio-foot{border-top:1px solid var(--line);padding:18px 30px;display:flex;gap:10px;justify-content:flex-end}.empty{padding:65px 25px;text-align:center;border:1px dashed #e0d9e1;border-radius:18px;max-width:700px;margin:30px auto}.empty>span{display:grid;place-items:center;background:#fff0cc;color:var(--primary);height:54px;width:54px;border-radius:17px;margin:0 auto 20px}.empty h2{font-size:23px;letter-spacing:-.7px}.empty p{font-size:13px;color:var(--muted);line-height:1.8;max-width:420px;margin:0 auto 22px}.note-list{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.note-list .note{position:relative!important;left:auto!important;top:auto!important;width:auto!important;height:290px!important}.list-actions{display:flex;gap:8px;justify-content:flex-end}.settings-panel{max-width:850px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:5px 25px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}.settings-row:last-child{border:0}.settings-row h3{font-size:13px;margin:0 0 8px}.settings-row p{font-size:11px;color:var(--muted);line-height:1.8;max-width:490px;margin:0}.settings-row select{padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--soft);color:var(--ink)}dialog{padding:0;border:1px solid var(--line);width:min(600px,94vw);max-height:90vh;border-radius:18px;background:var(--surface);color:var(--ink);box-shadow:0 25px 100px #271f3340}dialog::backdrop{background:#29232d65;backdrop-filter:blur(5px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:21px 24px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:19px;letter-spacing:-.6px;margin:0}.modal-body{padding:23px 24px}.modal-foot{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid var(--line);background:var(--canvas)}.editor-area{min-height:180px!important;font:13px/1.9 'Plus Jakarta Sans',sans-serif!important}.format-tools{display:flex;gap:5px;margin-bottom:9px}.format-tools button{background:var(--soft);border-radius:5px;padding:5px 9px;color:var(--muted);font-size:12px}.editor-checks{display:grid;gap:8px;margin-bottom:15px}.editor-checks>div{display:flex;gap:7px;align-items:center}.editor-checks input[type=checkbox]{accent-color:var(--primary)}.editor-checks input[type=text]{flex:1;min-width:0;background:var(--soft);border:0;padding:9px;border-radius:6px;color:var(--ink);font-size:12px}.draw-canvas{border:1px solid var(--line);border-radius:10px;max-width:100%;height:auto;background:#fff;touch-action:none;cursor:crosshair}.sync-warning{position:fixed;top:70px;left:var(--sidebar);right:0;z-index:50;background:#fff4d7;border:1px solid #edcf8d;color:#785a26;padding:11px 20px;display:flex;gap:10px;align-items:center;font-size:12px}.sync-warning>span{flex:1}.notice{font-size:11px;color:var(--muted);line-height:1.8;background:var(--soft);padding:13px;border-radius:9px}.signin{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:60px;max-width:1200px;margin:auto;padding:70px 60px}.signin h1{font-size:49px;line-height:1.2;letter-spacing:-2px;margin:22px 0}.signin p{font-size:16px;line-height:1.9;color:var(--muted);max-width:430px}.signin .eyebrow{margin-top:25px}.signin small{display:block;font-size:11px;color:var(--muted);margin-top:22px;line-height:1.8}.signin .primary{font-size:13px;padding:15px 22px;margin-top:10px}.signin-visual{position:relative;height:400px;background-image:radial-gradient(#cfc5c2 1px,transparent 1px);background-size:23px 23px}.signin-sticky{position:absolute;width:210px;height:220px;border-radius:16px;padding:25px;box-shadow:0 8px 20px #39291712}.signin-sticky h3{font-size:20px;letter-spacing:-.5px;margin:0 0 18px}.signin-sticky p{font-size:13px;line-height:1.8;color:inherit}.signin-sticky:nth-child(1){background:#fef3c7;left:0;top:30px;transform:rotate(-7deg);color:#785c19}.signin-sticky:nth-child(2){background:#e9dcff;left:190px;top:145px;transform:rotate(7deg);color:#7250a2}.signin-sticky .icon{margin-bottom:20px}.loading{height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px}.loading h1{font-size:24px}.loading p{color:var(--muted);font-size:13px}#toast{position:fixed;bottom:100px;left:calc(50% + var(--sidebar)/2);transform:translate(-50%,15px);opacity:0;pointer-events:none;z-index:100;background:#2d282d;color:white;padding:13px 19px;border-radius:11px;box-shadow:0 8px 20px #0002;font-size:12px;transition:.2s;max-width:85vw}#toast.show{opacity:1;transform:translate(-50%,0)}.collapsed{--sidebar:72px}.collapsed .workspace-brand>span:not(.lights),.collapsed .workspace-brand>button,.collapsed .navtitle,.collapsed nav button span,.collapsed .count,.collapsed .side-footer>div{display:none}.collapsed .sidebar{padding:26px 10px}.collapsed nav button{justify-content:center;padding:13px}.collapsed .workspace-brand{padding:0 0 35px}.collapsed .side-footer{padding:13px;justify-content:center}.panel-placeholder{position:absolute;inset:90px auto auto 45px;max-width:400px;padding:30px;background:#ffffffe0;border-radius:20px}.panel-placeholder h2{font-size:25px;letter-spacing:-1px}.panel-placeholder p{font-size:13px;line-height:1.8;color:var(--muted)}[data-theme=dark]{--canvas:#1c1b21;--side:#232128;--surface:#2c2931;--ink:#f3eff4;--muted:#aaa0a3;--line:#3a343d;--soft:#35303a;--primary:#e8ac50;color-scheme:dark}[data-theme=dark] .primary{color:#352007}[data-theme=dark] .tool-island,[data-theme=dark] .dock{background:#2c2931e8;border-color:#433c47}[data-theme=dark] .window{background:#302b32d9;border-color:#443a48}[data-theme=dark] .window-header{background:#3b333fdd}[data-theme=dark] .tool-label,[data-theme=dark] .zoom-hud{color:#b7a594}[data-theme=dark] .sidebar nav button{color:#baa99c}[data-theme=dark] .sidebar nav button.active{color:#513507}[data-theme=dark] .side-footer{background:var(--soft)}[data-theme=dark] .breadcrumbs{color:#b5a99e}[data-theme=dark] .preview-info{color:var(--muted)}[data-theme=dark] .texture-option{color:var(--ink)}[data-theme=dark] .preview-count{background:#3c3442;color:#d0bdcc}[data-theme=dark] .panel-placeholder{background:var(--surface)}[data-theme=dark] .secondary{color:#d4c0a9}[data-theme=dark] .sync-badge{background:#253b40;color:#a0cfdb}@media(max-width:1250px){:root{--sidebar:190px}.topbar{padding:0 18px;gap:10px}.breadcrumbs>span{display:none}.topbar-actions{gap:5px}.search-wrap input{width:105px}.panel-grid{gap:14px}.template-grid{grid-template-columns:repeat(3,1fr)}.dock-tab{max-width:110px}.dock{gap:7px}.topbar .kbd{display:none}}@media(max-width:950px){:root{--sidebar:72px}.sidebar{padding:26px 10px}.workspace-brand>span:not(.lights),.workspace-brand>button,.navtitle,nav button span,.count,.side-footer>div{display:none}nav button{justify-content:center;padding:13px}.workspace-brand{padding:0 0 35px}.side-footer{padding:13px;justify-content:center}.topbar .breadcrumbs{display:none}.brand-title{flex:1}.panel-grid{grid-template-columns:repeat(2,1fr)}.note-list{grid-template-columns:repeat(2,1fr)}.template-grid{grid-template-columns:repeat(2,1fr)}.studio-body{grid-template-columns:1fr 0.8fr}.studio{padding:0 20px}.studio-form{padding:24px}.studio-head{padding:22px}.dock-tab:nth-of-type(n+3){display:none}.canvas-toolbar{left:15px;right:15px}.zoom-hud .snap-label{display:none}.page-title{align-items:start;flex-wrap:wrap}.title-actions{width:100%}}@media(max-width:650px){:root,.collapsed{--sidebar:0px}.sidebar{height:62px;inset:auto 0 0;width:100%;padding:5px 8px;border-top:1px solid var(--line);flex-direction:row;justify-content:center;align-items:center}.workspace-brand,.nav-gap,.navtitle,.side-footer{display:none}.sidebar nav{display:flex;justify-content:space-around;width:100%;gap:0}.sidebar nav button{padding:11px;flex:1}.sidebar nav button:nth-of-type(2),.sidebar nav button:nth-of-type(4),.sidebar nav button:nth-of-type(6){display:none}.topbar{height:62px;padding:0 13px;gap:9px}.view{height:calc(100vh - 124px)}.brand-title{font-size:16px}.topbar .brandmark{width:29px;height:29px}.topbar .search-wrap{display:none}.sync-badge{max-width:90px;font-size:9px;padding:6px 8px}.topbar-actions .icon-button{width:27px}.canvas-toolbar{top:11px;left:10px;right:10px;gap:6px;align-items:start}.tool-island{padding:8px;gap:5px;border-radius:12px;flex-wrap:wrap;max-width:calc(100% - 100px)}.tool-label{display:none}.tool-island .swatch{width:20px;height:20px}.tool-island .divider{display:none}.tool-island .select-small{max-width:85px;font-size:10px;padding:5px}.zoom-hud{max-width:95px;justify-content:center;font-size:9px;padding:5px;gap:3px}.zoom-hud .icon-button{height:25px;width:24px}.scroll-canvas{padding:100px 10px 140px}.dock{bottom:74px;max-width:calc(100vw - 24px);padding:7px 9px;gap:6px;left:50%;border-radius:13px}.dock-tab{display:none!important}.dock>.swatch{height:28px;width:28px}.dock .primary{padding:10px;font-size:10px}.canvas-hint{display:none}.minimap{bottom:85px;right:13px;width:90px;height:60px}.overview{padding:22px 16px 95px}.page-title h1{font-size:27px}.page-title p{font-size:11px}.title-actions{gap:7px}.filterbar .search-wrap{padding:12px}.filterbar .select-small{max-width:100px;font-size:10px}.chips{gap:6px;margin-bottom:20px}.chips button{font-size:10px;padding:7px 10px}.panel-grid{grid-template-columns:1fr;gap:18px}.panel-preview .preview-canvas{height:220px}.panel-preview-foot h3{font-size:16px}.panel-preview-foot p{font-size:11px}.create-card{min-height:230px}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.template-card{padding:14px;min-height:290px}.template-card h3{font-size:14px}.template-card p{font-size:11px}.template-label{font-size:8px;margin-bottom:16px}.template-card blockquote{font-size:14px}.template-foot{align-items:start;flex-direction:column;gap:9px;margin-top:17px}.template-foot button{width:100%}.palette-panel{padding:16px;gap:15px}.palette-panel .swatch{height:25px;width:25px}.palette-panel label{font-size:8px}.paper-options{flex-wrap:wrap}.studio{margin:18px auto 90px;padding:0 12px}.studio-head{padding:19px 17px;gap:12px}.studio-head h1{font-size:18px}.studio-head p{font-size:10px;line-height:1.8}.studio-head .brandmark{display:none}.studio-body{grid-template-columns:1fr}.studio-form{padding:20px 18px}.studio-preview{display:none}.starter-section{padding:20px 18px}.starter-grid{grid-template-columns:repeat(2,1fr)}.studio-foot{padding:16px;gap:7px;flex-wrap:wrap}.studio-foot .primary{flex:1}.texture-options{gap:6px}.texture-option strong{font-size:10px}.texture-option small{font-size:8px}.note-list{grid-template-columns:1fr}.settings-panel{padding:0 18px}.settings-row{align-items:start;flex-wrap:wrap}.settings-row p{font-size:12px}.signin{grid-template-columns:1fr;padding:42px 25px;gap:30px}.signin h1{font-size:37px}.signin p{font-size:14px}.signin-visual{height:280px}.signin-sticky{width:175px;height:185px;padding:20px}.signin-sticky:nth-child(2){left:140px;top:90px}.signin-sticky h3{font-size:17px}.signin-sticky p{font-size:11px}.sync-warning{left:0;top:62px;flex-wrap:wrap;padding:12px;z-index:60}.sync-warning>span{flex-basis:100%}#toast{bottom:137px;left:50%;text-align:center;width:max-content}.note .note-body{font-size:13px}.panel-grid.list .panel-preview{grid-template-columns:130px 1fr}.panel-grid.list .panel-preview-foot{padding:18px}.modal-head,.modal-body{padding:20px}.modal-foot{padding:15px 20px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
