/* Cloud Memo UI: independently designed, WordPress-theme-scoped styles. */
.yjm-root,.yjm-login{--yjm-bg:#f7f9f7;--yjm-paper:#fff;--yjm-text:#263831;--yjm-muted:#8a9a92;--yjm-green:#5cae8c;--yjm-strong:#328965;--yjm-line:#e9efea;--yjm-shadow:0 8px 32px rgba(48,80,63,.045);color:var(--yjm-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.6}
.yjm-root *,.yjm-login *{box-sizing:border-box}
.yjm-root button,.yjm-root input,.yjm-root textarea{font:inherit}
.yjm-root button{cursor:pointer}
.yjm-root button:focus-visible,.yjm-root input:focus-visible,.yjm-root textarea:focus-visible,.yjm-login a:focus-visible{outline:3px solid #a2e2c4;outline-offset:2px}
.yjm-root button:disabled{opacity:.55;cursor:not-allowed}
.yjm-root .yjm-app{display:grid;grid-template-columns:290px minmax(0,1fr);background:var(--yjm-bg);min-height:750px;max-width:1500px;margin:24px auto;overflow:hidden;border:1px solid var(--yjm-line);border-radius:18px;box-shadow:0 22px 70px rgba(48,79,60,.09)}
.yjm-root .yjm-sidebar{background:#fff;border-right:1px solid var(--yjm-line);padding:28px 20px 22px;display:flex;flex-direction:column;gap:0;min-width:0}
.yjm-root .yjm-brand{display:flex;align-items:center;gap:11px;padding:0 9px 23px}
.yjm-root .yjm-brand-mark{display:flex;align-items:center;justify-content:center;background:#e0f4e9;color:var(--yjm-strong);height:40px;width:40px;border-radius:13px;font-size:26px}
.yjm-root .yjm-brand strong{display:block;font-size:20px;letter-spacing:1px;line-height:1.2;color:#2c5d47}
.yjm-root .yjm-brand strong small{font-size:10px;letter-spacing:2px;color:#8cae99;margin-left:3px}
.yjm-root .yjm-brand span:not(.yjm-brand-mark){display:block;font-size:10px;color:#91a49b;letter-spacing:.4px;margin-top:4px}
.yjm-root .yjm-user{border:1px solid #edf1ed;background:#fbfcfb;border-radius:12px;display:flex;align-items:center;padding:11px;gap:10px;margin-bottom:22px}
.yjm-root .yjm-user-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#deefe5;color:#448b68;font-weight:700}
.yjm-root .yjm-user>div{flex:1;min-width:0}
.yjm-root .yjm-user strong{font-size:12px;display:block;white-space:nowrap}
.yjm-root .yjm-user div span{color:var(--yjm-muted);font-size:10px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yjm-root .yjm-online{width:7px;height:7px;background:#70c39b;border-radius:100%}
.yjm-root .yjm-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:24px;text-align:center}
.yjm-root .yjm-stats div+div{border-left:1px solid #edf0ed}
.yjm-root .yjm-stats strong{display:block;font-size:22px;line-height:1.1;letter-spacing:-1px;font-weight:720;color:#53685b}
.yjm-root .yjm-stats span{display:block;font-size:11px;color:#9aaa9f;margin-top:6px}
/* Complete 7 × 6 monthly heatmap: neutral squares, then green after saves/edits. */
.yjm-root .yjm-calendar{background:#f8fbf9;border:1px solid #e6eee8;border-radius:13px;padding:13px 12px 12px;margin-bottom:25px}
.yjm-root .yjm-calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.yjm-root .yjm-calendar-head strong{font-size:12px;color:#4c6456;font-weight:700}
.yjm-root .yjm-calendar-head div{display:flex;gap:4px}
.yjm-root .yjm-calendar-head button{border:0;background:transparent;width:25px;height:25px;color:#6f8b7b;border-radius:6px;font-size:22px;line-height:1}
.yjm-root .yjm-calendar-head button:hover{background:#e4f0e7}
.yjm-root .yjm-cal-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center;font-size:10px;color:#819b8b;margin:0 0 7px}
.yjm-root .yjm-cal-days span{display:grid;place-items:center;min-width:0}
.yjm-root .yjm-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.yjm-root .yjm-cal-day{min-width:0;width:100%;height:28px;display:grid;place-items:center;border:1px solid #e5ede7;border-radius:5px;background:#edf2ee;color:#789082;padding:0;font-size:11px;font-weight:500;line-height:1}
.yjm-root .yjm-cal-day.is-outside{background:#f7f9f7;border-color:#f1f4f1;color:#b6c6b9}
.yjm-root .yjm-cal-day.has-memos{background:#d4edde;border-color:#d4edde;color:#457856;font-weight:700}
.yjm-root .yjm-cal-day[data-intensity="2"]{background:#b4e0c3;border-color:#b4e0c3;color:#336745}
.yjm-root .yjm-cal-day[data-intensity="3"]{background:#89cca3;border-color:#89cca3;color:#205c3d}
.yjm-root .yjm-cal-day[data-intensity="4"]{background:#4baa79;border-color:#4baa79;color:#fff}
.yjm-root .yjm-cal-day:hover{border-color:#3e9d6d;box-shadow:0 0 0 1px #3e9d6d;position:relative;z-index:1}
.yjm-root .yjm-cal-day.is-today{border:2px solid #3d9164}
.yjm-root .yjm-cal-day.is-selected{outline:2px solid #256d4b;outline-offset:1px;position:relative;z-index:2}
.yjm-root .yjm-cal-footer{display:flex;justify-content:space-between;align-items:center;margin-top:12px;font-size:10px;color:#819c8b}
.yjm-root .yjm-cal-footer span{display:flex;gap:5px;align-items:center}
.yjm-root .yjm-dot{width:8px;height:8px;background:#5daf86;border-radius:3px;display:inline-block}
.yjm-root .yjm-cal-footer button{background:transparent;border:0;color:#458961;font-size:11px;padding:0}
.yjm-root .yjm-nav-heading,.yjm-root .yjm-tags-head{font-size:11px;font-weight:600;color:#a0aca2;padding:0 13px 10px;letter-spacing:1px}
.yjm-root .yjm-nav{display:flex;flex-direction:column;gap:3px;margin-bottom:25px}
.yjm-root .yjm-nav button{border:0;background:transparent;text-align:left;padding:10px 12px;border-radius:9px;font-size:12px;color:#738578;font-weight:540;display:flex;gap:13px;align-items:center}
.yjm-root .yjm-nav button span{font-size:18px;color:#93a99b;width:20px;line-height:1}
.yjm-root .yjm-nav button:hover{background:#f0f6f1}
.yjm-root .yjm-nav button.is-active{background:#e6f4e9;color:#397e59;font-weight:750}
.yjm-root .yjm-nav button.is-active span{color:#4ba377}
.yjm-root .yjm-tags-head{display:flex;justify-content:space-between}
.yjm-root .yjm-tags-hint{font-size:17px;color:#adc2b1;line-height:1}
.yjm-root .yjm-tags{display:flex;flex-direction:column;gap:2px;max-height:240px;overflow:auto;min-height:70px}
.yjm-root .yjm-tags-empty{font-size:11px;color:#a0aea4;padding:10px 13px}
.yjm-root .yjm-tag-button{border:0;border-radius:6px;background:transparent;color:#759080;padding:7px 13px;font-size:12px;display:flex;align-items:center;justify-content:space-between;text-align:left;min-width:0}
.yjm-root .yjm-tag-button:hover,.yjm-root .yjm-tag-button.is-selected{background:#ecf5ef;color:#397c55}
.yjm-root .yjm-tag-button small{font-size:10px;color:#9db5a6}
.yjm-root .yjm-sidebar-bottom{font-size:10px;color:#a9b5ad;line-height:1.8;border-top:1px solid #eef1ee;margin-top:auto;padding:18px 13px 0}
.yjm-root .yjm-main{padding:36px clamp(20px,5vw,80px) 18px;min-width:0}
.yjm-root .yjm-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}
.yjm-root .yjm-toolbar-left{display:flex;gap:11px;align-items:center}
.yjm-root .yjm-kicker{font-size:10px;letter-spacing:2.3px;color:#8db7a0;font-weight:650;margin-bottom:1px}
.yjm-root .yjm-toolbar h2{font-size:25px;line-height:1.35;margin:0;letter-spacing:.2px;color:#293f33;font-weight:750}
.yjm-root .yjm-toolbar-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.yjm-root .yjm-quiet-button,.yjm-root .yjm-icon-button{background:#fff;border:1px solid #e6eee7;color:#718577;border-radius:8px;font-size:11px;min-height:31px;padding:5px 10px}
.yjm-root .yjm-quiet-button:hover,.yjm-root .yjm-icon-button:hover{border-color:#94ccb0;background:#f4fbf6;color:#47765b}
.yjm-root .yjm-mobile-menu{display:none}
.yjm-root .yjm-search-wrap{height:44px;display:flex;gap:10px;align-items:center;background:#fff;border:1px solid #e9eeea;border-radius:10px;margin-bottom:22px;padding:0 15px;box-shadow:0 3px 15px rgba(42,77,60,.02)}
.yjm-root .yjm-search-wrap>span{font-size:25px;color:#93a99a;line-height:1}
.yjm-root .yjm-search-wrap input{border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;flex:1;min-width:0;font-size:12px;color:#496453;padding:0;margin:0;height:100%}
.yjm-root .yjm-search-wrap input::placeholder{color:#acb9b0}
.yjm-root .yjm-search-wrap kbd{border:1px solid #e5ebe5;border-radius:5px;font-size:10px;color:#aebaae;padding:1px 8px;font-family:inherit;background:#fbfcfb}
.yjm-root .yjm-composer{background:#fff;border:1px solid #e4ece5;box-shadow:var(--yjm-shadow);border-radius:13px;padding:19px 22px 14px;margin-bottom:32px}
.yjm-root .yjm-composer-title{display:flex;align-items:center;gap:7px}
.yjm-root .yjm-composer-title strong{font-size:13px;color:#576f60}
.yjm-root .yjm-composer-title>span:last-child{margin-left:auto;color:#a7b4a8;font-size:10px}
.yjm-root .yjm-composer-spark{color:#75bc96;font-size:17px}
.yjm-root .yjm-composer textarea{display:block;width:100%;padding:15px 0 10px;border:0!important;background:transparent!important;resize:vertical;outline:0!important;box-shadow:none!important;font-size:13px;line-height:1.9;color:#34483b;min-height:126px;max-height:500px}
.yjm-root .yjm-composer textarea::placeholder{color:#b5c3b7}
.yjm-root .yjm-composer-foot{border-top:1px solid #eef2ef;padding-top:12px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.yjm-root .yjm-composer-foot>span{font-size:10px;color:#a4b4a9}
.yjm-root #yjm-publish,.yjm-root .yjm-small-primary{background:linear-gradient(140deg,#70bd94,#4eaa80);border:0;color:#fff;border-radius:8px;font-size:12px;padding:10px 18px;font-weight:700;box-shadow:0 4px 14px rgba(74,159,111,.16)}
.yjm-root #yjm-publish span{margin-left:8px}
.yjm-root #yjm-publish:hover,.yjm-root .yjm-small-primary:hover{filter:brightness(.96)}
.yjm-root .yjm-list-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding:0 3px}
.yjm-root .yjm-list-head strong{font-size:15px;color:#526c5c;font-weight:750}
.yjm-root .yjm-list-head span{font-size:11px;color:#a3afa6;margin-left:8px}
.yjm-root .yjm-notice{display:none;border-radius:8px;padding:10px 14px;font-size:12px;margin-bottom:14px}
.yjm-root .yjm-notice.is-error{display:block;background:#fff0ef;color:#ad5652;border:1px solid #f5d4cf}
.yjm-root .yjm-notice.is-success{display:block;background:#ecf8f0;color:#447e59;border:1px solid #d5ecda}
.yjm-root .yjm-notes{display:flex;flex-direction:column;gap:14px}
.yjm-root .yjm-note{background:#fff;border-radius:12px;border:1px solid #e8eee9;padding:19px 22px 20px;box-shadow:var(--yjm-shadow)}
.yjm-root .yjm-note.is-pinned{border-left:3px solid #76bd94}
.yjm-root .yjm-note-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.yjm-root .yjm-note-date{display:flex;align-items:center;gap:6px;color:#a2b2a6;font-size:10px;letter-spacing:.3px}
.yjm-root .yjm-note-date-icon{font-size:16px;color:#9db9a7}
.yjm-root .yjm-pinned-label{font-size:10px;color:#63ab7e;margin-left:5px}
.yjm-root .yjm-note-actions{display:flex;align-items:center;gap:4px}
.yjm-root .yjm-note-action{width:27px;height:27px;display:grid;place-items:center;background:transparent;border:1px solid transparent;border-radius:6px;color:#a4b6a7;font-size:16px;padding:0}
.yjm-root .yjm-note-action:hover{color:#39845c;background:#eff8f0;border-color:#dcece0}
.yjm-root .yjm-note-content{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;color:#455b4c;font-size:13px;line-height:1.95}
.yjm-root .yjm-note-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}
.yjm-root .yjm-note-chip{border:0;background:#edf7f0;color:#5d9a71;border-radius:5px;font-size:11px;padding:4px 8px}
.yjm-root .yjm-note-chip:hover{background:#d9f0df}
.yjm-root .yjm-inline-editor textarea{width:100%;min-height:145px;line-height:1.8;border:1px solid #d6e9da;border-radius:8px;padding:12px;font-size:13px;color:#334d3b;background:#fbfefb}
.yjm-root .yjm-edit-foot{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}
.yjm-root .yjm-small-quiet{background:#f4f7f3;color:#698070;border:1px solid #e1e9e2;border-radius:8px;font-size:12px;padding:8px 16px}
.yjm-root .yjm-empty{border:1px dashed #d7e7da;background:#fafdfa;border-radius:12px;text-align:center;padding:52px 20px;color:#a0b0a4;font-size:13px}
.yjm-root .yjm-empty-icon{font-size:35px;color:#a7d4b5;margin-bottom:9px}
.yjm-root .yjm-empty strong{font-size:15px;color:#617c68}
.yjm-root .yjm-empty p{font-size:12px;margin:8px 0 0;color:#9eafa2}
.yjm-root .yjm-pagination{text-align:center;margin:23px 0}
.yjm-root .yjm-load-more{border:1px solid #e3ede5;color:#4f9870;background:#fff;border-radius:8px;padding:9px 20px}
.yjm-root .yjm-main-footer{text-align:center;color:#b0beb3;font-size:10px;margin:60px 0 5px}
.yjm-root .yjm-overlay[hidden]{display:none}
.yjm-root .yjm-overlay{position:fixed;inset:0;background:rgba(25,45,30,.46);z-index:999999;display:grid;place-items:center;padding:22px}
.yjm-root .yjm-modal{background:#fff;width:min(100%,590px);max-height:80vh;overflow-y:auto;border-radius:15px;padding:25px;box-shadow:0 20px 90px rgba(30,55,35,.24)}
.yjm-root .yjm-modal-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8eee9;padding-bottom:12px;margin-bottom:20px}
.yjm-root .yjm-modal-head h3{margin:0;font-size:19px;color:#3d7052}
.yjm-root .yjm-modal-head button{background:none;border:0;font-size:26px;color:#94a498}
.yjm-root .yjm-modal-date{font-size:11px;color:#9bac9f;margin-bottom:13px}
.yjm-root .yjm-modal-text{white-space:pre-wrap;word-break:break-word;line-height:2;color:#4a5d4d}
.yjm-root .yjm-modal-bottom{text-align:right;font-size:11px;color:#96b5a0;border-top:1px solid #eef1ee;margin-top:25px;padding-top:12px}
.yjm-login{max-width:600px;margin:40px auto;text-align:center;padding:60px 30px;background:#fbfdfb;border:1px solid #e3efe5;border-radius:16px}
.yjm-login-icon{font-size:44px;color:#68bd8c}
.yjm-login h2{color:#3c6d51;font-size:24px;margin:10px 0}
.yjm-login p{color:#839b89;font-size:14px}
.yjm-login a.yjm-login-button{display:inline-block;text-decoration:none;margin-top:15px;background:#5aaf82;color:white;border-radius:9px;padding:12px 26px;font-weight:700}
.yjm-login-help{font-size:11px!important;margin-top:20px}
@media(max-width:1050px){.yjm-root .yjm-app{grid-template-columns:255px minmax(0,1fr)}.yjm-root .yjm-sidebar{padding:22px 15px}.yjm-root .yjm-main{padding:28px 24px}.yjm-root .yjm-toolbar{align-items:flex-start;flex-direction:column}.yjm-root .yjm-toolbar-actions{justify-content:flex-start}}
@media(max-width:700px){.yjm-root .yjm-app{display:block;min-height:650px;margin:4px auto;border-radius:10px;position:relative}.yjm-root .yjm-sidebar{display:none;position:relative;width:100%;border-bottom:1px solid #e3eee5}.yjm-root.yjm-sidebar-open .yjm-sidebar{display:flex}.yjm-root .yjm-main{padding:23px 15px}.yjm-root .yjm-mobile-menu{display:block}.yjm-root .yjm-toolbar{flex-direction:row;align-items:center;flex-wrap:wrap}.yjm-root .yjm-toolbar h2{font-size:21px}.yjm-root .yjm-toolbar-actions{width:100%;gap:5px}.yjm-root .yjm-quiet-button{flex:1;padding:5px 3px}.yjm-root .yjm-composer{padding:16px 14px}.yjm-root .yjm-note{padding:15px}.yjm-root .yjm-composer-foot>span{max-width:57%;line-height:1.4}.yjm-root .yjm-list-head{margin-top:8px}.yjm-root .yjm-search-wrap kbd{display:none}}
@media(prefers-reduced-motion:reduce){.yjm-root *{scroll-behavior:auto!important;transition:none!important}}

.yjm-root .yjm-upgrade-link{display:block;text-align:center;background:#e8f6ec;border:1px solid #cee8d7;border-radius:8px;color:#39865c;text-decoration:none;font-size:11px;padding:8px 6px;margin:-13px 1px 18px;font-weight:650}
.yjm-root .yjm-upgrade-link:hover{background:#d8f1e1;color:#276c48}

.yjm-root .yjm-load-error{border-color:#f0d0cc;background:#fff8f7}
.yjm-root .yjm-load-error .yjm-load-more{margin-top:17px}
/* v1.2: user-owned named archive folders, visually separate from tags. */
.yjm-root .yjm-folders-section{margin:0 0 24px;padding:0}
.yjm-root .yjm-folders-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 10px 10px}
.yjm-root .yjm-folders-head strong{font-size:11px;font-weight:650;color:#8faaa0;letter-spacing:1px}
.yjm-root .yjm-folders-head button{border:1px solid #dbece0;background:#f3faf5;border-radius:7px;padding:3px 8px;font-size:11px;line-height:1.6;color:#488961}
.yjm-root .yjm-folders-head button:hover{background:#e0f2e6}
.yjm-root .yjm-folder-list{display:flex;flex-direction:column;gap:4px}
.yjm-root .yjm-folder-line{display:flex;align-items:center;border-radius:9px;min-width:0;position:relative}
.yjm-root .yjm-folder-line:hover{background:#f1f8f3}
.yjm-root .yjm-folder-list .yjm-folder-row{display:flex;align-items:center;gap:8px;min-width:0;width:100%;border:0;background:transparent;border-radius:9px;text-align:left;padding:9px 11px;color:#698375;font-size:12px;font-weight:530}
.yjm-root .yjm-folder-list>.yjm-folder-row{padding:9px 11px}
.yjm-root .yjm-folder-list .yjm-folder-row:hover,.yjm-root .yjm-folder-list .is-active,.yjm-root .yjm-folder-list .yjm-folder-line.is-active{background:#e6f4e9;color:#327a50}
.yjm-root .yjm-folder-icon{font-size:18px;line-height:1;color:#75ac8c;width:20px;flex-shrink:0}
.yjm-root .yjm-folder-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.yjm-root .yjm-folder-count{font-size:10px;color:#91aa9a;background:#f3f8f4;border-radius:9px;padding:0 6px;line-height:20px}
.yjm-root .yjm-folder-manage{flex:0 0 25px;border:0;background:transparent;border-radius:6px;padding:4px 0;color:#91ab9b;font-size:18px;line-height:1;min-height:28px;margin-right:4px}
.yjm-root .yjm-folder-manage:hover{color:#337e52;background:#d4eadb}
.yjm-root .yjm-folder-list .yjm-tags-empty{line-height:1.5}
.yjm-root .yjm-compose-folder-label{display:flex;align-items:center;gap:7px;font-size:11px;color:#799c86;flex-shrink:0}
.yjm-root .yjm-compose-folder-label select,.yjm-root .yjm-note-folder-select{border:1px solid #dce9df;border-radius:7px;background:#f7fbf8;color:#538366;max-width:156px;min-width:85px;min-height:28px;padding:2px 8px;font-size:11px;outline-offset:2px}
.yjm-root .yjm-note-folder-select{max-width:118px;margin-right:5px;font-size:10px;min-height:26px;padding:2px 5px}
.yjm-root .yjm-note-folder-badge{margin-left:8px;color:#608e6c;border:1px solid #dceee1;background:#f0f8f2;border-radius:6px;padding:1px 7px;font-size:10px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.yjm-root .yjm-composer-foot{flex-wrap:wrap}
.yjm-root .yjm-composer-foot>span{margin-right:auto}
.yjm-root .yjm-note-actions{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:700px){
 .yjm-root .yjm-compose-folder-label{order:0}
 .yjm-root .yjm-composer-foot>span{order:2;flex:1 1 100%;max-width:none}
 .yjm-root .yjm-composer-foot #yjm-publish{order:1;margin-left:auto}
 .yjm-root .yjm-note-date{flex-wrap:wrap}
 .yjm-root .yjm-note-folder-select{max-width:95px}
}

.yjm-root .yjm-folder-menu[hidden]{display:none}
.yjm-root .yjm-folder-menu{position:absolute;right:3px;top:calc(100% - 2px);min-width:124px;z-index:12;padding:5px;background:#fff;border:1px solid #e0ece4;border-radius:9px;box-shadow:0 12px 28px rgba(38,76,49,.12);display:flex;flex-direction:column;gap:2px}
.yjm-root .yjm-folder-list .yjm-folder-menu-action{width:100%;font-size:11px;color:#527e63;text-align:left;background:transparent;border:0;border-radius:6px;padding:8px 10px}
.yjm-root .yjm-folder-list .yjm-folder-menu-action:hover{background:#eef7f0}
.yjm-root .yjm-folder-list .yjm-folder-menu-action.is-danger{color:#b36761}
.yjm-root .yjm-folder-list .yjm-folder-menu-action.is-danger:hover{background:#fff1f0}
