:root{--ink:#20312a;--muted:#82918a;--line:#e1e9e4;--paper:#f7faf8;--white:#fff;--green:#176245;--green-2:#4d9b73;--mint:#e8f4ec;--yellow:#fff4cf;--shadow:0 16px 36px rgba(31,65,48,.07)}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 "Noto Sans SC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}button{border:0;background:transparent;color:inherit;cursor:pointer}.app-shell{display:flex;min-height:100vh}.sidebar{width:236px;flex-shrink:0;display:flex;flex-direction:column;padding:28px 16px 18px;background:#f0f5f2;border-right:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;padding:0 11px 26px;font-size:20px;font-weight:800}.brand-mark{display:grid;place-items:center;width:33px;height:33px;border-radius:9px;background:var(--green);color:#fff}.workspace{display:flex;align-items:center;gap:8px;height:38px;margin:0 4px 25px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#586b61;font-size:12px}.workspace button{margin-left:auto;color:#97a59d}.status-dot{width:7px;height:7px;border-radius:50%;background:#e9b73d}.nav{display:grid;gap:4px}.nav-item{display:flex;align-items:center;gap:12px;height:40px;padding:0 11px;border-radius:7px;color:#6c7c73;text-align:left;font-size:12px}.nav-item span{width:18px;text-align:center;font-size:17px}.nav-item:hover{background:#e5efe9}.nav-item.active{background:#fff;color:var(--green);font-weight:700;box-shadow:var(--shadow)}.sidebar-section-title{margin:30px 11px 9px;color:#a0ada6;font-size:10px;letter-spacing:.14em}.sidebar-tags{display:grid;gap:3px}.tag-link{display:flex;align-items:center;gap:8px;padding:8px 11px;border-radius:6px;color:#788980;font-size:11px}.tag-link:hover{background:#e4efe8;color:var(--green)}.tag-link i{width:7px;height:7px;border-radius:50%;background:#e7ba4b}.tag-link:nth-child(2n) i{background:#7ea5cf}.tag-link:nth-child(3n) i{background:#d58787}.tag-link b{margin-left:auto;color:#a6b1aa;font:10px monospace}.sidebar-bottom{display:grid;gap:4px;margin-top:auto;padding-top:16px;border-top:1px solid var(--line)}.side-action{text-align:left;padding:7px 11px;color:#75867c;font-size:11px;border-radius:5px}.side-action:hover{background:#e4efe8;color:var(--green)}.main{min-width:0;flex:1}.topbar{height:66px;display:flex;align-items:center;justify-content:space-between;padding:0 46px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.78)}.breadcrumb{display:flex;align-items:center;gap:11px;color:#a0aaa5;font-size:12px}.breadcrumb b{font-weight:400;color:#ccd5d0}.breadcrumb strong{color:#40564b}.top-actions{display:flex;align-items:center;gap:13px}.icon-btn{width:32px;height:32px;border-radius:6px;color:#7d8b83;font-size:18px}.icon-btn:hover{background:var(--mint);color:var(--green)}.primary-btn,.secondary-btn{height:36px;padding:0 14px;border-radius:6px;font-size:11px;font-weight:600}.primary-btn{background:var(--green);color:#fff;box-shadow:0 7px 15px rgba(23,98,69,.15)}.primary-btn:hover{background:#0f5339}.secondary-btn{border:1px solid #c8dbcf;color:var(--green);background:#fff}.avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#e8d9b5;color:#826a35;font-size:12px}.view{display:none;padding:43px 47px 70px;max-width:1320px;margin:auto}.view.active-view{display:block}.hero{display:flex;justify-content:space-between;align-items:flex-end;gap:25px}.eyebrow{margin:0;color:#90a099;font:10px/1.4 monospace;letter-spacing:.16em}.hero h1,.page-head h1{margin:8px 0 9px;font-size:33px;line-height:1.2;letter-spacing:-.03em}.hero h1 span{color:var(--green)}.hero p:not(.eyebrow),.page-head p:not(.eyebrow){margin:0;color:#8b9991;font-size:13px}.focus-box{min-width:224px;padding:20px 23px;border-left:3px solid var(--green-2);background:#eef7f1}.focus-box small,.focus-box span,.focus-box p{display:block;color:#879a8e;font-size:11px}.focus-box strong{margin:5px 5px 0 0;color:var(--green);font:700 28px monospace}.focus-box p{margin-top:10px}.overview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:38px}.overview-card{display:grid;gap:3px;padding:19px 21px;border:1px solid var(--line);border-radius:8px;background:#fff}.overview-card small{color:#92a099;font-size:11px}.overview-card strong{font:700 25px monospace;color:var(--green)}.overview-card span{color:#a4afa9;font-size:10px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;margin-top:40px}.section-head h2{margin:5px 0 0;font-size:19px}.text-btn{color:var(--green);font-size:11px;font-weight:600}.section-head-spaced{margin-top:37px}.recent-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:18px}.recent-card{padding:18px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}.recent-card:hover{border-color:#9dc9ad;box-shadow:var(--shadow)}.recent-card-top,.editor-meta,.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.note-tag{padding:4px 7px;border-radius:4px;background:var(--yellow);color:#957422;font-size:10px}.recent-card time{color:#a3aea8;font-size:10px}.recent-card h3{margin:17px 0 7px;font-size:14px}.recent-card p{height:40px;overflow:hidden;margin:0;color:#8d9992;font-size:11px;line-height:1.7}.recent-card footer{display:flex;justify-content:space-between;margin-top:16px;padding-top:12px;border-top:1px solid #edf1ee;color:#a3aea8;font-size:10px}.quick-capture{display:flex;gap:8px;max-width:700px;margin-top:15px}.quick-capture input{height:40px;flex:1;padding:0 13px;border:1px solid var(--line);border-radius:6px;outline:0;background:#fff;font-size:12px}.quick-capture input:focus,.search-field:focus-within{border-color:#8fc0a1;box-shadow:0 0 0 3px rgba(77,155,115,.1)}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.notes-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:19px;margin-top:32px;min-height:570px}.note-list-panel{padding-right:17px;border-right:1px solid var(--line)}.search-field{display:flex;align-items:center;gap:8px;height:37px;padding:0 10px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#a6b1ab}.search-field input{width:100%;border:0;outline:0;background:transparent;font-size:11px}.filter-row{display:flex;gap:5px;margin:14px 0 10px}.filter{padding:6px 9px;border-radius:4px;color:#94a09a;font-size:10px}.filter.active,.filter:hover{background:var(--mint);color:var(--green);font-weight:600}.note-list{display:grid;gap:4px;max-height:495px;overflow:auto}.note-list-item{padding:12px 10px;border-radius:6px;cursor:pointer}.note-list-item:hover{background:#eef6f1}.note-list-item.active{background:#e2f0e7}.note-list-item strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.note-list-item small{display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#99a59e;font-size:10px}.note-list-item time{display:block;margin-top:7px;color:#afb9b3;font-size:9px}.editor-panel{position:relative;display:flex;flex-direction:column;min-height:570px;padding:23px 31px 17px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:var(--shadow)}.editor-meta select{height:26px;padding:0 7px;border:0;border-radius:4px;background:var(--yellow);color:#92701f;font-size:10px;outline:0}.editor-meta span{margin-left:auto;color:#9daaa2;font-size:10px}.note-title{width:100%;margin:25px 0 14px;padding:0;border:0;outline:0;color:var(--ink);font-size:25px;font-weight:800}.editor-toolbar{display:flex;align-items:center;gap:7px;height:39px;border-top:1px solid #edf1ee;border-bottom:1px solid #edf1ee;color:#8b9991}.editor-toolbar button{padding:4px 8px;border-radius:4px;color:#72857a;font-size:11px}.editor-toolbar button:hover{background:var(--mint);color:var(--green)}.editor-toolbar span{flex:1}.note-content{flex:1;min-height:320px;padding-top:20px;outline:0;color:#4c5b53;font-size:14px;line-height:1.9}.note-content:empty:before{content:attr(data-placeholder);color:#b0bab4}.note-content blockquote{margin:18px 0;padding:8px 13px;border-left:3px solid #a9d2b8;background:#f7fbf8;color:#798a80}.cloze{padding:1px 4px;border-bottom:2px solid #e3bd43;background:var(--yellow);color:#96751d;cursor:pointer}.cloze.revealed{border-color:#9bcdae;background:#e4f3e9;color:var(--green)}.editor-footer{padding-top:14px;border-top:1px solid #edf1ee;color:#a6b0ab;font-size:10px}.review-panel{max-width:720px;margin:40px auto}.review-card{padding:28px 32px;border:1px solid var(--line);border-radius:8px;background:#fff;text-align:center;box-shadow:var(--shadow)}.review-card h2{margin:21px 0 12px;font-size:21px}.review-card p{color:#829089;font-size:12px}.review-answer{margin:28px 0;font-size:17px;line-height:1.8}.review-answer span{display:inline-block;min-width:90px;border-bottom:2px solid #e2ba3e;background:var(--yellow);color:#9a7921;cursor:pointer}.review-answer span.revealed{background:#e4f3e9;border-color:#9bcdae;color:var(--green)}.review-actions{display:flex;justify-content:center;gap:8px}.library-empty{margin-top:38px;padding:74px 20px;border:1px dashed #c9ddd0;border-radius:8px;background:#fbfdfb;text-align:center}.library-empty>div{font-size:33px;color:var(--green)}.library-empty h2{margin:13px 0 6px;font-size:18px}.library-empty p{margin:0 0 20px;color:#8b9991;font-size:12px}.toast{position:fixed;right:25px;bottom:25px;padding:10px 15px;border-radius:6px;background:#26362e;color:#fff;font-size:12px;opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:none}@media(max-width:900px){.sidebar{width:196px}.topbar{padding:0 27px}.view{padding:35px 27px 60px}.recent-grid{grid-template-columns:1fr 1fr}.notes-layout{grid-template-columns:210px 1fr}}@media(max-width:640px){.sidebar{width:58px;padding:18px 8px}.brand{padding:0 4px 25px}.brand>span:last-child,.workspace span:not(.status-dot),.workspace button,.nav-item:not(.active){font-size:0}.workspace{justify-content:center;padding:0;border:0;background:transparent}.nav-item.active{justify-content:center;padding:0}.nav-item.active span{font-size:17px}.sidebar-section-title,.sidebar-tags,.sidebar-bottom{display:none}.topbar{height:60px;padding:0 15px}.breadcrumb span,.breadcrumb b{display:none}.top-actions{gap:4px}.top-actions .primary-btn{font-size:0;width:35px;padding:0}.top-actions .primary-btn:first-letter{font-size:20px}.view{padding:28px 15px 48px}.hero,.page-head{display:block}.hero h1,.page-head h1{font-size:27px}.focus-box{margin-top:20px}.overview-grid,.recent-grid{grid-template-columns:1fr;gap:10px;margin-top:23px}.section-head{margin-top:29px}.quick-capture{display:block}.quick-capture .primary-btn{width:100%;margin-top:8px}.notes-layout{display:block;margin-top:24px}.note-list-panel{padding:0 0 14px;border-right:0;border-bottom:1px solid var(--line)}.note-list{max-height:190px}.editor-panel{margin-top:14px;min-height:520px;padding:19px 17px}.note-title{font-size:22px}.editor-footer{font-size:9px}}
:root{--ink:#20312a;--muted:#82918a;--line:#e1e9e4;--paper:#f7faf8;--white:#fff;--green:#176245;--green-2:#4d9b73;--mint:#e8f4ec;--yellow:#fff4cf;--shadow:0 16px 36px rgba(31,65,48,.07)}.danger-btn{color:#b35d5d!important}.materials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:34px}.material-card{padding:18px;border:1px solid var(--line);border-radius:8px;background:#fff}.material-card>span{display:grid;place-items:center;width:34px;height:34px;border-radius:6px;background:var(--mint);color:var(--green);font-weight:700}.material-card h3{margin:14px 0 6px;font-size:14px}.material-card p{margin:0;color:#8d9992;font-size:11px}.material-card button{margin-top:17px;color:#a15b5b;font-size:10px}@media(max-width:640px){.materials-grid{grid-template-columns:1fr}}
