:root{color-scheme:light;--ink:#20263b;--muted:#8a90a3;--line:#e9ebf2;--blue:#5267df;--blue-dark:#3f51c7;--bg:#f7f8fc;--white:#fff;--shadow:0 16px 45px rgba(39,49,88,.08);font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,[contenteditable]:focus-visible{outline:3px solid #9da8ff;outline-offset:2px}.hidden{display:none!important}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:#a1a6b7;margin:0 0 10px}.brand-mark{width:52px;height:52px;border-radius:17px;background:linear-gradient(145deg,#7181f5,#4c5ed5);color:white;display:grid;place-items:center;font-size:30px;box-shadow:0 9px 20px #5267df35}.brand-mark.small{width:40px;height:40px;border-radius:13px;font-size:24px;flex-shrink:0}
.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 0%,#e8ebff 0,transparent 55%),var(--bg)}.login-card{width:min(100%,420px);background:#fff;border:1px solid #eef0f7;border-radius:28px;padding:38px;box-shadow:var(--shadow)}.login-card .brand-mark{margin-bottom:30px}.login-card h1{font:800 36px/1.15 Manrope,sans-serif;letter-spacing:-1.4px;margin:0 0 12px}.login-card h1 span{color:var(--blue)}.login-card>.muted{margin:0 0 30px;font-size:14px}.login-card form{display:grid;gap:9px}.login-card label{font-size:12px;font-weight:700;margin-top:5px}.login-card input{height:47px;border:1px solid #e5e7f0;border-radius:12px;padding:0 14px;background:#fbfcff;color:var(--ink)}.login-card input:focus{border-color:#9ba7ff;outline:none;box-shadow:0 0 0 3px #5267df18}.primary{border:0;background:var(--blue);color:white;border-radius:12px;padding:12px 16px;font-weight:700;box-shadow:0 5px 12px #5267df25;transition:.18s}.primary:hover{background:var(--blue-dark);transform:translateY(-1px)}.primary span{margin-left:10px}.full{width:100%;margin-top:10px;height:48px}.error{color:#d04456;font-size:12px;min-height:0;margin:0}.login-foot{border-top:1px solid var(--line);padding-top:19px;margin:24px 0 0;color:var(--muted);font-size:11px;display:flex;gap:8px;align-items:center}.secure-dot,.saved-dot{width:7px;height:7px;background:#42bd91;border-radius:50%;display:inline-block}
.app-shell{min-height:100vh;display:grid;grid-template-columns:252px minmax(0,1fr)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:25px 16px 15px;display:flex;flex-direction:column;min-height:100vh}.brand{display:flex;gap:11px;align-items:center;padding:0 8px 34px}.brand strong{font:800 22px Manrope,sans-serif;letter-spacing:-1px}.brand strong span{color:var(--blue)}.brand small{display:block;font-size:8px;letter-spacing:1.5px;color:#a2a6b6;margin-top:3px}.new-note{height:45px;border:0;border-radius:12px;background:#5267df;color:#fff;font-weight:700;text-align:left;padding:0 12px;margin-bottom:30px;box-shadow:0 8px 16px #5267df2a}.new-note span{font-size:19px;vertical-align:-1px;margin-right:8px}.new-note kbd{float:right;font-size:9px;padding:4px 5px;border:1px solid #ffffff5c;border-radius:5px;color:#e6e9ff;margin-top:1px}.nav-label{font-size:9px;letter-spacing:1.5px;font-weight:700;color:#b0b4c3;padding:0 12px 10px}.nav-item{width:100%;border:0;background:transparent;color:#858ba0;text-align:left;display:flex;align-items:center;gap:12px;border-radius:10px;padding:11px 12px;font-size:12px;margin-bottom:3px}.nav-item>span:first-child{font-size:18px;width:20px;text-align:center}.nav-item.active{background:#f0f2ff;color:#4e60d3;font-weight:700}.count{margin-left:auto;background:#fff;border:1px solid #e5e8ff;padding:3px 7px;border-radius:7px;font-size:10px}.sidebar-bottom{margin-top:auto}.profile{display:flex;align-items:center;border-top:1px solid var(--line);padding:17px 3px 3px;margin-top:15px;gap:10px}.avatar{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:#e7eaff;color:#5267df;font-weight:800}.profile-copy{display:grid;gap:3px;flex:1;min-width:0}.profile-copy strong{font-size:11px}.profile-copy small{font-size:9px;color:var(--muted)}.icon-btn{border:0;background:transparent;color:#9298aa;border-radius:8px;width:34px;height:34px;font-size:19px}.icon-btn:hover{background:#f1f2f9;color:var(--ink)}.icon-btn.danger:hover{background:#fff0f1;color:#d44b5d}
.workspace{min-width:0;padding:32px 34px 24px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.topbar h2{font:800 27px/1.2 Manrope,sans-serif;letter-spacing:-.8px;margin:0}.top-actions{display:flex;gap:10px;align-items:center}.search{display:flex;align-items:center;gap:9px;border:1px solid #e8eaf2;background:#fff;border-radius:11px;padding:0 10px;height:42px;min-width:240px;color:#a0a5b5}.search>span{font-size:22px}.search input{border:0;outline:0;min-width:0;width:100%;font-size:11px;background:transparent;color:var(--ink)}.search kbd{font-size:10px;background:#f5f6fa;padding:4px 6px;border-radius:5px}.mobile-new{display:none}.content-layout{display:grid;grid-template-columns:minmax(245px,.78fr) minmax(0,1.4fr);gap:20px;align-items:stretch}.notes-column,.editor-panel{min-width:0;background:#fff;border:1px solid var(--line);border-radius:17px;min-height:calc(100vh - 140px)}.notes-column{padding:20px 14px;position:relative}.list-heading{display:flex;justify-content:space-between;align-items:center;padding:0 6px 17px;color:#a3a8b7;font-size:9px;letter-spacing:1.2px;font-weight:700}.list-heading span+span{letter-spacing:0;font-weight:500}.notes-list{display:grid;gap:9px}.note-card{padding:15px 14px;border:1px solid #eceef5;border-radius:12px;cursor:pointer;transition:.16s;background:#fff;position:relative}.note-card:hover{border-color:#cbd1ff;transform:translateY(-1px)}.note-card.active{border-color:#8794f5;background:#f8f9ff;box-shadow:0 5px 14px #5267df0b}.note-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.note-date{font-size:9px;color:#a4a9b8}.note-pin{color:#d2a747}.note-card h3{font:700 13px/1.45 Manrope,sans-serif;margin:0 0 7px;overflow-wrap:anywhere}.note-preview{font-size:10px;color:#858ba0;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.note-card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:13px;font-size:9px;color:#a0a5b4}.note-tag{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:5px}.empty-state{text-align:center;padding:45px 12px;display:none}.empty-state.show{display:block}.empty-illustration{font-size:28px;color:#7e8af0;background:#f1f2ff;width:58px;height:58px;border-radius:20px;display:grid;place-items:center;margin:0 auto 15px}.empty-state h3,.editor-empty h3{font:700 15px Manrope,sans-serif;margin:0 0 7px}.empty-state p,.editor-empty p{font-size:11px;color:var(--muted);line-height:1.7;margin:0 auto 17px;max-width:230px}
.editor-panel{padding:22px 25px;position:relative}.editor-empty{min-height:calc(100vh - 190px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.editor-empty-icon{width:58px;height:58px;border-radius:19px;background:#f0f2ff;color:#6272e3;font-size:27px;display:grid;place-items:center;margin-bottom:17px}.note-form{display:flex;flex-direction:column;min-height:calc(100vh - 190px)}.editor-toolbar-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.saved-indicator{font-size:10px;color:#a0a5b5;display:flex;align-items:center;gap:7px}.editor-actions{display:flex;gap:2px}.title-input{border:0;outline:0;width:100%;font:800 25px/1.35 Manrope,sans-serif;letter-spacing:-.8px;color:var(--ink);padding:0 0 8px;background:transparent}.title-input::placeholder{color:#c3c7d3}.note-meta{display:flex;gap:7px;align-items:center;font-size:9px;color:#a0a5b5;margin-bottom:20px}.meta-separator{color:#d0d3de}.format-toolbar{display:flex;align-items:center;gap:3px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px 0;margin-bottom:13px;flex-wrap:wrap}.format-toolbar button,.color-tool{border:0;background:transparent;color:#6f758a;border-radius:7px;width:31px;height:30px;display:grid;place-items:center;font-size:14px}.format-toolbar button:hover,.color-tool:hover{background:#f0f2ff;color:#5267df}.tool-divider{height:20px;width:1px;background:#e8eaf2;margin:0 5px}.color-tool{position:relative;font-weight:800;font-size:16px;text-decoration:underline;text-decoration-color:#5267df;text-decoration-thickness:3px;cursor:pointer}.color-tool input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.note-content{flex:1;min-height:240px;font-size:13px;line-height:1.8;color:#42495e;outline:0;overflow-wrap:anywhere}.note-content:empty:before{content:attr(data-placeholder);white-space:pre-line;color:#c0c4d1;pointer-events:none}.note-content h2,.note-content h3{font-family:Manrope,sans-serif}.note-content ul,.note-content ol{padding-left:24px}.note-content img{max-width:100%;max-height:380px;object-fit:contain;border-radius:10px;display:block;margin:12px 0}.note-content a{color:#5267df}.note-content input[type=checkbox]{margin-right:8px;accent-color:#5267df}.attachments{display:flex;gap:7px;flex-wrap:wrap}.attachments:empty{display:none}.attachments img{width:70px;height:56px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}.editor-bottom{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:15px;margin-top:16px;flex-wrap:wrap}.reminder-label{display:flex;align-items:center;gap:6px;color:#7f8598;font-size:10px;cursor:pointer}.reminder-label>span:first-child{font-size:16px}.reminder-label input{border:0;color:#7f8598;font-size:10px;max-width:142px;background:transparent}.note-color-label{display:flex;align-items:center;gap:6px;margin-left:auto;color:#a0a5b5;font-size:8px;letter-spacing:1px}.note-color-label select{max-width:98px;border:0;background:#f7f8fc;border-radius:7px;padding:7px;font-size:10px;color:#7d8295}.save-btn{font-size:11px;padding:10px 14px}.editor-hint{font-size:9px;color:#b0b4c1;margin:13px 0 0;line-height:1.5}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#252b40;color:#fff;border-radius:11px;padding:12px 18px;font-size:12px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:.25s;z-index:20;max-width:90vw}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1100px){.app-shell{grid-template-columns:215px minmax(0,1fr)}.workspace{padding:25px 20px}.content-layout{grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);gap:12px}.editor-panel{padding:18px}.notes-column{padding:18px 10px}.search{min-width:180px}}
@media(max-width:780px){.app-shell{display:block}.sidebar{min-height:auto;height:auto;padding:12px 16px;border-right:0;border-bottom:1px solid var(--line);display:flex;flex-direction:row;align-items:center;gap:10px;overflow-x:auto}.brand{padding:0;flex-shrink:0}.brand small{display:none}.brand strong{font-size:18px}.brand-mark.small{width:34px;height:34px;border-radius:11px;font-size:20px}.new-note{height:38px;margin:0;white-space:nowrap;padding:0 10px;font-size:11px}.new-note kbd,.nav-label,.sidebar>.nav-item,.sidebar-bottom .profile,.sidebar-bottom #installBtn{display:none}.sidebar-bottom{margin:0;display:flex;flex-shrink:0}.sidebar-bottom #pushBtn{width:auto;margin:0;padding:7px 9px;font-size:0;white-space:nowrap}.sidebar-bottom #pushBtn span{font-size:17px}.workspace{padding:22px 13px}.topbar{margin-bottom:18px;align-items:flex-start}.topbar h2{font-size:23px}.top-actions{flex:1;justify-content:flex-end}.search{min-width:0;width:min(100%,220px);height:38px}.search kbd{display:none}.content-layout{display:flex;flex-direction:column}.notes-column,.editor-panel{min-height:0}.notes-column{padding:14px 12px}.notes-list{grid-template-columns:repeat(2,minmax(0,1fr))}.note-card{padding:12px}.note-card h3{font-size:12px}.note-preview{-webkit-line-clamp:2}.editor-panel{padding:17px 16px}.editor-empty{min-height:190px}.note-form{min-height:500px}.title-input{font-size:22px}.note-content{min-height:210px}.mobile-new{display:inline-block;padding:9px 12px}.sidebar .new-note{display:none}.editor-bottom{gap:9px}.note-color-label{margin-left:0}.save-btn{margin-left:auto}}
@media(max-width:430px){.workspace{padding:18px 9px}.topbar{gap:8px}.topbar h2{font-size:20px}.topbar .eyebrow{font-size:8px}.search{width:42px;padding:0 9px;transition:width .2s}.search:focus-within{width:175px}.search input{font-size:10px}.search input::placeholder{color:transparent}.search:focus-within input::placeholder{color:#a0a5b5}.notes-list{grid-template-columns:1fr}.note-card{padding:14px}.note-preview{-webkit-line-clamp:2}.editor-panel{padding:15px 12px}.reminder-label{width:100%}.note-color-label{margin-right:auto}.save-btn{margin-left:0}.format-toolbar{gap:1px}.tool-divider{margin:0 2px}}
/* ✦ Notes refresh — motion, depth and responsive note cards */
:root{--violet:#6268e9;--violet-dark:#4f55d5;--surface:#fff;--glass:rgba(255,255,255,.76)}
body{background:radial-gradient(ellipse at 80% -15%,#e9eaff 0,transparent 38%),#f6f7fc;background-attachment:fixed}
button,.note-card,.editor-panel,.welcome-banner{ -webkit-tap-highlight-color:transparent }
button{transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s,background .2s,color .2s}
.primary:hover,.new-note:hover{transform:translateY(-2px);box-shadow:0 10px 22px #5267df38}
.app-shell{animation:app-enter .65s cubic-bezier(.2,.8,.2,1) both}
.sidebar{position:sticky;top:0;height:100vh;z-index:4;background:rgba(255,255,255,.9);backdrop-filter:blur(18px)}
.brand-mark{animation:mark-float 5s ease-in-out infinite}
.welcome-banner{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.55fr);align-items:center;min-height:250px;padding:31px 34px 82px;border:1px solid #e7e9ff;border-radius:24px;background:linear-gradient(115deg,#fff 0%,#f5f5ff 52%,#e9ebff 100%);box-shadow:0 16px 42px rgba(69,76,160,.075);margin-bottom:22px;animation:rise-in .55s .06s both}
.welcome-banner:before{content:"";position:absolute;z-index:-1;width:380px;height:380px;border-radius:50%;right:3%;top:-240px;background:radial-gradient(circle,#c8ceff99,transparent 68%)}
.welcome-copy{position:relative;z-index:2;max-width:520px}.welcome-kicker{display:flex;align-items:center;gap:8px;color:#7178d7;font-size:9px;font-weight:800;letter-spacing:1.8px;margin-bottom:13px}.welcome-spark{font-size:15px;animation:sparkle 2.6s ease-in-out infinite}.welcome-copy h1{font:800 clamp(25px,3vw,37px)/1.12 Manrope,'Segoe UI',sans-serif;letter-spacing:-1.4px;margin:0 0 11px;color:#252a48}.welcome-copy h1 span{display:inline-block;color:#666ce8;background:linear-gradient(90deg,#6d72ec,#a06de5,#6d72ec);background-size:200% auto;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:gradient-flow 6s linear infinite}.welcome-copy p{max-width:390px;color:#858aa5;font-size:12px;line-height:1.8;margin:0 0 19px}.hero-cta{display:inline-flex;align-items:center;gap:9px;padding:11px 15px;border:1px solid #dedfff;border-radius:12px;background:#fff;color:#565ed8;font-size:11px;font-weight:800;box-shadow:0 5px 14px #646be718}.hero-cta>span:first-child{font-size:18px;line-height:12px}.hero-cta .cta-arrow{margin-left:8px;transition:transform .2s}.hero-cta:hover{transform:translateY(-2px);box-shadow:0 9px 20px #646be72c}.hero-cta:hover .cta-arrow{transform:translate(2px,-2px)}
.welcome-art{height:150px;position:relative;display:grid;place-items:center;perspective:700px}.orbit{position:absolute;border:1px solid #aeb5ff66;border-radius:50%;transform:rotate(-22deg)}.orbit-one{width:235px;height:110px;animation:orbit-drift 12s linear infinite}.orbit-two{width:180px;height:135px;transform:rotate(50deg);border-style:dashed;animation:orbit-drift 20s linear infinite reverse}.art-note{position:absolute;width:130px;height:142px;border:1px solid #fff;border-radius:17px;box-shadow:0 18px 38px #555cb92b;padding:16px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px)}.art-note-back{transform:translate(23px,-1px) rotate(10deg);background:#dfe2ff;animation:note-hover 6s ease-in-out infinite}.art-note-front{transform:translate(-13px,3px) rotate(-6deg);animation:note-hover 5s ease-in-out infinite reverse}.art-note b{display:block;font:800 11px Manrope,sans-serif;color:#34395b;margin:7px 0 12px}.art-note i{display:block;height:5px;border-radius:6px;background:#e8eaf6;margin:7px 0;width:86%}.art-note i:nth-of-type(2){width:65%}.art-note i:nth-of-type(3){width:76%}.art-star{color:#7379e8;font-size:18px}.art-check{margin-top:13px;font-size:8px;color:#777d9b;white-space:nowrap}.art-check span{display:inline-grid;place-items:center;width:14px;height:14px;border-radius:5px;background:#e3f8ee;color:#25a77a;margin-right:4px}.art-float{position:absolute;color:#898ef0;font-size:23px;animation:sparkle 3s ease-in-out infinite}.art-float-top{top:5px;right:23px}.art-float-bottom{bottom:0;left:12px;animation-delay:1.1s}
.welcome-stats{position:absolute;left:31px;right:31px;bottom:0;min-height:61px;display:flex;align-items:center;gap:25px;border-top:1px solid #e5e7ff}.welcome-stat{display:flex;align-items:center;gap:9px;min-width:90px}.stat-icon{width:29px;height:29px;display:grid;place-items:center;border-radius:10px;font-size:16px}.stat-violet{background:#e9eaff;color:#6269e7}.stat-amber{background:#fff2d9;color:#c68a27}.stat-mint{background:#ddf7ec;color:#2b9c79}.welcome-stat strong{display:block;color:#343953;font:800 13px Manrope,sans-serif}.welcome-stat small{display:block;margin-top:2px;color:#999eb4;font-size:9px}
.content-layout{grid-template-columns:minmax(0,1fr);gap:0;align-items:start}.notes-column{min-height:0;padding:23px 22px;border-radius:20px;background:rgba(255,255,255,.86);box-shadow:0 10px 30px rgba(37,45,95,.035);backdrop-filter:blur(12px)}.list-heading{padding:0 2px 17px}.list-heading span:first-child{font-size:10px;color:#7177ce}.notes-list{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:13px}.note-card{--card-accent:#757bea;min-height:163px;display:flex;flex-direction:column;padding:17px 17px 14px;border:1px solid #eceef6;border-radius:16px;background:linear-gradient(145deg,var(--card-tint,#fff),#fff 92%);box-shadow:0 3px 9px #313a6b05;overflow:hidden;animation:card-enter .42s both;animation-delay:calc(min(var(--card-index,0),8)*35ms)}.note-card:before{content:"";position:absolute;left:0;top:15px;bottom:15px;width:3px;border-radius:0 5px 5px 0;background:var(--card-accent);opacity:.8;transform:scaleY(.25);transform-origin:center;transition:transform .25s}.note-card:hover{border-color:#d4d7ff;transform:translateY(-4px);box-shadow:0 14px 28px #4e56a814}.note-card:hover:before,.note-card.active:before{transform:scaleY(1)}.note-card.active{border-color:#b9bfff;box-shadow:0 8px 22px #5d65d91c;background:linear-gradient(145deg,#f8f8ff,#fff)}.note-card-top{margin-bottom:13px}.note-date{font-size:10px}.note-card h3{font-size:14px;letter-spacing:-.2px;margin-bottom:8px}.note-preview{font-size:11px;line-height:1.75;-webkit-line-clamp:3;color:#7d829b}.note-card-footer{margin-top:auto;padding-top:17px;font-size:10px}.note-card-footer span:last-child{display:flex;gap:8px;align-items:center}.note-pin{display:grid;place-items:center;width:23px;height:23px;background:#fff2d9;border-radius:8px;color:#bd8b31}.note-tag{width:8px;height:8px}.empty-state{padding:58px 20px}.empty-illustration{animation:mark-float 4s ease-in-out infinite}
.editor-panel{position:fixed;z-index:30;inset:0 0 0 auto;width:min(720px,68vw);height:100dvh;min-height:0;border:0;border-left:1px solid #e8eaf5;border-radius:26px 0 0 26px;padding:28px 34px 22px;overflow:auto;background:rgba(255,255,255,.97);box-shadow:-25px 0 80px #20284b20;backdrop-filter:blur(22px);animation:drawer-in .32s cubic-bezier(.2,.8,.2,1) both}.editor-panel .note-form{min-height:calc(100dvh - 50px)}.editor-panel .editor-empty{min-height:70vh}.editor-backdrop{position:fixed;z-index:29;inset:0;background:rgba(31,36,68,.28);backdrop-filter:blur(3px);animation:fade-in .22s both}.close-editor{display:flex;align-items:center;gap:6px;border:0;border-radius:9px;padding:7px 9px;background:#f5f5ff;color:#6268dc;font-size:13px;font-weight:700}.close-editor span{font-size:10px}.close-editor:hover{background:#e9eaff}.editor-toolbar-top{gap:12px}.note-form{min-height:calc(100dvh - 100px)}.title-input{font-size:29px}.note-content{min-height:260px;font-size:14px;line-height:1.9}.editor-bottom{margin-top:auto;padding-top:17px}.toast{z-index:60;backdrop-filter:blur(10px)}
.login-card{animation:login-enter .6s cubic-bezier(.2,.8,.2,1) both}.login-card .brand-mark{animation:mark-float 4s ease-in-out infinite}
@keyframes app-enter{from{opacity:0}to{opacity:1}}@keyframes rise-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes card-enter{from{opacity:0;transform:translateY(9px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes drawer-in{from{opacity:.6;transform:translateX(32px)}to{opacity:1;transform:translateX(0)}}@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes login-enter{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes mark-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-4px) rotate(4deg)}}@keyframes note-hover{0%,100%{translate:0 0}50%{translate:0 -7px}}@keyframes sparkle{0%,100%{opacity:.65;transform:scale(.9) rotate(-8deg)}50%{opacity:1;transform:scale(1.15) rotate(12deg)}}@keyframes orbit-drift{to{rotate:360deg}}@keyframes gradient-flow{to{background-position:200% center}}
@media(max-width:1100px){.welcome-banner{padding-left:25px;padding-right:25px}.welcome-stats{left:25px;right:25px}.welcome-art{transform:scale(.9)}.notes-list{grid-template-columns:repeat(auto-fill,minmax(195px,1fr))}}
@media(max-width:780px){.sidebar{position:relative;height:auto;min-height:0}.workspace{padding:19px 13px 28px}.topbar{margin-bottom:17px;align-items:flex-end}.topbar h2{font-size:23px}.welcome-banner{grid-template-columns:minmax(0,1fr) 110px;min-height:245px;padding:23px 19px 81px;margin-bottom:15px;border-radius:20px}.welcome-copy h1{font-size:25px;letter-spacing:-.9px}.welcome-copy p{font-size:11px;line-height:1.65}.welcome-kicker{font-size:8px;letter-spacing:1px}.welcome-art{transform:scale(.72);transform-origin:center right;width:155px;margin-left:-40px}.welcome-stats{left:18px;right:18px;gap:0;justify-content:space-between;min-height:65px}.welcome-stat{min-width:0;gap:6px}.stat-icon{width:25px;height:25px;border-radius:8px;font-size:13px}.welcome-stat strong{font-size:12px}.welcome-stat small{font-size:8px}.content-layout{display:block}.notes-column{padding:17px 12px;border-radius:17px}.notes-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.note-card{min-height:155px;padding:13px 12px 11px;border-radius:13px}.note-card h3{font-size:12px}.note-preview{font-size:10px;-webkit-line-clamp:3}.note-card-footer{font-size:9px;padding-top:12px}.editor-panel{inset:auto 0 0;width:100%;height:min(91dvh,900px);border-radius:23px 23px 0 0;border:1px solid #e8eaf5;padding:20px 18px calc(15px + env(safe-area-inset-bottom));box-shadow:0 -20px 70px #20284b24;animation:sheet-in .3s cubic-bezier(.2,.8,.2,1) both}.editor-panel .note-form{min-height:calc(91dvh - 65px)}.editor-toolbar-top{margin-bottom:15px}.title-input{font-size:24px}.note-content{min-height:190px}.editor-bottom{gap:8px}.reminder-label{flex-wrap:wrap}.reminder-label input{max-width:135px}.note-color-label{margin-left:auto}.editor-hint{margin-top:9px}.editor-backdrop{backdrop-filter:blur(2px)}.search{min-width:0;width:min(44vw,220px)}.search kbd{display:none}.list-heading{font-size:9px}.empty-state{padding:35px 8px}}
@media(max-width:390px){.welcome-banner{grid-template-columns:minmax(0,1fr) 65px;padding-left:15px;padding-right:10px}.welcome-copy h1{font-size:22px}.welcome-art{transform:scale(.57);margin-left:-62px}.welcome-stats{left:14px;right:14px}.welcome-stat{gap:4px}.stat-icon{width:22px;height:22px}.welcome-stat small{font-size:7px}.notes-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.note-card{padding:11px 9px}.note-card h3{font-size:11px}.note-preview{font-size:9px}.note-date{font-size:8px}}
@keyframes sheet-in{from{opacity:.7;transform:translateY(25px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

.editor-open{overflow:hidden}
