body:has([data-notes-page]){color:#000;background:#fff;padding-bottom:0;overflow:hidden}body:has([data-notes-page]) .site-header{display:none}body:has([data-notes-page]) .site-footer{display:none}body:has([data-notes-page]) #main-content+div{display:none}body:has([data-notes-page]) #main-content{background:#fff;max-width:none;margin:0;padding:0}.notes-page{box-sizing:border-box;height:calc(100dvh - var(--notes-navigation-height,0px));color:#000;background:#fff;flex-direction:column;width:100%;max-width:850px;margin:0 auto;padding:12px 16px 8px;display:flex;overflow:hidden}.notes-page>*{flex-shrink:0}.notes-page button{color:#000;min-width:44px;min-height:44px;font:inherit;cursor:pointer;background:#fff;border:0;border-radius:6px;justify-content:center;align-items:center;padding:6px 8px;display:inline-flex}.notes-page button:disabled{opacity:.4;cursor:default}.notes-page button:focus-visible,.notes-page input:focus-visible,.notes-page textarea:focus-visible{outline-offset:2px;outline:2px solid #000}.notes-page button:hover:not(:disabled){background:#f2f2f2}.notes-toolbar{grid-template-columns:36px 36px 30px minmax(0,1fr) 30px 36px;align-items:center;gap:4px;display:grid}.notes-page .notes-date{gap:5px;font-size:13px;font-weight:700}.notes-date span{white-space:normal}.notes-calendar{background:#fff;border:1px solid #000;border-radius:12px;max-width:360px;max-height:50%;margin:10px auto 16px;padding:8px;overflow-y:auto}.notes-calendar-heading{justify-content:space-between;align-items:center;gap:0;display:flex}.notes-calendar-heading label{min-width:0}.notes-calendar-heading input{color:#000;width:100%;min-width:0;font:inherit;background:#fff;border:0;padding:6px 0;font-size:14px;font-weight:700}.notes-calendar-grid{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.notes-calendar-grid .notes-weekday{padding:8px 0;font-size:12px}.notes-calendar-grid button{font-variant-numeric:tabular-nums;flex-direction:column;min-width:0;padding:4px 0 10px;position:relative}.notes-calendar-grid button[aria-pressed=true]{color:#fff;background:#000}.notes-dot{background:currentColor;border-radius:50%;width:5px;height:5px;display:inline-block}.notes-calendar-grid .notes-dot{position:absolute;bottom:4px}.notes-calendar-key{justify-content:center;align-items:center;gap:8px;margin:8px 0 0;font-size:12px;display:flex}.notes-writing-area{flex:1 1 0;min-height:0;position:relative}.notes-scroll{overscroll-behavior-y:contain;overflow-anchor:none;scrollbar-color:#777 #fff;height:100%;overflow:hidden auto}.notes-scroll:focus-visible{outline-offset:-2px;outline:2px solid #000}.notes-scroll-content{box-sizing:border-box;min-height:100%}.notes-paper-stack{min-height:100px;position:relative}.notes-page .notes-paper{box-sizing:border-box;resize:none;color:#000;width:100%;font:inherit;letter-spacing:normal;white-space:pre-wrap;overflow-wrap:break-word;caret-color:#000;background:#fff;border:0;border-radius:0;margin:0;padding:20px 8px;font-size:18px;line-height:1.65;display:block}.notes-page textarea.notes-paper{height:100%;position:absolute;inset:0;overflow:hidden}.notes-paper-measure{visibility:hidden;pointer-events:none}.notes-page .notes-follow{border:1px solid #000;font-size:13px;position:absolute;bottom:8px;right:16px}.notes-paper::placeholder{color:#595959;opacity:1}.notes-page ::selection{color:#000;background:#d9d9d9}.notes-save-state{min-height:24px;font-size:13px}.notes-error{max-height:30%;padding:10px 0;font-size:14px;overflow-y:auto}.notes-error p{margin:0 0 8px}.notes-error button{border:1px solid #000;margin:0 8px 8px 0}.notes-error pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;border:1px solid #000;max-height:200px;padding:12px;overflow:auto}.notes-toolbar>button{min-width:0}.notes-date svg{flex-shrink:0}.notes-voice-state{margin:8px;font-size:13px}.notes-actions{gap:12px;padding-top:4px;display:flex}.notes-page .notes-actions button{border:1px solid #000;flex:1;gap:8px}.notes-action-error{margin:4px 0;font-size:13px}
