/* Notes: folders -> note lists -> document. Reader state is separate from authored notes. */
.sim-device .sim-notes-page,.sim-device .notes-folders-page{background:#f2f2f7!important;color:#111;padding-bottom:0}
.notes-topbar{display:grid;grid-template-columns:minmax(0,1fr) 0 auto;align-items:center;min-height:44px;height:44px;padding:0 12px;flex-shrink:0;color:var(--notes-accent)}
.notes-topbar>button,.notes-topbar>div>button{display:flex;align-items:center;justify-content:center;gap:1px;min-height:44px;padding:0;font-size:17px}.notes-topbar>button:first-child{justify-self:start;justify-content:flex-start;min-width:44px;max-width:180px}.notes-topbar>button>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notes-topbar .icon{width:25px;height:25px}.notes-topbar>div:last-child{display:flex;align-items:center;gap:3px}.notes-topbar>div>button{width:44px}
.notes-large-title{margin:4px 20px 13px;font-size:34px;line-height:1.2;letter-spacing:-1px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sim-notes-page .sim-search{margin:0 16px 17px;height:36px;background:#e4e4e9;border-radius:10px}.sim-notes-page .sim-search-input{height:36px;line-height:36px;font-size:17px}
.notes-folder-scroll{padding:8px 16px 20px}.notes-folder-scroll>h2{font-size:20px;letter-spacing:-.4px;margin:0 4px 11px;font-weight:700}.notes-folder-group{border-radius:11px;background:white;overflow:hidden}.notes-folder-row{position:relative;width:100%;display:flex;align-items:center;gap:12px;min-height:48px;padding:0 15px;text-align:left;font-size:17px}.notes-folder-row+.notes-folder-row:before{content:'';position:absolute;top:0;right:0;left:54px;border-top:.5px solid #d7d7db}.notes-folder-row>.icon{width:25px;height:25px;color:#dfad25}.notes-folder-row>span{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notes-folder-row>small{font-size:16px;color:#8e8e93}.notes-folder-row>.icon:last-child{width:13px;height:18px;color:#c7c7cc}
.notes-list-scroll{padding:0 16px 20px}.notes-list-section{margin:0 0 20px}.notes-list-section>h2{font-size:21px;font-weight:700;letter-spacing:-.3px;line-height:1.2;margin:0 4px 10px}.sim-note-group{background:white;border-radius:10px;overflow:hidden}
.sim-device .phone-note{position:relative;display:block;width:100%;min-height:79px;padding:13px 16px;text-align:left;background:white;color:#111}.phone-note+.phone-note:before{content:'';position:absolute;top:0;left:16px;right:0;border-top:.5px solid #d8d8dd}.phone-note>b{font-size:17px;font-weight:600;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;margin-bottom:5px}.phone-note>div{display:flex;gap:8px;min-width:0;line-height:1.35}.phone-note time{font-size:14px;white-space:nowrap;color:#666}.phone-note>div>span{font-size:14px;color:#929292;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.phone-note>small{display:block;font-size:12px;color:#8e8e93;margin-top:6px}.phone-note:active{background:#e4e4e8}
.notes-list-toolbar{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;height:83px;padding:2px 18px var(--phone-safe-bottom);color:var(--notes-accent);background:#f2f2f7e8}.notes-list-toolbar>button{display:grid;place-items:center;width:44px;height:44px;padding:0}.notes-list-toolbar .icon{height:25px;width:25px}.notes-list-toolbar>small{font-size:12px;color:#333}.notes-list-toolbar>button:disabled{opacity:.35}
.sim-device .sim-note-detail{padding-bottom:0;background:#fffefc!important;color:#111;position:relative}
.notes-detail-topbar{background:#fffefc}.notes-detail-topbar>button:first-child{max-width:180px}.notes-detail-topbar button:disabled{opacity:.32}.sim-note-body{flex:1;min-height:0;padding:5px 22px 25px;overflow:auto;scrollbar-width:none;overscroll-behavior:contain}.sim-note-body>time{display:block;text-align:center;color:#8e8e93;font-size:12px;line-height:1.5;margin:0 0 23px}.sim-note-body>h1{font-size:28px;line-height:1.25;letter-spacing:-.4px;margin:0 0 15px;font-weight:700;overflow-wrap:anywhere}.notes-prose{font-size:17px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.notes-attachment{margin:22px 0 0;border:1px solid #e5e2d9;border-radius:10px;overflow:hidden;background:#f7f5ee}.notes-attachment>svg,.notes-attachment>img{display:block;width:100%;height:auto;max-height:280px;object-fit:contain}.notes-attachment>figcaption{padding:10px 12px;font-size:13px;color:#777;line-height:1.5}
.notes-detail-toolbar{display:flex;justify-content:space-around;align-items:flex-start;flex-shrink:0;min-height:83px;height:83px;padding:5px 10px var(--phone-safe-bottom);background:#fffefcf5;color:var(--notes-accent)}.notes-detail-toolbar>button{width:54px;height:44px;display:grid;place-items:center;padding:0}.notes-detail-toolbar .icon{width:25px;height:25px}.notes-detail-toolbar>button:disabled{opacity:.35}
