@font-face{font-family:CaskaydiaCove Nerd Font;src:url(/assets/CaskaydiaCoveNerdFont-Regular-DaUVipLr.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:CaskaydiaCove Nerd Font;src:url(/assets/CaskaydiaCoveNerdFont-Italic-CckK1T-V.ttf) format("truetype");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:CaskaydiaCove Nerd Font;src:url(/assets/CaskaydiaCoveNerdFont-Bold-DQbiH-Mi.ttf) format("truetype");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:CaskaydiaCove Nerd Font;src:url(/assets/CaskaydiaCoveNerdFont-BoldItalic-DNJWodcU.ttf) format("truetype");font-weight:700;font-style:italic;font-display:swap}.app-root,:root,body{font-family:CaskaydiaCove Nerd Font,Segoe UI,sans-serif;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}button,input,textarea,select,.rich-editor__content,.rich-editor__content .ProseMirror{font-family:inherit}.layout{min-height:100vh;display:grid;grid-template-columns:20rem 1fr;background:#f2f2f7;color:#1c1c1e;font-family:CaskaydiaCove Nerd Font,Segoe UI,sans-serif;transition:background .2s ease,color .2s ease}.layout--dark{background:#1c1c1e;color:#f2f2f7}.layout--compact{grid-template-columns:100%}.auth-layout{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:3rem 1.5rem;background:linear-gradient(160deg,#f7f9fcfa,#e8ebf1e6);color:#1c1c1e}.auth-screen{width:min(420px,100%);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);background:#ffffffe6;border-radius:24px;border:1px solid rgba(0,0,0,.06);box-shadow:0 24px 60px #0f172a2e;padding:2.75rem 2.5rem;display:flex;justify-content:center}.auth-screen__card{display:flex;flex-direction:column;gap:1.25rem;width:100%}.auth-screen__header{display:flex;flex-direction:column;gap:.6rem}.auth-screen__header h1{margin:0;font-size:2rem;letter-spacing:-.01em}.auth-screen__header p{margin:0;font-size:.95rem;color:#3c3c43b3;line-height:1.5}.auth-screen__label{font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#3c3c43b3}.auth-screen__input{padding:.75rem .85rem;border-radius:.85rem;border:1px solid rgba(60,60,67,.16);background:#76768014;font-size:1rem;transition:border .12s ease,box-shadow .12s ease,background .12s ease}.auth-screen__input:focus{outline:none;border-color:#2ecc7199;box-shadow:0 0 0 4px #2ecc711f;background:#fffffff2}.auth-screen__error{margin:-.5rem 0 0;padding:.65rem .8rem;border-radius:.75rem;background:#ff4d4f1f;border:1px solid rgba(255,77,79,.4);color:#d4380d;font-size:.85rem}.auth-screen__submit{background:#007aff;color:#fff;border:none;border-radius:.95rem;padding:.85rem 1rem;font-size:1rem;font-weight:600;cursor:pointer;transition:filter .15s ease,transform .15s ease}.auth-screen__submit:hover:not(:disabled){filter:brightness(.95);transform:translateY(-1px)}.auth-screen__submit:disabled{opacity:.6;cursor:not-allowed}.auth-screen__switch{background:transparent;color:#007aff;border:none;font-weight:600;font-size:.95rem;cursor:pointer;align-self:center;transition:color .12s ease,transform .12s ease}.auth-screen__switch:hover{color:#0059c9;transform:translateY(-1px)}.auth-layout.layout--dark{background:radial-gradient(circle at top,#2e2e32e6,#0c0c0cf2);color:#f2f2f7}.auth-screen--dark{background:#242426eb;border:1px solid rgba(255,255,255,.08);box-shadow:0 24px 60px #000000a6;color:#f2f2f7}.auth-screen--dark .auth-screen__header p{color:#ebebf5b3}.auth-screen--dark .auth-screen__label{color:#ebebf599}.auth-screen--dark .auth-screen__input{background:#7676803d;border:1px solid rgba(118,118,128,.45);color:#f2f2f7}.auth-screen--dark .auth-screen__input:focus{background:#1c1c1ef2;border-color:#2ecc7199;box-shadow:0 0 0 4px #2ecc712e}.auth-screen--dark .auth-screen__switch{color:#7ec0ff}.auth-screen--dark .auth-screen__switch:hover{color:#a6d8ff}.auth-screen--dark .auth-screen__error{background:#ff636e24;border:1px solid rgba(255,99,110,.55);color:#ffccd2}.auth-screen--dark .auth-screen__submit{background:linear-gradient(145deg,#0a84ff,#5ac8fa);color:#0b0b0d}.auth-screen--dark .auth-screen__submit:hover:not(:disabled){filter:brightness(1.08)}.auth-screen__switch:focus-visible,.auth-screen__submit:focus-visible,.auth-screen__input:focus-visible{outline:none}.sidebar{background:#ffffffe0;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);color:#1c1c1e;display:flex;flex-direction:column;padding:1.5rem;gap:1.25rem;border-right:1px solid rgba(0,0,0,.08);box-shadow:inset -1px 0 #ffffff4d;position:relative}.sidebar--compact{position:fixed;inset:0 auto 0 0;width:min(320px,100%);max-width:100%;transform:translate(-100%);transition:transform .18s ease,box-shadow .18s ease;z-index:20;box-shadow:none}.sidebar--compact.sidebar--visible{transform:translate(0);box-shadow:6px 0 24px #0000002e}.sidebar__header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.sidebar__title{display:flex;flex-direction:column;gap:.1rem}.sidebar__title h2{margin:0;font-size:1rem;font-weight:600}.sidebar__subtitle{font-size:.75rem;color:#3c3c4399}.sidebar__header-actions{display:flex;align-items:center;gap:.5rem}.sidebar__logout{background:#7676801f;border:1px solid rgba(60,60,67,.16);color:#1c1c1ed9;padding:.35rem .9rem;border-radius:.75rem;font-size:.8rem;font-weight:600;cursor:pointer;transition:background .12s ease,box-shadow .12s ease,transform .12s ease}.sidebar__logout:hover{background:#76768033;box-shadow:0 8px 18px #00000014;transform:translateY(-1px)}.sidebar__logout:focus-visible{outline:2px solid rgba(46,204,113,.6);outline-offset:2px}.sidebar__new-note{background:#2ecc71;border:none;color:#fff;padding:.4rem .95rem;border-radius:.75rem;font-weight:600;font-size:.85rem;cursor:pointer;transition:filter .12s ease,transform .12s ease}.sidebar__new-note:hover{transform:translateY(-1px);filter:brightness(.92)}.sidebar__close{background:#7676801f;border:none;color:#1c1c1e;padding:.35rem .75rem;border-radius:.75rem;font-size:.8rem;cursor:pointer}.sidebar__close:hover{background:#7676802e}.sidebar__theme-toggle{background:#7676801f;border:none;color:inherit;padding:.35rem .6rem;border-radius:.75rem;font-size:1.1rem;cursor:pointer;transition:background .12s ease,transform .12s ease;display:flex;align-items:center;justify-content:center}.sidebar__theme-toggle:hover{background:#76768033;transform:scale(1.05)}.layout--dark .sidebar{background:#1c1c1ef2;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);color:#f2f2f7;border-right:1px solid rgba(255,255,255,.08);box-shadow:inset -1px 0 #ffffff0d}.layout--dark .sidebar__subtitle{color:#ebebf599}.layout--dark .sidebar__close,.layout--dark .sidebar__theme-toggle{background:#7676803d;color:#f2f2f7}.layout--dark .sidebar__logout{background:#7676803d;border:1px solid rgba(255,255,255,.1);color:#f2f2f7}.layout--dark .sidebar__logout:hover{background:#76768057;box-shadow:0 8px 18px #0006}.layout--dark .sidebar__close:hover,.layout--dark .sidebar__theme-toggle:hover{background:#76768052}.layout--dark .sidebar__search input{background:#7676803d;border:1px solid rgba(255,255,255,.08);color:#f2f2f7}.layout--dark .sidebar__search input::placeholder{color:#ebebf580}.layout--dark .sidebar__empty{border-color:#ffffff29;color:#ebebf599}.layout--dark .sidebar__empty button{background:#7676803d}.layout--dark .sidebar__empty button:hover{background:#76768052}.layout--dark .note-list-item:hover{background:#76768029}.layout--dark .note-list-item--active{background:#7676803d}.layout--dark .note-list-item__time{color:#ebebf573}.layout--dark .note-list-item__preview{color:#ebebf599}.layout--dark .tag{background:#2ecc7159;color:#7ef0b3}.sidebar__search input{width:100%;padding:.6rem .75rem;border-radius:.75rem;border:1px solid rgba(60,60,67,.12);background:#7676801f;color:inherit;font-size:.9rem}.sidebar__search input::placeholder{color:#3c3c4380}.sidebar__tags{display:flex;flex-wrap:wrap;gap:.5rem}.sidebar__tag{border:none;border-radius:999px;padding:.35rem .9rem;background:#7676801f;color:inherit;font-size:.8rem;font-weight:600;cursor:pointer;transition:background .12s ease,transform .12s ease}.sidebar__tag:hover{background:#76768033;transform:translateY(-1px)}.sidebar__tag--active{background:#2ecc71;color:#062b17}.layout--dark .sidebar__tag{background:#7676803d}.layout--dark .sidebar__tag:hover{background:#76768052}.layout--dark .sidebar__tag--active{background:#2ecc71d9;color:#062b17}.sidebar__tag-clear{border:none;border-radius:999px;padding:.35rem .9rem;background:transparent;color:#3c3c4399;font-size:.8rem;cursor:pointer}.sidebar__tag-clear:hover{color:#3c3c43e6}.layout--dark .sidebar__tag-clear{color:#ebebf599}.layout--dark .sidebar__tag-clear:hover{color:#ebebf5d9}.sidebar__empty{border:1px dashed rgba(60,60,67,.16);border-radius:1rem;padding:1.25rem;text-align:center;color:#3c3c4399;display:flex;flex-direction:column;gap:.75rem}.sidebar__empty button{align-self:center;background:#7676801f;border:none;color:inherit;padding:.35rem .9rem;border-radius:.75rem;cursor:pointer}.sidebar__empty button:hover{background:#76768033}.sidebar__list{display:flex;flex-direction:column;gap:0;overflow-y:auto;padding-right:.25rem}.note-list-item{position:relative;display:flex;flex-direction:column;gap:.5rem;padding:.85rem .75rem .85rem 1rem;border-radius:0;background:transparent;border:none;color:inherit;text-align:left;cursor:pointer;transition:background .12s ease}.note-list-item:hover{background:#76768014}.note-list-item--active{background:#7676801f}.note-list-item--active:before{content:"";position:absolute;left:0;top:.6rem;bottom:.6rem;width:3px;border-radius:999px;background:#2ecc71}.note-list-item__header{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem}.note-list-item__title{margin:0;font-size:.95rem;font-weight:600}.note-list-item__time{font-size:.75rem;color:#3c3c4373}.note-list-item__preview{margin:0;font-size:.82rem;color:#3c3c4399;line-height:1.4}.note-list-item__tags{display:flex;flex-wrap:wrap;gap:.4rem}.tag{background:#2ecc712e;color:#1b5c3b;padding:.18rem .5rem;border-radius:9999px;font-size:.7rem;font-weight:600}.workspace{position:relative;padding:2.5rem 3rem;display:flex;flex-direction:column;gap:1.5rem}.workspace__toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;background:#ffffffd9;border-radius:16px;border:1px solid rgba(0,0,0,.08);padding:.6rem .8rem;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.workspace__toggle,.workspace__new{border:none;border-radius:12px;padding:.45rem .9rem;font-size:.9rem;font-weight:600;cursor:pointer}.workspace__toggle{background:#7676801f;color:#1c1c1e}.workspace__toggle:hover{background:#76768033}.workspace__new{background:#2ecc71;color:#fff}.workspace__new:hover{filter:brightness(.92)}.workspace__error{margin:1rem;padding:.75rem 1rem;border-radius:.75rem;background:#ff4d4f1f;border:1px solid rgba(255,77,79,.4);color:#d4380d;font-size:.9rem}.layout--dark .workspace__toolbar{background:#1c1c1ee6;border:1px solid rgba(255,255,255,.08)}.layout--dark .workspace__toggle{background:#7676803d;color:#f2f2f7}.layout--dark .workspace__toggle:hover{background:#76768052}.note-editor{background:#ffffffeb;border-radius:1.75rem;box-shadow:0 18px 48px #0f172a1f;padding:2rem 2.5rem 2.5rem;display:flex;flex-direction:column;gap:1.5rem;min-height:calc(100vh - 4rem)}.note-editor:focus-visible{outline:none}.note-editor--empty{align-items:center;justify-content:center;text-align:center}.layout--dark .note-editor{background:#1c1c1ef2;box-shadow:0 18px 48px #0006}.layout--dark .note-editor__meta{color:#ebebf58c}.note-editor__meta{margin:0;color:#3c3c438c;font-size:.85rem}.note-editor__tags{display:flex;gap:.4rem;flex-wrap:wrap}.rich-editor{display:flex;flex-direction:column;border-radius:1.5rem;border:1px solid rgba(0,0,0,.05);background:#ffffffd9;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff4d}.rich-editor__header{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.5rem .75rem;background:#f4f4f7c7;border-bottom:1px solid rgba(0,0,0,.04)}.rich-editor__meta{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.rich-editor__toolbar{display:flex;align-items:center;gap:.35rem}.rich-editor__spacer{flex:1}.rich-editor__button{min-width:2.15rem;padding:.35rem .55rem;border:none;border-radius:.75rem;background:transparent;color:#1c1c1e;font-weight:600;font-size:.85rem;cursor:pointer;transition:background .12s ease,color .12s ease}.rich-editor__button:hover:not(:disabled){background:#7676802e}.rich-editor__button:disabled{opacity:.45;cursor:not-allowed}.rich-editor__button--active{background:#2ecc7138}.layout--dark .rich-editor{border:1px solid rgba(255,255,255,.08);background:#2c2c2e99;box-shadow:inset 0 0 0 1px #ffffff0d}.layout--dark .rich-editor__header{background:#3a3a3ccc;border-bottom:1px solid rgba(255,255,255,.06)}.layout--dark .rich-editor__toolbar{gap:.35rem}.layout--dark .rich-editor__button{color:#f2f2f7}.layout--dark .rich-editor__button:hover:not(:disabled){background:#7676804d}.layout--dark .rich-editor__button--active{background:#2ecc7166}.password-modal{position:fixed;inset:0;background:#1118278c;display:flex;align-items:center;justify-content:center;padding:2rem;z-index:30;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.password-modal__content{background:#fff;border-radius:1.25rem;padding:2rem;width:min(420px,100%);display:flex;flex-direction:column;gap:1rem;box-shadow:0 24px 60px #0f172a2e}.password-modal__content h2{margin:0;font-size:1.45rem}.password-modal__label{font-size:.9rem;font-weight:600}.password-modal__input{padding:.65rem .85rem;border-radius:.75rem;border:1px solid rgba(60,60,67,.2);font-size:1rem;font-family:inherit}.password-modal__input:focus{outline:2px solid rgba(46,204,113,.45);outline-offset:2px}.password-modal__error{margin:0;color:#c41c3f;font-size:.85rem}.password-modal__actions{display:flex;justify-content:flex-end;gap:.75rem}.password-modal__confirm{background:#2ecc71;color:#fff;border:none;padding:.55rem 1.1rem;border-radius:.75rem;font-weight:600;cursor:pointer}.password-modal__confirm:hover{filter:brightness(.92)}.password-modal__cancel{background:#7676801f;color:inherit;border:none;padding:.55rem 1.1rem;border-radius:.75rem;cursor:pointer}.password-modal__cancel:hover{background:#76768033}.layout--dark .password-modal__content{background:#1c1c1e;color:#f2f2f7;box-shadow:0 24px 60px #00000073}.layout--dark .password-modal__input{background:#7676803d;color:#f2f2f7;border:1px solid rgba(118,118,128,.4)}.layout--dark .password-modal__input:focus{outline:2px solid rgba(46,204,113,.55)}.layout--dark .password-modal__cancel{background:#7676803d;color:#f2f2f7}.layout--dark .password-modal__cancel:hover{background:#76768057}.layout--dark .rich-editor__content,.layout--dark .rich-editor__content .ProseMirror{color:#f2f2f7}.layout--dark .rich-editor__content blockquote{border-left-color:#fff3;color:#ebebf5cc}.layout--dark .rich-editor__content pre{background:#7676804d;color:#f2f2f7}.rich-editor__content{padding:1.5rem 1.75rem 2.5rem;min-height:20rem;font-size:1.02rem;line-height:1.68;color:#1c1c1e}.rich-editor__content .ProseMirror{outline:none;border:none;background:transparent;min-height:20rem}.rich-editor__content .ProseMirror:focus{outline:none}.rich-editor__content p,.rich-editor__content ul,.rich-editor__content ol,.rich-editor__content blockquote,.rich-editor__content pre{margin:0 0 .9rem}.rich-editor__content ul,.rich-editor__content ol{padding-left:1.5rem}.rich-editor__content h1,.rich-editor__content h2,.rich-editor__content h3{font-weight:700;margin:1.2rem 0 .6rem}.rich-editor__content h1{font-size:1.8rem}.rich-editor__content h2{font-size:1.4rem}.rich-editor__content h3{font-size:1.2rem}.rich-editor__content blockquote{border-left:3px solid rgba(0,0,0,.1);padding-left:1rem;color:#3c3c43cc}.rich-editor__content pre{background:#3c3c431f;padding:.9rem 1rem;border-radius:.75rem;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.9rem}.rich-editor__content:focus{outline:none}.note-editor__panels{display:grid;gap:1.2rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.note-editor__panel{border:1px solid rgba(0,0,0,.08);border-radius:1rem;padding:1.25rem;background:#76768014;display:flex;flex-direction:column;gap:.75rem}.note-editor__panel-title{margin:0;font-size:1rem;font-weight:600;color:#1c1c1e}.note-editor__empty{margin:0;color:#3c3c4380;font-size:.9rem}.attachment-list,.todo-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.6rem}.attachment-list__item,.todo-list__item{display:flex;justify-content:space-between;align-items:center;gap:.6rem;font-size:.9rem}.attachment-list__name{font-weight:600;color:#1c1c1e}.attachment-list__meta{color:#3c3c4399;font-size:.82rem}.todo-list__item{justify-content:flex-start}.todo-list__item input[type=checkbox]{accent-color:#007aff}.todo-list__label{font-weight:500}.todo-list__label--done{color:#94a3b8;text-decoration:line-through}@media (max-width: 960px){.workspace{padding:1.5rem}.note-editor{min-height:auto;padding:1.75rem;border-radius:1.25rem}}:root{color-scheme:light dark}body{margin:0;padding:0;min-height:100vh}
