@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Serif+SC:wght@400;500;600;700&display=swap');
:root{font-family:'DM Sans','Microsoft YaHei',sans-serif;color:#292d29;background:#f8f8f6;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #819582;outline-offset:2px}.app{min-height:100vh;display:flex}.sidebar{width:238px;background:#fff;border-right:1px solid #e9ebe6;display:flex;flex-direction:column;padding:32px 18px 24px;position:fixed;inset:0 auto 0 0}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:inherit;padding:0 8px;margin-bottom:58px}.brand-icon{width:39px;height:39px;background:#405c4d;border-radius:11px;color:#fff;display:grid;place-items:center;font:600 20px 'Noto Serif SC',serif}.brand strong{font:700 19px 'Noto Serif SC',serif;display:block;letter-spacing:3px}.brand small{display:block;font-size:8px;color:#9ca39b;letter-spacing:1.2px;margin-top:3px}.side-label{color:#a5aaa3;font-size:11px;font-weight:700;letter-spacing:1px;margin:0 10px 12px}.side-label span{font-size:9px;letter-spacing:.8px;margin-left:4px}.category-heading{display:flex;justify-content:space-between;align-items:center;margin-top:36px}.category-heading button{border:0;background:none;color:#8c998e;font-size:20px}.nav-item{width:100%;height:43px;border:0;background:transparent;text-align:left;border-radius:7px;color:#747b73;padding:0 11px;display:flex;align-items:center;gap:10px}.nav-item>span:first-child{font-size:17px}.nav-item b{margin-left:auto;color:#a9afa8;font-size:11px;font-weight:500}.nav-item.active{background:#edf2ed;color:#405d4b;font-weight:700}.category-wrap{position:relative}.category-wrap .nav-item{padding-right:30px}.category-edit{display:none;position:absolute;right:6px;top:9px;border:0;background:#fff;color:#849184}.category-wrap:hover .category-edit,.category-edit:focus{display:block}.category-dot{width:7px;height:7px;border-radius:50%;background:#a7b9a7}.dot-1{background:#d6b79b}.dot-2{background:#c8a6a5}.dot-3{background:#a5b4c6}.sidebar-bottom{margin-top:auto}.side-quote{background:#f6f7f3;padding:18px 15px;color:#7b887b;font:14px/1.9 'Noto Serif SC',serif;border-radius:8px}.side-quote small{display:block;font:10px 'DM Sans',sans-serif;margin-top:10px;color:#a9b2a7}.backup-actions{display:flex;gap:8px;margin-top:15px}.backup-actions button{border:0;background:none;color:#929b91;font-size:11px;padding:5px}.main{margin-left:238px;flex:1;min-width:0}.topbar{height:74px;background:#fff;border-bottom:1px solid #eceeea;display:flex;align-items:center;justify-content:space-between;padding:0 6%}.breadcrumb{color:#a4aaa2;font-size:12px}.breadcrumb span{margin:0 11px;color:#d2d6d0}.breadcrumb strong{color:#626a61;font-weight:500}.top-actions{display:flex;align-items:center;gap:25px}.local-note{color:#9aa49a;font-size:11px}.local-note i{display:inline-block;width:6px;height:6px;background:#91b398;border-radius:50%;margin-right:6px}.primary{border:0;border-radius:6px;background:#405c4d;color:#fff;padding:11px 19px;font-weight:600}.primary:hover{background:#304a3c}.primary span{font-size:18px;vertical-align:-1px;margin-right:4px}.content{max-width:1420px;margin:auto;padding:48px 6% 25px}.intro{height:225px;background:#eef2eb;border-radius:9px;padding:35px 45px;position:relative;overflow:hidden;display:flex;justify-content:space-between}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#748b77}.eyebrow span{display:inline-block;width:19px;height:1px;vertical-align:middle;background:#819981;margin-right:8px}.intro h1{font:600 30px/1.5 'Noto Serif SC',serif;letter-spacing:2px;margin:18px 0 8px}.intro h1 em{font-style:normal;color:#66836a}.intro p{color:#89958a;font-size:12px;letter-spacing:.4px}.intro-mark{font:230px/1 'Noto Serif SC',serif;color:#dbe5d8;position:absolute;right:90px;top:27px}.intro-mark span{font:40px sans-serif;position:absolute;top:95px;right:-38px;color:#c9d9c7}.library-heading{display:flex;align-items:end;justify-content:space-between;margin:52px 0 22px}.muted{color:#acb3a9;font-size:9px}.library-heading h2{font:600 21px 'Noto Serif SC',serif;margin:9px 0 0}.library-heading h2 span{font:11px 'DM Sans',sans-serif;color:#a2aba1;margin-left:5px}.toolbar{display:flex;gap:8px}.search{height:38px;width:235px;background:#fff;border:1px solid #e9ece7;border-radius:6px;display:flex;align-items:center;padding:0 12px;gap:8px}.search span{font-size:21px;color:#9aa49a}.search input{border:0;outline:0;width:100%;font-size:11px;background:transparent}.search input::placeholder{color:#b6bdb4}.view-button{width:38px;height:38px;border:1px solid #e9ece7;border-radius:6px;background:#fff;color:#aab2a8;font-size:17px}.view-button.selected{color:#4c6953;background:#eef3ee}.entries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.entry-card{min-height:250px;background:#fff;border:1px solid #eceee9;border-radius:8px;padding:21px 23px 0;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.entry-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px #3746330c}.card-top,.card-bottom{display:flex;justify-content:space-between;align-items:center}.tag{background:#eff4ed;color:#789176;border-radius:4px;padding:5px 8px;font-size:10px}.tag-1{background:#f8f1ec;color:#b09379}.tag-2{background:#f8efef;color:#b28e8e}.tag-3{background:#edf2f5;color:#8a9eab}.card-date{font-size:10px;color:#b9c0b7}.card-quote{font:46px/1 'Noto Serif SC',serif;color:#c8d6c6;height:38px;margin-top:19px}.entry-text{font:500 15px/1.9 'Noto Serif SC',serif;color:#373d36;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 14px}.card-author{color:#9aa499;font-size:11px;margin-bottom:18px}.card-note{font-size:11px;color:#a4aaa1;margin-bottom:10px}.card-bottom{border-top:1px solid #f1f2ef;margin-top:auto;min-height:48px}.card-bottom button{border:0;background:none;color:#94a093;font-size:11px;padding:6px 2px}.card-bottom div{display:flex;gap:10px}.card-bottom button:hover{color:#405c4d}.entries.list{grid-template-columns:1fr}.entries.list .entry-card{min-height:170px}.empty{text-align:center;padding:50px;color:#a0aaa0}.empty div{font:50px 'Noto Serif SC',serif;color:#cbd7c9}.empty h3{color:#59665a;font:18px 'Noto Serif SC',serif}.empty p{font-size:12px;margin-bottom:20px}footer{border-top:1px solid #eceee9;margin-top:50px;padding-top:21px;color:#a9b1a7;font-size:11px}footer span{float:right;font-size:9px;letter-spacing:1px}dialog{border:0;border-radius:10px;padding:30px;width:min(520px,calc(100% - 30px));box-shadow:0 20px 80px #1e2a2330;color:#303730}dialog::backdrop{background:#1e2a2370}.dialog-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:25px}.dialog-head h2,.poster-controls h2{font:600 23px 'Noto Serif SC',serif;margin:9px 0}.close{border:0;background:none;color:#9aa49b;font-size:26px;line-height:1}form label{display:block;color:#616b60;font-size:12px;font-weight:600;margin:16px 0}form label span{color:#ba887f}form label small{color:#adb5ab;font-weight:400}input:not([type=file]),textarea,select{width:100%;border:1px solid #e1e7df;border-radius:6px;padding:12px;color:#333d34;background:#fff;margin-top:8px;resize:vertical}input::placeholder,textarea::placeholder{color:#b9c2b7}.search input{padding:0;margin:0;border:0}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.secondary{border:1px solid #e3e9e1;background:#fff;border-radius:6px;padding:10px 20px;color:#7f8b7f}.poster-dialog{width:min(900px,calc(100% - 30px));padding:0;max-height:94vh}.poster-layout{display:grid;grid-template-columns:1.25fr 1fr}.poster-stage{background:#f2f3ef;padding:20px 45px;text-align:center}.poster-top{display:flex;justify-content:space-between;align-items:center;color:#aab2a8;font-size:9px;letter-spacing:1.5px;margin-bottom:12px}.poster-top .close{visibility:hidden}.poster{aspect-ratio:3 / 4;width:min(100%,370px);margin:auto;background:#fff;color:#303630;box-shadow:0 8px 25px #39483b1c;text-align:left;transition:background .2s}.poster-inner{height:100%;padding:12%;display:flex;flex-direction:column}.poster-deco{font:68px/1 'Noto Serif SC',serif;color:#a8bca7}.poster-content{white-space:pre-wrap;overflow:auto;overflow-wrap:anywhere;font:500 clamp(15px,2vw,22px)/1.9 'Noto Serif SC',serif;flex:1}.poster-sign{border-top:1px solid currentColor;padding-top:14px;display:flex;justify-content:space-between;gap:10px;font-size:10px;opacity:.65}.theme-ink{background:#242b28;color:#f4f3e9}.theme-sage{background:#dce8d9;color:#344c39}.theme-rose{background:#f3e3df;color:#694d4c}.poster-tip{font-size:11px;color:#a6afa4}.poster-controls{padding:45px 32px}.poster-controls>p{color:#a1aaa0;font-size:12px}.control-label{margin:33px 0 12px;color:#626c61;font-size:12px;font-weight:700}.options{display:flex;gap:8px}.options button{border:1px solid #e4e9e2;background:white;border-radius:6px;padding:10px 17px;color:#7c887a}.options button.selected,.theme-options button.selected{border-color:#77977c;background:#f1f6f0;color:#4b6b50}.theme-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.theme-options button{text-align:left;border:1px solid #e7ebe5;background:#fff;border-radius:6px;padding:10px;display:grid;grid-template-columns:25px 1fr;column-gap:8px}.theme-options i{grid-row:span 2;width:25px;height:32px;background:#f5f3ed;border:1px solid #e4e3db;border-radius:3px}.theme-options button:nth-child(2) i{background:#242b28}.theme-options button:nth-child(3) i{background:#dce8d9}.theme-options button:nth-child(4) i{background:#f3e3df}.theme-options strong{font-size:11px}.theme-options small{font-size:9px;color:#a1aaa0}.print-button{width:100%;margin-top:35px}.control-hint{font-size:10px!important;text-align:center}.poster-stage .close{visibility:visible}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#334d3b;color:white;padding:11px 18px;border-radius:6px;opacity:0;pointer-events:none;transition:.2s;z-index:10}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1000px){.entries{grid-template-columns:repeat(2,minmax(0,1fr))}.intro-mark{right:35px}}@media(max-width:700px){.app{display:block}.sidebar{position:static;width:auto;padding:15px;display:block}.brand{margin:0 0 15px}.side-label,.sidebar-bottom{display:none}.sidebar>.nav-item{width:auto;display:inline-flex}.categories{display:inline-flex;max-width:100%;overflow:auto;vertical-align:middle}.category-wrap{min-width:110px}.category-edit{display:block}.main{margin:0}.topbar{height:60px;padding:0 18px}.local-note{display:none}.content{padding:25px 18px}.intro{height:190px;padding:25px}.intro h1{font-size:23px}.intro-mark{font-size:150px;right:20px;top:45px}.intro-mark span{display:none}.library-heading{display:block;margin-top:35px}.toolbar{margin-top:18px}.search{flex:1}.entries{grid-template-columns:1fr}.entry-card{min-height:220px}.poster-layout{display:block}.poster-stage{padding:15px 30px}.poster{width:min(100%,250px)}.poster-controls{padding:25px}.poster-controls .control-label{margin-top:20px}.print-button{margin-top:20px}.poster-content{font-size:15px}.poster-deco{font-size:45px}.form-row{grid-template-columns:1fr;gap:0}}@media print{body *{visibility:hidden!important}#poster-dialog,#poster-dialog *{visibility:visible!important}#poster-dialog{position:absolute;inset:0;margin:0;padding:0;width:100%;max-width:none;max-height:none;box-shadow:none;overflow:visible}#poster-dialog::backdrop{display:none}.poster-layout{display:block}.poster-stage{padding:0;background:white}.poster-top,.poster-tip,.poster-controls{display:none!important}.poster{width:100%;max-width:none;box-shadow:none;print-color-adjust:exact;-webkit-print-color-adjust:exact}}
