@import "https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&display=swap";:root{color:#25231f;font-synthesis:none;--paper:#f8f4ea;--paper-deep:#ece4d5;--ink:#25231f;--muted:#746e63;--line:#d8cebc;--rust:#a34b2e;--rust-dark:#78351f;background:#f4efe4;font-family:Newsreader,Georgia,serif}*{box-sizing:border-box}html{background:var(--paper);min-width:320px}body{background:var(--paper);min-width:320px;min-height:100vh;margin:0}button,input,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--rust);outline-offset:3px}.eyebrow,.auth-brand p,.wordmark,.note-count,.save-status,.editor-footer,.mode-switch,.spark-button{letter-spacing:.08em;text-transform:uppercase;font-family:DM Mono,monospace}.brand-mark{border:1px solid var(--ink);background:var(--rust);color:#fffaf0;border-radius:50% 50% 46% 54%/48% 44% 56% 52%;place-items:center;width:52px;height:52px;font-size:27px;font-style:italic;display:grid;transform:rotate(-3deg)}.brand-mark.small{width:42px;height:42px;font-size:22px}.brand-mark.tiny{width:30px;height:30px;font-size:16px}.loading-screen{min-height:100vh;color:var(--muted);place-content:center;justify-items:center;gap:14px;display:grid}.auth-shell{background:linear-gradient(90deg, transparent 0 9%, #a34b2e1f 9% calc(9% + 1px), transparent calc(9% + 1px)), repeating-linear-gradient(0deg, transparent 0 31px, #50483c12 31px 32px), var(--paper);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{border:1px solid var(--line);background:#f8f4eaf0;width:min(100%,520px);padding:clamp(28px,6vw,56px);box-shadow:10px 12px #50443214}.auth-brand{align-items:center;gap:14px;margin-bottom:52px;display:flex}.auth-brand p{margin:0;font-size:13px;font-weight:500}.eyebrow{color:var(--rust);margin:0 0 12px;font-size:11px;font-weight:500}.auth-copy h1{letter-spacing:-.04em;margin:0;font-size:clamp(42px,9vw,64px);font-weight:500;line-height:.96}.auth-copy>p:last-child{color:var(--muted);margin:22px 0 34px;font-size:18px;line-height:1.5}.auth-form{gap:12px;display:grid}.auth-form label{text-transform:uppercase;letter-spacing:.06em;font-family:DM Mono,monospace;font-size:11px}.auth-form input{border:1px solid var(--line);width:100%;color:var(--ink);background:#fffaf0;border-radius:0;padding:15px 16px;font-size:18px}.auth-form .code-input{letter-spacing:.25em;font-family:DM Mono,monospace;font-size:22px}.primary-button{background:var(--rust);color:#fff;cursor:pointer;text-transform:uppercase;letter-spacing:.08em;border:0;padding:15px 18px;font-family:DM Mono,monospace;font-size:12px}.primary-button:hover:not(:disabled){background:var(--rust-dark)}.primary-button:disabled{opacity:.55;cursor:wait}.text-button{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:8px;text-decoration:underline}.form-error{color:var(--rust-dark);margin:14px 0 0}.auth-footnote{color:var(--muted);border-top:1px solid var(--line);margin:42px 0 0;padding-top:16px;font-size:13px}.notes-shell{min-height:100vh;padding-bottom:110px}.app-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:74px;padding:0 clamp(20px,5vw,56px);display:flex}.wordmark{color:var(--ink);align-items:center;gap:11px;font-size:12px;font-weight:500;text-decoration:none;display:flex}.sign-out{color:var(--muted);cursor:pointer;background:0 0;border:0;font-family:DM Mono,monospace;font-size:11px}.sign-out:hover{color:var(--rust)}.notes-content{width:min(100% - 40px,760px);margin:0 auto;padding-top:clamp(44px,8vw,88px)}.list-heading{border-bottom:2px solid var(--ink);justify-content:space-between;align-items:end;padding-bottom:24px;display:flex}.list-heading h1{letter-spacing:-.035em;margin:0;font-size:clamp(42px,7vw,62px);font-weight:500;line-height:1}.note-count{color:var(--muted);margin:0 0 7px;font-size:10px}.note-list{margin:0;padding:0;list-style:none}.note-list li{border-bottom:1px solid var(--line)}.note-row{text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:20px;width:100%;padding:24px 4px;display:grid}.note-row:hover strong{color:var(--rust)}.note-copy{gap:7px;min-width:0;display:grid}.note-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:22px;font-weight:500;transition:color .15s;overflow:hidden}.note-copy>span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.note-row time{color:var(--muted);white-space:nowrap;margin-top:5px;font-family:DM Mono,monospace;font-size:10px}.load-more{border:1px solid var(--line);color:var(--muted);cursor:pointer;text-transform:uppercase;letter-spacing:.06em;background:0 0;margin:28px auto 0;padding:11px 16px;font-family:DM Mono,monospace;font-size:10px;display:block}.load-more:hover{color:var(--rust);border-color:var(--rust)}.list-message,.empty-state{color:var(--muted);padding:64px 0}.list-message.error{color:var(--rust-dark)}.empty-state{text-align:center}.empty-state h2{color:var(--ink);margin:22px 0 8px;font-size:28px;font-weight:500}.empty-state p{margin:0}.empty-rule{background:var(--rust);width:54px;height:1px;margin:auto;display:block;transform:rotate(-4deg)}.fab{right:clamp(22px,5vw,54px);bottom:calc(24px + env(safe-area-inset-bottom));border:1px solid var(--rust-dark);background:var(--rust);color:#fff;cursor:pointer;border-radius:50%;place-items:center;width:62px;height:62px;display:grid;position:fixed;box-shadow:5px 6px #4632232e}.fab:hover{transform:translateY(-2px);box-shadow:5px 8px #46322329}.fab svg{fill:currentColor;width:25px}.editor-modal{z-index:10;width:100%;max-width:none;height:100%;max-height:none;color:var(--ink);background:var(--paper);border:0;margin:0;padding:0;position:fixed;inset:0;overflow:auto}.editor-header{z-index:2;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f8f4eaf2;grid-template-columns:1fr auto 1fr;align-items:center;height:66px;padding:0 clamp(14px,4vw,42px);display:grid;position:sticky;top:0}.icon-button{cursor:pointer;background:0 0;border:0;place-items:center;width:40px;height:40px;display:grid}.icon-button:hover{color:var(--rust)}.icon-button svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:22px}.back-button{justify-self:start}.editor-actions{justify-self:end}.save-status{color:var(--muted);font-size:9px}.save-status.error{color:var(--rust-dark)}.editor-page{grid-template-rows:auto auto minmax(360px,1fr) auto;width:min(100% - 32px,860px);min-height:calc(100vh - 66px);margin:0 auto;padding:clamp(30px,6vw,64px) 0 30px;display:grid}.title-line{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;display:grid}.title-input{letter-spacing:-.035em;min-width:0;color:var(--ink);background:0 0;border:0;border-bottom:1px solid #0000;padding:0 0 8px;font-size:clamp(34px,7vw,58px);font-weight:500;line-height:1}.title-input:hover,.title-input:focus{border-bottom-color:var(--line);outline-offset:5px}.spark-button{border:1px solid var(--line);color:var(--rust);cursor:pointer;white-space:nowrap;background:0 0;padding:9px 11px;font-size:9px}.spark-button:disabled{color:var(--muted);opacity:.5;cursor:default}.mode-switch{border-bottom:1px solid var(--line);gap:20px;margin:30px 0 14px;display:flex}.mode-switch button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:0 1px 10px;font-size:9px}.mode-switch button.active{border-bottom-color:var(--rust);color:var(--ink)}.note-editor{resize:none;width:100%;min-height:52vh;color:var(--ink);background:repeating-linear-gradient(0deg,#0000 0 31px,#50483c0f 31px 32px);border:0;padding:9px 2px 40px;font-family:DM Mono,monospace;font-size:15px;line-height:32px}.note-editor:focus{outline:0}.note-editor::placeholder{color:#aaa193}.markdown-preview{overflow-wrap:anywhere;min-height:52vh;padding:8px 2px 40px;font-size:19px;line-height:1.65}.markdown-preview h1,.markdown-preview h2,.markdown-preview h3{font-weight:500;line-height:1.15}.markdown-preview h1{font-size:2.2em}.markdown-preview h2{font-size:1.7em}.markdown-preview h3{font-size:1.3em}.markdown-preview pre,.markdown-preview code{background:var(--paper-deep);font-family:DM Mono,monospace}.markdown-preview code{padding:.1em .3em;font-size:.82em}.markdown-preview pre{padding:16px;overflow:auto}.markdown-preview blockquote{border-left:3px solid var(--rust);color:var(--muted);margin-left:0;padding-left:20px}.markdown-preview a{color:var(--rust-dark)}.markdown-preview img{max-width:100%}.preview-empty{color:var(--muted);font-style:italic}.editor-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;padding-top:12px;font-size:9px;display:flex}.editor-footer p{margin:0}.editor-footer .limit-error{color:var(--rust-dark);font-weight:500}@media (width<=560px){.auth-shell{background-position-x:24px;place-items:stretch stretch;padding:0}.auth-card{min-height:100vh;box-shadow:none;border:0;padding:34px 26px}.auth-brand{margin-bottom:64px}.notes-content{width:calc(100% - 32px);padding-top:40px}.note-row{gap:12px;padding:21px 0}.note-copy strong{font-size:20px}.note-copy>span{font-size:14px}.fab{width:58px;height:58px;right:20px}.editor-page{width:calc(100% - 30px);padding-top:32px}.title-line{grid-template-columns:1fr;gap:12px}.spark-button{justify-self:start}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}
