@property --bg{syntax: "<color>"; inherits: true; initial-value: #FAF9F6;}@property --bg-deep{syntax: "<color>"; inherits: true; initial-value: #F2F0EA;}@property --ink{syntax: "<color>"; inherits: true; initial-value: #1C1B19;}@property --muted{syntax: "<color>"; inherits: true; initial-value: #9B978E;}@property --faint{syntax: "<color>"; inherits: true; initial-value: #C9C5BC;}@property --line{syntax: "<color>"; inherits: true; initial-value: #EAE7DF;}@property --accent{syntax: "<color>"; inherits: true; initial-value: #B5683E;}@property --panel{syntax: "<color>"; inherits: true; initial-value: #FFFFFF;}@property --panel-edge{syntax: "<color>"; inherits: true; initial-value: #ECE9E1;}@property --chip{syntax: "<color>"; inherits: true; initial-value: #F3F0E9;}:root{transition:--bg .4s ease,--bg-deep .4s ease,--ink .4s ease,--muted .4s ease,--faint .4s ease,--line .4s ease,--accent .4s ease,--panel .4s ease,--panel-edge .4s ease,--chip .4s ease}:root[data-theme=light]{--bg: #FAF9F6;--bg-deep: #F2F0EA;--ink: #1C1B19;--muted: #9B978E;--faint: #C9C5BC;--line: #EAE7DF;--accent: #B5683E;--panel: #FFFFFF;--panel-edge: #ECE9E1;--chip: #F3F0E9}:root[data-theme=dark]{--bg: #161618;--bg-deep: #101012;--ink: #ECEAE4;--muted: #6E6B66;--faint: #3A3935;--line: #262522;--accent: #D08A5E;--panel: #1E1E20;--panel-edge: #2A2A2C;--chip: #242427}:root{--font-serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;--font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;--font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;--col-w: 660px}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}html{scrollbar-width:none}html::-webkit-scrollbar{display:none}body{scrollbar-width:none}body::-webkit-scrollbar{display:none}*::-webkit-scrollbar{display:none}*{scrollbar-width:none}html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font-family:var(--font-ui);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;caret-color:var(--accent)}button{font-family:inherit;background:transparent;border:0;color:inherit;cursor:pointer;padding:0}.app{min-height:100%;display:flex;flex-direction:column}.top-bar{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 18px;background:linear-gradient(to bottom,var(--bg) 70%,transparent)}.top-bar-right{display:flex;align-items:center;gap:6px}.count-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 10px 6px 8px;border-radius:999px;color:var(--muted);font-size:12.5px;letter-spacing:.01em;transition:color .2s ease,background-color .2s ease}.count-pill:hover{color:var(--ink);background:var(--chip)}.count-pill .dot{width:8px;height:8px;border-radius:999px;background:var(--accent);display:inline-block}.count-pill .count{font-variant-numeric:tabular-nums}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;color:var(--muted);transition:color .2s ease,background-color .2s ease}.icon-btn:hover{color:var(--ink);background:var(--chip)}.icon-btn.on{color:var(--accent)}.canvas{flex:1;display:flex;justify-content:center;padding:80px 24px 240px}.surface-wrap{width:100%;max-width:var(--col-w);position:relative;transition:opacity .2s ease,transform .2s ease,filter .2s ease}.surface-wrap.releasing{animation:release .62s cubic-bezier(.22,.61,.36,1) forwards}@keyframes release{0%{opacity:1;transform:translateY(0);filter:blur(0)}to{opacity:0;transform:translateY(-26px);filter:blur(8px)}}.surface{font-family:var(--font-serif);font-size:21px;line-height:1.62;color:var(--ink);outline:none;min-height:60vh}.surface p{margin:0 0 .6em}.surface h1{font-size:30px;font-weight:600;margin:.4em 0;line-height:1.25}.surface h2{font-size:25px;font-weight:600;margin:.6em 0 .3em;line-height:1.3}.surface h3{font-size:22px;font-weight:600;margin:.7em 0 .3em;line-height:1.35}.surface blockquote{margin:.4em 0;padding-left:14px;border-left:2px solid var(--faint);color:var(--muted)}.surface ul,.surface ol{margin:.3em 0;padding-left:1.4em}.surface li{margin:.1em 0}.surface li>p{margin:0}.surface hr{border:none;border-top:1px solid var(--line);margin:1em 0}.surface code{font-family:var(--font-mono);font-size:.88em;background:var(--chip);padding:1px 5px;border-radius:4px}.surface a{color:var(--accent);text-decoration-color:var(--faint);text-underline-offset:3px}.surface mark{background:#b5683e2e;color:inherit;padding:0 2px;border-radius:3px}:root[data-theme=dark] .surface mark{background:#d08a5e38}.surface strong{font-weight:700}.surface em{font-style:italic}.surface s{text-decoration:line-through}.link-chip{display:inline-flex;align-items:center;gap:6px;padding:2px 10px 2px 6px;margin:0 2px;border-radius:999px;background:var(--chip);font-family:var(--font-ui);font-size:14px;color:var(--ink);text-decoration:none;vertical-align:baseline;line-height:1.4;transition:background-color .15s ease}.link-chip:hover{background:var(--panel-edge)}.link-chip__icon{width:14px;height:14px;border-radius:3px;flex-shrink:0}.link-chip__domain{letter-spacing:.01em}.placeholder{position:absolute;top:0;left:0;font-family:var(--font-serif);font-size:21px;line-height:1.62;color:var(--faint);pointer-events:none;-webkit-user-select:none;user-select:none}.ProseMirror{outline:none}.ProseMirror p.is-editor-empty:first-child:before{content:""}.action-row{position:fixed;bottom:28px;left:0;right:0;display:flex;justify-content:center;align-items:center;gap:10px;opacity:0;transform:translateY(12px);transition:opacity .26s ease,transform .26s ease;pointer-events:none;z-index:4}.action-row.visible{opacity:1;transform:translateY(0);pointer-events:auto}.keep-btn{display:inline-flex;align-items:center;gap:10px;padding:10px 16px 10px 18px;background:var(--accent);color:#fffcf7;border-radius:999px;font-size:14px;letter-spacing:.01em;box-shadow:0 6px 24px #1c1b192e;transition:filter .15s ease,transform .15s ease}.keep-btn:hover{filter:brightness(1.05)}.keep-btn:active{transform:scale(.98)}.keep-btn .kbd{font-family:var(--font-mono);font-size:11px;opacity:.7;padding:2px 6px;border-radius:5px;background:#fffcf729}.ghost-btn{padding:9px 14px;border-radius:999px;font-size:13.5px;color:var(--muted);background:var(--chip);transition:color .15s ease,background-color .15s ease}.ghost-btn:hover{color:var(--ink);background:var(--panel-edge)}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#1413112e;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;pointer-events:none;transition:opacity .24s ease;z-index:10}.drawer-backdrop.open{opacity:1;pointer-events:auto}:root[data-theme=dark] .drawer-backdrop{background:#00000073}.drawer{position:fixed;top:0;right:0;bottom:0;width:min(440px,92vw);background:var(--panel);border-left:1px solid var(--panel-edge);transform:translate(100%);transition:transform .32s cubic-bezier(.22,.61,.36,1);z-index:11;display:flex;flex-direction:column}.drawer.open{transform:translate(0)}.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 10px}.drawer-title{font-size:12px;letter-spacing:.06em;text-transform:lowercase;color:var(--muted)}.drawer-body{flex:1;overflow-y:auto;padding:8px 14px 40px}.empty-state{padding:60px 12px;text-align:center;color:var(--muted);font-size:14px}.day-group{margin-bottom:14px}.day-label{font-size:11.5px;letter-spacing:.06em;text-transform:lowercase;color:var(--muted);font-weight:500;margin:14px 8px 6px}.note-list{list-style:none;padding:0;margin:0}.note-row{position:relative;padding:12px 14px;border-radius:12px;cursor:pointer;transition:background-color .15s ease}.note-row:hover,.note-row.active{background:var(--bg-deep)}.note-title{font-family:var(--font-serif);font-size:16.5px;font-weight:600;color:var(--ink);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:22px}.note-preview{margin-top:4px;font-family:var(--font-serif);font-size:14.5px;color:var(--muted);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.note-preview-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.note-time{margin-top:6px;font-size:11.5px;color:var(--faint);font-variant-numeric:tabular-nums}.note-delete{position:absolute;top:10px;right:8px;width:24px;height:24px;border-radius:6px;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;opacity:0;transition:opacity .15s ease,color .15s ease,background-color .15s ease}.note-row:hover .note-delete{opacity:1}.note-delete:hover{background:var(--panel-edge);color:var(--ink)}
