/* A quiet, dark Notes workspace. The rest of the desktop keeps its own theme. */
#notesWin{left:8vw;top:11svh;width:1120px;height:650px;min-width:320px;color:#e8e8e9;background:#202020;border-color:#ffffff28;container-type:inline-size;color-scheme:dark}
#notesWin .win-bar{height:54px;min-height:54px;background:#282828;border-color:#ffffff0c;gap:10px}
#notesWin .win-title{color:#e7e7e9;text-align:left;margin:0;font-weight:600}
#notesWin .tool-btn{color:#d2d2d5;min-width:30px}
#notesWin .tool-btn:hover{background:#ffffff12}
#notesWin .tool-btn[aria-pressed=true],#notesWin .tool-btn[aria-expanded=true]{color:#e9bc4f;background:#e9bc4f1c}
#notesWin :is(button,input):focus-visible{outline:2px solid #e9bc4f;outline-offset:2px}
#notesWin .notes-search{position:relative;width:180px;margin-left:auto;flex-shrink:1;min-width:80px}
#notesWin .notes-search .icon{position:absolute;left:10px;top:9px;width:14px;height:14px;color:#a1a1a6}
#notesWin .notes-search input{width:100%;height:33px;padding:5px 10px 5px 31px;background:#202020;border:1px solid #ffffff1f;border-radius:18px;color:#e5e5e7;font-size:12px}
#notesWin .notes-search input::placeholder{color:#a1a1a6}
#notesWin .notes-workspace{display:grid;grid-template-columns:170px 210px minmax(0,1fr);flex:1;min-height:0;overflow:hidden}
#notesWin .notes-folders{background:#191919d9;border-right:1px solid #ffffff18;padding:16px 8px 20px;overflow:auto;scrollbar-width:thin}
#notesWin .notebook-heading{margin:4px 9px 9px;font-size:10px;font-weight:600;color:#929298}
#notesWin .notebook-heading:not(:first-child){margin-top:24px}
#notesWin .notebook-button{display:flex;align-items:center;gap:8px;padding:7px 9px;width:100%;background:transparent;border-radius:6px;text-align:left;color:#e5e5e7;font-size:12px;min-height:33px}
#notesWin .notebook-button:hover{background:#ffffff08}
#notesWin .notebook-button[aria-pressed=true]{background:#ffffff12}
#notesWin .notebook-button .icon{width:16px;height:16px;color:#c8c8cd}
#notesWin .notebook-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#notesWin .notebook-button small{margin-left:auto;color:#909096;font-size:11px}
#notesWin .notes-index{display:flex;flex-direction:column;min-height:0;background:#252525;border-right:1px solid #ffffff18}
#notesWin .notes-index-heading{padding:17px 17px 13px;border-bottom:1px solid #ffffff12;flex:none}
#notesWin .notes-index-heading h2{margin:0;font-size:14px;font-weight:650;letter-spacing:-.2px}
#notesWin .notes-index-heading p{margin:2px 0 0;font-size:10px;color:#a1a1a6}
#notesWin .notes-items{padding:9px;overflow:auto;scrollbar-width:thin;flex:1;min-height:0}
#notesWin .note-card{display:block;text-align:left;width:100%;min-height:76px;padding:13px 13px 12px;border-radius:7px;background:transparent;border-bottom:1px solid #ffffff0b;color:#ececef}
#notesWin .note-card:hover{background:#ffffff07}
#notesWin .note-card[aria-pressed=true]{background:#484848;border-color:transparent}
#notesWin .note-card strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650}
#notesWin .note-card span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#b6b6bb;margin:3px 0}
#notesWin .note-card small{font-size:10px;color:#939399}
#notesWin .notes-empty{padding:30px 12px;text-align:center;color:#a1a1a6;font-size:12px}
#notesWin .notes-editor-pane{display:flex;flex-direction:column;min-width:0;min-height:0;background:#202020;position:relative}
#notesWin .notes-toolbar{display:flex;align-items:center;gap:2px;min-height:48px;padding:7px 15px;border-bottom:1px solid #ffffff0a;flex:none}
#notesWin .notes-toolbar .tool-btn{width:31px;height:31px;border-radius:6px;font-size:15px}
#notesWin .notes-toolbar .toolbar-gap{width:1px;height:19px;background:#ffffff16;margin:0 6px;flex:none}
#notesWin .notes-toolbar .undo-group{margin-left:auto;display:flex;gap:2px}
#notesWin .format-trigger{font-size:17px!important;letter-spacing:-.8px;width:37px!important}
#notesWin .format-menu{position:absolute;top:44px;left:14px;width:210px;z-index:5;background:#333333f5;border:1px solid #ffffff24;border-radius:10px;padding:6px;box-shadow:0 12px 30px #0006;backdrop-filter:blur(18px)}
#notesWin .format-menu button{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left;background:transparent;color:#eaeaec;border-radius:5px;padding:8px 11px}
#notesWin .format-menu button:hover,#notesWin .format-menu button:focus-visible{background:#555;outline:none}
#notesWin .format-menu button[data-block=h1]{font-size:22px;font-weight:700}
#notesWin .format-menu button[data-block=h2]{font-size:18px;font-weight:650}
#notesWin .format-menu button[data-block=h3]{font-size:15px;font-weight:600}
#notesWin .format-menu button small{font-size:10px;color:#b1b1b5;font-weight:400}
#notesWin .notes-page{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
#notesWin .notes-date{text-align:center;margin:17px 24px 0;font-size:10px;color:#98989e}
#notesWin .notes-editor{padding:22px 32px 55px;min-height:calc(100% - 35px);color:#dedee1;line-height:1.65;font-size:14px;overflow-wrap:anywhere;outline:none;caret-color:#e9bc4f;white-space:normal}
#notesWin .notes-editor:focus-visible{outline:none}
#notesWin .notes-editor:empty:before{content:'Start writing…';color:#8f8f94;pointer-events:none}
#notesWin .notes-editor :is(h1,h2,h3){color:#f4f4f6;line-height:1.25;letter-spacing:-.35px;font-weight:700}
#notesWin .notes-editor h1{font-size:27px;margin:0 0 20px}
#notesWin .notes-editor h2{font-size:20px;margin:25px 0 10px}
#notesWin .notes-editor h3{font-size:16px;margin:22px 0 8px}
#notesWin .notes-editor p{margin:0 0 13px;min-height:1.65em}
#notesWin .notes-editor :is(b,strong){font-weight:700;color:#f4f4f6}
#notesWin .notes-editor a{color:#e9bc4f;text-decoration:underline;text-underline-offset:3px}
#notesWin .notes-editor :is(ul,ol){margin:10px 0 18px;padding-left:24px}
#notesWin .notes-editor li{margin:5px 0}
#notesWin .notes-editor li>p{margin:0}
#notesWin .notes-editor blockquote{margin:16px 0;padding:2px 0 2px 15px;border-left:3px solid #e9bc4f;color:#b9b9c0}
#notesWin .notes-editor pre{background:#343434;padding:12px;border-radius:5px;white-space:pre-wrap;font-size:12px}
#notesWin .notes-editor ul[data-checklist]{list-style:none;padding-left:0}
#notesWin .notes-editor ul[data-checklist]>li{position:relative;padding-left:29px;min-height:25px;list-style:none}
#notesWin .notes-editor ul[data-checklist]>li>input{position:absolute;left:0;top:3px;appearance:none;width:19px;height:19px;border:1.5px solid #a0a0a6;border-radius:50%;margin:0;cursor:pointer;background:transparent}
#notesWin .notes-editor ul[data-checklist]>li>input:checked{background:#e9bc4f;border-color:#e9bc4f}
#notesWin .notes-editor ul[data-checklist]>li>input:checked:after{content:'';position:absolute;left:5px;top:2px;width:5px;height:9px;border:solid #242424;border-width:0 2px 2px 0;transform:rotate(45deg)}
#notesWin .notes-editor li[data-checked=true]{color:#99999f;text-decoration:line-through}
#notesWin .notes-editor ::selection{background:#d4a83560}
#notesWin .notes-footer{display:flex;gap:10px;justify-content:space-between;align-items:center;min-height:29px;padding:6px 14px;border-top:1px solid #ffffff0c;color:#939399;font-size:10px;flex:none}
#notesWin .notes-footer .storage-warning{color:#f0c461}
#notesWin .notes-mobile-folder{display:none}
#notesWin.notes-sidebar-hidden .notes-workspace{grid-template-columns:210px minmax(0,1fr)}
#notesWin.notes-sidebar-hidden .notes-folders{display:none}
@container (max-width:880px){#notesWin .notes-workspace{grid-template-columns:190px minmax(0,1fr)}#notesWin .notes-folders{display:none}#notesWin .notes-mobile-folder{display:block;width:100%;margin-bottom:10px;background:#303030;color:#e4e4e8;border:1px solid #ffffff20;border-radius:6px;padding:6px;font:inherit;font-size:11px}#notesWin #toggleNotesSidebar{display:none}#notesWin.notes-sidebar-hidden .notes-workspace{grid-template-columns:190px minmax(0,1fr)}#notesWin .notes-editor{padding:22px 24px 45px}}
@container (max-width:590px){#notesWin .notes-workspace,#notesWin.notes-sidebar-hidden .notes-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}#notesWin .notes-index{border-right:0;border-bottom:1px solid #ffffff16}#notesWin .notes-index-heading{display:flex;align-items:center;gap:12px;padding:8px 12px;border:0}#notesWin .notes-index-heading h2{display:none}#notesWin .notes-index-heading p{margin:0;white-space:nowrap}#notesWin .notes-mobile-folder{width:auto;max-width:70%;margin:0}#notesWin .notes-items{display:flex;padding:0 8px 8px;gap:5px;max-height:67px;overflow:auto;flex:none}#notesWin .note-card{width:145px;min-width:145px;min-height:50px;padding:8px 10px;border:0}#notesWin .note-card small{display:none}#notesWin .note-card span{font-size:10px;margin:1px 0 0}#notesWin .notes-toolbar{padding:6px 9px;gap:1px;min-height:43px}#notesWin .notes-toolbar .tool-btn{width:29px;min-width:29px;height:31px}#notesWin .notes-toolbar .toolbar-gap{margin:0 4px}#notesWin .notes-toolbar .undo-group{display:none}#notesWin .notes-editor{padding:18px 20px 40px;font-size:14px}#notesWin .notes-editor h1{font-size:25px}#notesWin .notes-date{margin-top:12px}#notesWin .notes-search{width:100px}#notesWin .notes-top-title{display:none}#notesWin .notes-footer{font-size:9px;padding:6px 10px}#notesWin .notes-footer .notes-local-hint{display:none}#notesWin .notes-format-group{display:flex}#notesWin .notes-empty{padding:10px}}
@media(max-width:640px){#notesWin{min-width:0}#notesWin .win-bar{gap:3px;padding:0 8px}#notesWin .notes-search{min-width:70px}#notesWin .notes-top-action{width:28px;min-width:28px}#notesWin .notes-editor-pane{min-height:100px}}
