*{box-sizing:border-box}body{margin:0;font:14px/1.6 "Microsoft YaHei","PingFang SC",sans-serif;background:#f5f7fa;color:#24344d}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #dbe2eb;background:#fff;color:#42516a;padding:8px 14px;border-radius:7px;min-height:38px}button:hover{background:#f5f8ff;border-color:#9dbdf5}button:disabled{cursor:default;opacity:.5}button.primary{background:#2469ed;color:white;border-color:#2469ed}button.primary:hover{background:#175bd7}button.danger{color:#b33a3a}button.text-button{border:0;min-height:30px;padding:2px 6px;color:#2469ed;background:transparent;box-shadow:none}input,select,textarea{width:100%;border:1px solid #dbe2eb;border-radius:7px;padding:9px 11px;background:#fff;color:inherit}input::placeholder,textarea::placeholder{color:#97a2b3}header{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;padding:22px 32px;border-bottom:1px solid #e5eaf1}.brand{display:flex;align-items:center;gap:12px}.memo-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#eaf1ff;color:#2469ed;font-size:23px;font-weight:700}h1{font-size:21px;margin:0}header p{margin:2px 0 0;color:#8a96a7;font-size:12px}.private-label{font-size:12px;color:#78869a}main{padding:24px 32px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}h2{margin:0;font-size:19px}.page-heading p{margin:4px 0 0;color:#8692a3;font-size:13px}#message:empty{display:none}#message{padding:10px 14px;border-radius:7px;background:#eaf5ef;color:#246b45;margin-bottom:12px}#message[data-error=true]{background:#fff0ed;color:#a12e22}.memo-workspace{display:grid;grid-template-columns:320px minmax(0,1fr);border:1px solid #e0e6ef;border-radius:12px;overflow:hidden;background:#fff;min-height:620px;height:calc(100vh - 250px);max-height:1000px;box-shadow:0 3px 14px #253d5b04}.memo-browser{border-right:1px solid #e5eaf1;display:flex;flex-direction:column;min-height:0;background:#fcfdff}.memo-search{padding:18px 18px 12px}.memo-search label{display:block;font-size:12px;color:#768398;margin-bottom:6px}.memo-search input{background:#f4f6fa}.search-hint{display:block;font-size:11px;color:#929dae;margin-top:5px}.memo-views{display:flex;gap:4px;margin:0 18px 12px;padding:3px;border-radius:8px;background:#f0f3f8}.memo-views button{flex:1;padding:5px 3px;min-height:32px;white-space:nowrap;border:0;background:transparent;font-size:12px;box-shadow:none}.memo-views button[aria-pressed=true]{background:white;color:#2469ed;box-shadow:0 1px 4px #213b6312}.memo-views span{font-size:11px;color:#8996ab;margin-left:3px}.tag-filter{padding:0 18px;display:flex;align-items:center;gap:12px;font-size:12px;color:#7a8798}.tag-filter select{flex:1;min-width:0;font-size:12px;padding:6px 8px}.list-heading{display:flex;align-items:center;justify-content:space-between;padding:10px 18px 7px;color:#8793a5;font-size:12px}.memo-list{overflow:auto;flex:1;padding:0 8px 10px;min-height:0;scrollbar-width:thin}.memo-card{display:block;text-align:left;width:100%;padding:15px 12px;border:1px solid transparent;border-radius:8px;margin:3px 0;background:transparent;box-shadow:none!important}.memo-card[aria-current=true]{background:#eef4ff;border-color:#d1e2ff}.memo-card:hover{background:#f1f5fb}.memo-card strong{display:block;color:#30405a;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.memo-preview{color:#8893a4;font-size:12px;line-height:1.7;margin:6px 0 9px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:pre-wrap}.memo-card-meta{display:flex;gap:6px;align-items:center;min-width:0;color:#919cac;font-size:11px}.memo-card-meta time{margin-left:auto;white-space:nowrap}.memo-badge{background:#edf1f7;color:#6b7f9e;border-radius:4px;padding:1px 5px;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pin-badge{color:#2469ed}.load-more{flex-shrink:0;border:0;border-top:1px solid #e9edf4;border-radius:0;color:#2469ed;font-size:12px}.list-empty{padding:32px 16px;color:#8a96a7;text-align:center;line-height:1.8}.memo-detail{min-width:0;min-height:0;display:flex;flex-direction:column}.empty-editor{margin:auto;text-align:center;padding:32px;color:#7b899d}.empty-editor h2{font-size:19px;font-weight:600;color:#556780}.empty-editor p{line-height:1.9;font-size:13px;margin:12px 0 22px}.empty-icon{display:grid;place-items:center;width:60px;height:68px;background:#f0f5fe;color:#9db8e6;border:1px solid #dce7f9;border-radius:9px;font-size:28px;margin:0 auto 22px}#editor{height:100%;display:flex;flex-direction:column;min-height:0}.editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 24px;border-bottom:1px solid #edf0f5;flex-wrap:wrap}#saveState{font-size:12px;color:#8995a5}.editor-actions{display:flex;align-items:center;gap:8px}.editor-actions button{font-size:12px;min-height:32px;padding:5px 11px}fieldset{margin:0;padding:24px;border:0;min-width:0;display:flex;flex-direction:column;gap:17px;flex:1;min-height:0}fieldset label{font-size:12px;color:#8895a7;display:flex;flex-direction:column;gap:5px}#title{font-size:21px;font-weight:600;border:0;border-radius:0;padding:4px 0 9px;border-bottom:1px solid #edf0f5;color:#263b58}#title:focus{box-shadow:none!important}.editor-properties{display:flex;align-items:flex-end;gap:24px}.editor-properties>label:first-child{flex:1;min-width:0}#tags{font-size:12px}.pin-toggle{flex-direction:row;align-items:center;white-space:nowrap;height:38px;color:#5e7190}.pin-toggle input{width:16px;height:16px;accent-color:#2469ed}.content-label{flex:1;min-height:140px}textarea{resize:none;flex:1;min-height:120px;border-color:#edf0f5;line-height:1.9;color:#3b4d66;font-size:14px;padding:12px}fieldset:disabled{opacity:.8}.editor-footer{display:flex;justify-content:space-between;gap:12px;padding:12px 24px;border-top:1px solid #edf0f5;color:#96a0b0;font-size:11px;flex-wrap:wrap}.page-footnote{font-size:11px;color:#95a0b0;margin:14px 0 0}body [hidden]{display:none!important}
.draft-notice{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:12px 20px;background:#fff9eb;border-bottom:1px solid #f0e3c5;color:#85682e;font-size:12px;flex:none}.draft-notice>div{display:flex;gap:8px}.draft-notice button{font-size:12px;min-height:30px;padding:4px 8px}.memo-detail:has(.draft-notice:not([hidden])) #editor{flex:1;height:auto}
@media(min-width:1001px) and (max-width:1280px){.memo-workspace{grid-template-columns:280px minmax(0,1fr)}main{padding:20px}.editor-toolbar,fieldset{padding:18px}}
@media(max-width:700px){header{padding:16px}.private-label{display:none}main{padding:16px 12px}.page-heading h2{font-size:17px}.page-heading p{font-size:12px}.page-heading button{font-size:12px;padding:8px 10px}.memo-workspace{display:flex;flex-direction:column;height:auto;max-height:none;min-height:600px}.memo-browser{height:430px;flex-shrink:0;border-right:0;border-bottom:1px solid #e5eaf1}.memo-detail{min-height:480px}#editor{min-height:560px}.editor-toolbar{padding:12px;gap:8px}fieldset{padding:16px}.editor-footer{padding:12px 16px}#title{font-size:18px}.editor-properties{gap:12px}.empty-editor{padding:32px 16px}textarea{min-height:250px}.page-footnote{line-height:1.8}.memo-preview{-webkit-line-clamp:1}}
