@font-face{font-family:Roboto;src:url('/fonts/roboto-latin-400-normal.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Roboto;src:url('/fonts/roboto-latin-500-normal.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap}
:root{font-family:Roboto,sans-serif;color:#3c3c3c;background:#fafafa;color-scheme:light;font-size:14px}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit;color:inherit}button,a,input{touch-action:manipulation}button,a{outline-offset:5px}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button{cursor:pointer;border:0;background:none;padding:10px 12px;border-radius:3px}button:hover{background:#ededed}button:disabled{opacity:.45;cursor:wait}header{position:fixed;top:0;left:0;right:0;z-index:10;display:flex;align-items:center;justify-content:space-between;pointer-events:none;padding:7px 9px}header>*{pointer-events:auto}#menu-button{padding:0;width:36px;height:36px}#menu-button svg{width:32px;height:32px;fill:none;stroke:#3c3c3c;stroke-width:1.7;stroke-linejoin:round}#status{font-size:12px;padding:5px 8px;border-radius:3px;background:#fafafae6;color:#7b7b7b;max-width:70vw;text-align:right}#status[data-kind=error]{color:#945c45}#status:empty{display:none}
#writing{max-width:800px;margin:0 auto;padding:60px 25px 40vh}.writing-editor{display:block;width:100%;min-height:calc(60vh - 102px);resize:none;overflow:hidden;border:none;outline:none;background:transparent;font-family:Roboto,sans-serif;font-size:18px;line-height:27px;padding:0;margin:0;white-space:pre-wrap;overflow-wrap:break-word;tab-size:4}
#menu{position:fixed;z-index:20;top:49px;left:12px;width:230px;background:#fafafa;border:1px solid #e3e3e3;box-shadow:0 8px 24px #0000000a;padding:14px 8px}#menu a,#menu button{display:block;width:100%;text-align:left;padding:11px 14px}#menu .brand{font-size:11px;letter-spacing:1.2px;color:#888;padding:0 14px 8px}#word-count{position:fixed;bottom:0;right:16px;padding:7px 12px;background:#f1f1f1e6;font-size:12px;color:#777;pointer-events:none}
.panel{max-width:750px;margin:70px auto;padding:0 25px}.panel-head,.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px}h1{font-size:21px;font-weight:400;margin:0 0 20px}h2{font-size:15px;font-weight:500;margin:24px 0 12px}p{line-height:1.6}.muted{color:#888}.tabs{display:flex;gap:4px;margin:8px 0 24px}.tabs button[aria-pressed=true]{background:#ededed}.list{list-style:none;padding:0;margin:0}.list li{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7e7e7;gap:12px;min-height:55px}.list a{padding:16px 0;flex:1}.list button{white-space:nowrap}.date{font-variant-numeric:tabular-nums}dialog{background:#fafafa;color:#3c3c3c;border:1px solid #ddd;border-radius:4px;padding:30px;width:min(650px,calc(100% - 32px));max-height:85dvh;overflow:auto;box-shadow:0 20px 80px #00000015}dialog::backdrop{background:#fafafad9}#auth-dialog{width:min(410px,calc(100% - 32px))}label{display:block;margin:20px 0 8px;font-size:13px}input{width:100%;border:1px solid #d6d6d6;border-radius:3px;padding:11px;background:transparent}input:focus{outline:1px solid #888}form button[type=submit]{background:#3c3c3c;color:#fafafa;width:100%;margin-top:12px;padding:12px}form button[type=submit]:hover{background:#555}#auth-error{color:#945c45;font-size:13px;min-height:0}#auth-back{display:block;text-align:center;margin-top:18px}#auth-back[hidden]{display:none}.dialog-head h1{margin:0}.dialog-head{margin-bottom:20px}.dialog-head button{font-size:24px}.excerpt{white-space:pre-wrap;overflow-wrap:anywhere;font:16px/1.6 Roboto,sans-serif;background:#f0f0f0;padding:16px;max-height:230px;overflow:auto;border-radius:3px}.resolution{width:100%;min-height:180px;border:1px solid #ccc;background:transparent;padding:12px;font:16px/1.6 Roboto,sans-serif}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.actions button{border:1px solid #ddd}.notice{font-size:13px;color:#777}#local-recovery{margin-top:35px}[hidden]{display:none!important}
@media(max-width:600px){#writing{padding:54px 22px 35vh}#editor{min-height:calc(65vh - 96px)}.panel{margin-top:65px;padding:0 22px}header{padding:7px}#word-count{right:0}dialog{padding:23px}.list li{align-items:flex-start;flex-wrap:wrap}.list a{min-width:190px}.list button{margin:6px 0}}
@media(prefers-reduced-motion:no-preference){button{transition:background .15s}}
.editor-measure{position:fixed;top:0;left:0;height:0;min-height:0;visibility:hidden;pointer-events:none}
#note-name{display:block;padding:0;margin:0 0 18px;border:0;border-radius:0;height:24px;font-size:14px;line-height:24px;color:#777;background:transparent}
#note-name::placeholder{color:#aaa}#note-name:focus{outline:0;color:#3c3c3c;box-shadow:0 1px #ddd}
.entry-link{display:flex;flex:1;flex-direction:column;min-width:0;overflow-wrap:anywhere}.entry-date{font-size:12px;color:#888;margin-top:5px}.entry-title{font-size:14px}
@media(max-width:600px){#note-name{font-size:16px}}
