:root{color:#522938;font-synthesis:none;text-rendering:optimizelegibility;background:#fff8fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:0 0;border:1px solid #ebd6de;border-radius:10px;min-height:44px;padding:10px 15px}button:hover{background:#f9e8ee}button:disabled{opacity:.5;cursor:default}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #eb256c}input,textarea,select{color:#522938;background:#fff;border:1px solid #e5cbd4;border-radius:9px;width:100%;padding:12px;font-size:16px}label{margin:15px 0 7px;font-size:13px;font-weight:650;display:block}.app-shell{max-width:1500px;margin:auto;padding:0 48px}.topbar{border-bottom:1px solid #f0dde4;justify-content:space-between;align-items:center;height:102px;display:flex}.brand{letter-spacing:-1px;align-items:center;font-size:25px;font-weight:750;text-decoration:none;display:flex}.brand-light{color:#8b6573;margin-left:4px;font-weight:400}.brand-icon{color:#fff;background:#993156;border-radius:12px;place-items:center;width:43px;height:43px;margin-right:12px;font-size:30px;display:grid}.local-label{color:#8b606f;font-size:12px}.local-label span{color:#b74870;margin-right:7px;font-size:8px}.workspace{grid-template-columns:220px 1fr;min-height:calc(100dvh - 102px);display:grid}.sidebar{border-right:1px solid #f0dde4;padding:41px 26px 24px 0}.eyebrow{letter-spacing:1.8px;color:#8c6472;margin:0 0 20px;font-size:10px;font-weight:750}.nav-item{text-align:left;border:0;border-radius:9px;align-items:center;gap:12px;width:100%;margin-bottom:5px;padding:12px;font-size:14px;display:flex}.nav-item.active{color:#8b2d4f;background:#fae2eb;font-weight:700}.nav-item>span:nth-child(2){overflow-wrap:anywhere}.count{background:#faeef2;border-radius:5px;margin-left:auto;padding:1px 7px;font-size:11px}.add-category{color:#8c6170;border:0;margin-top:7px;padding-left:12px;font-size:13px}.sidebar-note{border-top:1px solid #f0dde4;margin-top:100px;padding:20px 14px}.sidebar-note>span{color:#b54970;margin-bottom:12px;font-size:29px;display:block}.sidebar-note strong{font-size:13px;display:block}.sidebar-note p{color:#8b6673;font-size:12px}.category-form button{margin-top:10px}main{min-width:0;padding:44px 0 24px 48px}.page-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:29px;display:flex}.page-heading .eyebrow{margin:0 0 10px}h1{letter-spacing:-1.7px;overflow-wrap:anywhere;margin:0;font-family:Georgia,serif;font-size:46px;font-weight:400;line-height:1.15}.subtitle{color:#8b6673;margin:12px 0 0;font-size:14px}.primary{color:#fff;background:#993156;border-color:#993156;font-weight:600}.primary:hover{background:#7a2443}.new-note{white-space:nowrap;padding:12px 20px;box-shadow:0 3px 7px #52293810}.new-note span{vertical-align:middle;margin-right:5px;font-size:20px}.search-wrap{background:#fff;border:1px solid #f0dde4;border-radius:11px;align-items:center;gap:12px;padding:0 15px;display:flex}.search-wrap>span{color:#996477;font-size:28px}.search-wrap input{background:0 0;border:0;min-width:0;padding:15px 0}.search-wrap button{border:0;padding:0 10px;font-size:24px}.list-heading{color:#8e6372;letter-spacing:1.2px;justify-content:space-between;margin:30px 0 0;font-size:11px;display:flex}.list-heading span:last-child{letter-spacing:0}.feedback{color:#8c3b58;min-height:18px;margin:6px 0;font-size:12px}.notes-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.note-card{background:#fcedf2;border:1px solid #f0d9e1;border-radius:14px;flex-direction:column;display:flex;overflow:hidden}.tone-1{background:#fae5ed}.tone-2{background:#fbedf2}.tone-3{background:#fae8ee}.card-top{justify-content:space-between;align-items:center;gap:8px;padding:12px 13px 0 20px;display:flex}.category-tag{letter-spacing:.3px;overflow-wrap:anywhere;font-size:10px;font-weight:600}.pin-button{color:#8e6171;border:0;flex-shrink:0;width:44px;padding:0;font-size:23px}.is-pinned{color:#9e2752}.note-open{text-align:left;border:0;border-radius:0;flex-direction:column;flex:1;width:100%;min-height:215px;padding:6px 20px 20px;display:flex}.note-open:hover{background:#ffffff35}.note-open h2{letter-spacing:-.4px;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 12px;font-family:Georgia,serif;font-size:23px;font-weight:400;line-height:1.3;display:-webkit-box;overflow:hidden}.note-open p{color:#805363;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-line-clamp:4;-webkit-box-orient:vertical;margin:0 0 24px;font-size:13px;line-height:1.8;display:-webkit-box;overflow:hidden}.note-open time{color:#8c5c6d;margin-top:auto;font-size:10px}.open-hint{color:#8a4860;align-self:flex-end;margin-top:6px;font-size:10px}.empty{text-align:center;background:radial-gradient(#fbe5ed80,#0000 70%);border:1px dashed #efcdd9;border-radius:16px;min-height:350px;padding:50px 20px 56px}.empty-art{color:#af637e;margin-bottom:22px;font-size:65px;line-height:1;display:inline-block;position:relative;transform:rotate(-8deg)}.empty-art span{color:#b94d74;font-size:34px;position:absolute;top:-14px;right:-25px}.empty h2{letter-spacing:-.6px;margin:0 0 10px;font-family:Georgia,serif;font-size:27px;font-weight:400}.empty p{color:#8f6071;margin:0 0 25px;font-size:14px}footer{color:#8c6674;border-top:1px solid #f0dde4;justify-content:space-between;margin-top:48px;padding-top:20px;font-size:11px;display:flex}.error{color:#873f24;background:#fff0e9;border:1px solid #dca58a;border-radius:8px;padding:12px;font-size:13px}.update{background:#fce9f0;border:1px solid #f0c9d7;border-radius:12px;flex-wrap:wrap;align-items:center;gap:10px;margin-top:20px;padding:16px;font-size:13px;display:flex}.update p{flex:1}dialog{color:#522938;background:#fff8fb;border:1px solid #eed2dc;border-radius:18px;width:min(620px,100% - 32px);max-height:calc(100dvh - 32px);padding:28px;box-shadow:0 25px 100px #49152833}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#501f3175}.editor-top{justify-content:space-between;align-items:center;display:flex}.editor-top h2{margin:0;font-family:Georgia,serif;font-size:29px;font-weight:400}.editor-top button{border:0;font-size:25px}.editor-options{align-items:center;gap:24px;display:flex}.editor-options>div{flex:1;min-width:0}.checkbox{white-space:nowrap;align-items:center;gap:8px;display:flex}.checkbox input{accent-color:#993156;width:20px;height:20px}textarea{resize:vertical;min-height:220px;line-height:1.7}.editor-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:25px;display:flex}.danger{color:#9d3b32}.editor-actions .danger{margin-right:auto}.storage-hint{color:#8d6573;text-align:center;margin:18px 0 0;font-size:11px}.confirmation{background:#fae7ee;border-radius:10px;margin-top:20px;padding:16px}.confirmation p{margin-top:0}.confirmation button{background:#fff;margin:0 8px 6px 0}@media (width>=1250px){main{padding-top:55px;padding-left:55px}.notes-grid{gap:22px}}@media (width<=1050px){.app-shell{padding:0 28px}.workspace{grid-template-columns:190px 1fr}main{padding-left:28px}.sidebar{padding-right:18px}.notes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.app-shell{padding:0 20px}.topbar{height:80px}.brand{font-size:22px}.brand-icon{width:36px;height:36px;margin-right:8px;font-size:26px}.local-label{max-width:85px;font-size:10px}.workspace{flex-direction:column;display:flex}.sidebar{border:0;padding:18px 0 0}.sidebar>.eyebrow,.sidebar-note{display:none}.sidebar nav{gap:7px;padding:4px 3px 8px;display:flex;overflow-x:auto}.nav-item{white-space:nowrap;background:#faedf2;flex-shrink:0;gap:7px;width:auto;margin:0;padding:10px 12px;font-size:12px}.nav-item>span:nth-child(2){text-overflow:ellipsis;max-width:160px;overflow:hidden}.add-category{min-height:36px;margin:0;padding:5px 10px;font-size:12px}.category-form{max-width:360px;padding-bottom:15px}.category-form label{margin-top:5px}main{padding:24px 0}.page-heading{align-items:flex-start;gap:8px;margin-bottom:25px}.page-heading .eyebrow{letter-spacing:1.1px;font-size:8px}h1{font-size:37px}.subtitle{max-width:200px;font-size:12px}.new-note{bottom:max(22px,env(safe-area-inset-bottom));z-index:3;border-radius:30px;padding:13px 21px;position:fixed;right:20px;box-shadow:0 4px 18px #5f183238}.notes-grid{gap:12px}.note-open{min-height:210px;padding:7px 15px 16px}.note-open h2{font-size:21px}.card-top{padding-left:15px}.note-open p{font-size:12px}.category-tag{font-size:9px}.empty{padding:40px 20px}.empty h2{font-size:25px}footer{gap:15px;margin-top:32px;padding-bottom:90px;font-size:10px}.update{margin-bottom:80px}dialog{max-height:calc(100dvh - 20px);padding:20px}textarea{min-height:190px}.editor-options{gap:12px}.checkbox{font-size:12px}.editor-actions button{padding:10px 12px}}@media (width<=370px){.notes-grid{grid-template-columns:1fr}.app-shell{padding:0 16px}.editor-options{flex-direction:column;align-items:stretch}.checkbox{margin-top:4px}}@media (prefers-reduced-motion:no-preference){button{transition:background .15s}}
