#dailyNotes{width:min(1100px,96vw);max-width:1100px;max-height:94dvh;padding:0;background:var(--bg,#f4f6f7);color:var(--text,#263345)}
#dailyNotes .sectionhead{padding:18px 22px;background:var(--panel,#fff)}
#dailyNotes .sectionhead p{margin:5px 0 0;font-size:13px;max-width:730px}
.notesControls,.notesToolbar{display:flex;flex-wrap:wrap;align-items:end;gap:8px;padding:12px 22px 0}
.notesControls label,.notesToolbar label{display:grid;gap:4px;margin:0;font-size:12px;font-weight:600}
.notesToolbar button,.notesControls button{min-height:40px}.notesToolbar [aria-pressed=true]{background:#275a56;color:#fff;border-color:#275a56}
.notesHint,#notesStatus{font-size:13px;margin:12px 22px;color:inherit}#notesStatus{min-height:20px;font-weight:600}
.notesScroll{max-height:58dvh;overflow:auto;padding:8px 24px 32px;overscroll-behavior:contain}
.notesPaper{position:relative;width:100%;aspect-ratio:3/4;background:#fffdf5;box-shadow:0 5px 24px #26334522;border:1px solid #ddd8c8;container-type:inline-size;overflow:hidden;color:#263345}
.notesPaper:before{content:'';position:absolute;left:8%;top:0;bottom:0;width:1px;background:#e7a9a3;pointer-events:none;z-index:2}
.notesDateHeading{position:absolute;top:2.4%;left:11%;font:600 clamp(12px,2.3vw,22px) Georgia,serif;right:3%}
#notesText{position:absolute;top:7%;left:0;width:100%;height:93%;resize:none;border:0;border-radius:0;padding:0 4% 0 11%;margin:0;color:#263345;font-family:Georgia,serif;font-size:2.25cqw;line-height:4cqw;background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(4cqw - 1px),#cbdce3 calc(4cqw - 1px),#cbdce3 4cqw);box-shadow:none;outline-offset:-2px;overflow:auto}
#notesText::placeholder{color:#7b817e}#notesInkSurface{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#dailyNotes[data-tool=pen] #notesInkSurface,#dailyNotes[data-tool=erase] #notesInkSurface{pointer-events:auto;touch-action:none;cursor:crosshair}
#dailyNotes[data-tool=erase] #notesInkSurface{cursor:cell}
#plannerNav>.notesOpen{margin:12px 0;width:100%;color:#263345;background:#fff}
@media(max-width:600px){.notesControls,.notesToolbar{padding:10px 12px 0;gap:6px}.notesScroll{padding:4px 8px 20px;max-height:55dvh}.notesHint,#notesStatus{margin:10px 12px}.notesPaper{min-width:720px}.notesScroll{overflow:auto}#dailyNotes .sectionhead{padding:12px}.notesDateHeading{font-size:17px}.notesToolbar button{font-size:12px;padding:8px}}
@media(max-width:600px){#dailyNotes>.sectionhead{display:flex;flex-direction:row;align-items:flex-start;gap:8px}#dailyNotes>.sectionhead p{font-size:11px;line-height:1.4}.notesControls input{width:135px}.notesControls select{width:125px}.notesToolbar label{font-size:11px}.notesToolbar select{min-height:38px;padding:6px}.notesHint{font-size:11px;line-height:1.4}}
.notesTitleRow{display:flex;align-items:end;gap:10px;padding:12px 22px 0}.notesTitleRow label{display:grid;gap:4px;flex:1;font-size:12px}.notesTitleRow input{width:100%}.notesSavedLabel{flex:1;min-width:200px}.notesSavedLabel select{width:100%;max-width:100%}#notesTrash{margin:12px 22px}#notesTrash summary{cursor:pointer;font-size:13px}#notesTrash .notesControls{padding:10px 0}#notesTrash select{max-width:100%}
@media(max-width:600px){.notesTitleRow{padding:10px 12px 0}.notesSavedLabel{min-width:100%}.notesControls .notesSavedLabel select{width:100%}#notesTrash{margin:10px 12px}}
.notesFolderControls,.notesReferences{display:flex;align-items:end;flex-wrap:wrap;gap:10px;padding:12px 22px 0}.notesFolderControls label,.notesReferences label{display:grid;gap:4px;font-size:12px;flex:1;min-width:180px}.notesReferences select,.notesFolderControls select,.notesFolderControls input{width:100%;max-width:100%}.paydayNoteIndicator{display:block;background:#fff5c9;color:#403313;border:1px solid #d9b850;margin:10px 0;min-height:40px;font-weight:600}.sectionhead>.paydayNoteIndicator{flex-shrink:0}#notesPeriodFilter button{font-size:12px}
@media(max-width:600px){.notesFolderControls,.notesReferences{padding:10px 12px 0}.notesFolderControls label,.notesReferences label{min-width:140px}.sectionhead>.paydayNoteIndicator{white-space:normal}}

/* Writing first; browsing and organizing stay in compact anchored disclosures. */
#dailyNotes .sectionhead{padding:12px 18px;align-items:center}#dailyNotes .sectionhead p{font-size:13px;margin:3px 0 0}#dailyNotes .notesControls,#dailyNotes .notesToolbar{padding:10px 18px 0;gap:7px}#dailyNotes .notesControls label,#dailyNotes .notesToolbar label{font-size:14px}#dailyNotes .notesTitleLabel{flex:1;min-width:200px}#dailyNotes .notesTitleLabel input{width:100%}#dailyNotes .notesControls input{min-height:40px}#dailyNotes .notesToolbar{align-items:center}#dailyNotes .notesToolbar button{font-size:14px;padding:8px 10px}#dailyNotes .notesToolModes,#notesPenOptions{display:flex;gap:5px;align-items:center}#notesPenOptions label{min-width:80px}#dailyNotes #notesStatus{margin:8px 18px;min-height:18px;font-size:13px;font-weight:500}#dailyNotes .notesScroll{padding:0 18px 20px;max-height:65dvh}#dailyNotes .compactPanel{width:360px}#dailyNotes .compactPanel select{max-width:100%}#dailyNotes #notesTrash{margin:0;border-top:1px solid #dbe3e9}#dailyNotes #notesTrash label{font-size:14px}#dailyNotes #notesTrash button{min-height:40px}#dailyNotes .notesCreateFolderDisclosure{border-top:1px solid #dbe3e9}#dailyNotes .notesCreateFolderDisclosure>button{min-height:40px}#dailyNotes .notesHint{margin:8px 18px;font-size:13px}#dailyNotes .compactPanel .compactHelp{margin:0;font-size:13px}#dailyNotes .notesPaper{container-type:inline-size}
@media(max-width:600px){#dailyNotes{width:100vw;max-width:100vw;max-height:100dvh;border-radius:0}#dailyNotes>.sectionhead{padding:10px 12px;flex-wrap:nowrap}#dailyNotes>.sectionhead p{font-size:12px;line-height:1.4}#dailyNotes>.sectionhead button{min-height:44px}#dailyNotes .notesControls,#dailyNotes .notesToolbar{padding:8px 12px 0;gap:6px}#dailyNotes .notesTitleLabel{flex-basis:100%;min-width:0}#dailyNotes .notesControls input{min-height:44px}#dailyNotes .notesControls button{min-height:44px;padding:8px 10px;font-size:14px}#dailyNotes .notesToolbar button{min-height:44px;padding:8px 9px}#dailyNotes .notesToolModes{gap:4px}#dailyNotes .notesToolbar label{font-size:14px}#dailyNotes .notesToolbar select{min-height:44px}#dailyNotes #notesPenOptions{flex-basis:100%}#dailyNotes .notesScroll{padding:0 8px 16px;max-height:62dvh}#dailyNotes #notesStatus{margin:8px 12px;font-size:13px}#dailyNotes .notesHint{margin:8px 12px}#dailyNotes .notesPaper{min-width:720px}}
