:root{--bg:#f6f5ef;--paper:#fffefa;--ink:#263a32;--muted:#81877d;--green:#244d3e;--green-light:#e8eee4;--orange:#bb7650;--orange-light:#f6eadf;--line:#e6e7dd;--blue:#6b8596;--radius:14px;font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.7}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #ba835c;outline-offset:4px}button{color:inherit}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:29px;font-weight:600;letter-spacing:1px;line-height:1.4}h2{font-size:19px;font-weight:600;letter-spacing:.3px}h3{font-size:15px;font-weight:600}small{font-size:12px}.sidebar{width:228px;position:fixed;inset:0 auto 0 0;background:#eeefe6;border-right:1px solid #e1e5d9;padding:35px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;padding:0 9px}.brand-mark{width:37px;height:43px;fill:var(--green);flex-shrink:0}.brand-mark path:last-child{fill:#779075}.brand strong{font-size:25px;font-weight:600;letter-spacing:6px;line-height:1.4}.brand small{display:block;font-size:9px;white-space:nowrap;color:#8b9183;letter-spacing:.3px;margin-top:4px}.workspace-label{margin:47px 12px 14px;font-size:10px;letter-spacing:1.5px;color:#939b88;display:flex;align-items:center;justify-content:space-between}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#87a081;flex-shrink:0}.main-nav{display:flex;flex-direction:column;gap:7px}.main-nav a{display:flex;align-items:center;gap:13px;padding:11px 15px;border-radius:8px;min-height:46px;color:#737f6e;font-size:13px;transition:background .15s,color .15s;position:relative}.main-nav a:hover{background:#e4e9dc;color:var(--green)}.main-nav a.active{background:var(--green);color:#fffdf5;box-shadow:0 5px 12px #244d3e0d}.nav-indicator{display:none;margin-left:auto;width:5px;height:5px;border-radius:50%;background:#bdcaae}.active .nav-indicator{display:block}.main-nav .icon{width:18px;height:18px}.sidebar-bottom{margin-top:auto;padding:24px 10px 0}.local-badge{display:flex;align-items:center;gap:7px;font-size:10px;color:#71806a}.local-badge .icon{width:14px;height:14px;stroke-width:2}.sidebar-bottom p{font-size:9px;color:#9ba18f;line-height:2;letter-spacing:.7px;margin-top:13px}.main-shell{margin-left:228px;min-height:100vh}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#f9f8f2}.topbar-path{font-size:11px;color:#9c9e91;display:flex;gap:16px;align-items:center}.topbar-path span:last-child{color:#67745f}.topbar-meta{display:flex;gap:8px;align-items:center;font-size:10px;color:#87917e;letter-spacing:.2px}.avatar{margin-left:16px;width:30px;height:30px;border-radius:50%;background:#e6e9df;display:flex;align-items:center;justify-content:center;color:#6b795f;font-size:11px}.page-content{max-width:1500px;margin:auto;padding:35px 42px 28px;min-height:calc(100vh - 142px)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:9px;letter-spacing:2px;color:#89907e;line-height:1.5;margin-bottom:8px}.page-subtitle{font-size:11px;color:var(--muted);margin-top:7px;letter-spacing:.2px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:9px 17px;border:1px solid transparent;border-radius:7px;font-size:12px;font-weight:500;white-space:nowrap;transition:background .15s,transform .15s}.button .icon{width:16px;height:16px}.button:hover{transform:translateY(-1px)}.primary{background:var(--green);color:#fffdf6;border-color:var(--green)}.primary:hover{background:#315c4b}.secondary{background:var(--paper);border-color:#dce1d5;color:#65725d}.secondary:hover{background:#eef1e8}.danger{background:#af5a44;border-color:#af5a44;color:white}.text-button{border:0;background:transparent;color:#718466;display:inline-flex;gap:7px;align-items:center;padding:5px 0;font-size:11px}.text-button .icon{width:15px;height:15px}.text-button:hover{color:var(--green)}.hero{background:#e9eddf;border:1px solid #dfe5d5;min-height:172px;border-radius:var(--radius);padding:25px 30px;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden;margin-bottom:23px}.hero-content{position:relative;z-index:1;max-width:72%}.hero .eyebrow{color:#7f8d71;margin-bottom:8px}.hero h2{font-size:23px;font-family:"Songti SC","SimSun",serif;letter-spacing:1px;line-height:1.6;font-weight:500}.hero p.hero-description{font-size:11px;color:#7f8c74;line-height:1.9;margin-top:9px}.hero .hero-art{height:155px;width:230px;position:absolute;right:10px;bottom:-9px;color:#829775;opacity:.9}.hero-empty .hero-content{max-width:75%}.hero-actions{display:flex;gap:10px;margin-top:18px}.hero-actions .button{min-height:33px;padding:6px 12px;font-size:11px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.stat-card{border:1px solid var(--line);background:var(--paper);padding:19px 21px 16px;border-radius:11px;position:relative}.stat-label{font-size:11px;color:#808a76;display:flex;align-items:center;justify-content:space-between;gap:5px}.stat-label .icon{color:#9ba990;width:18px;height:18px}.stat-number{display:flex;align-items:baseline;gap:7px;margin-top:8px;font-family:Georgia,"Times New Roman",serif;font-size:34px;line-height:1.3;color:#304d39}.stat-unit{font-family:"Microsoft YaHei",sans-serif;color:#9b9e90;font-size:10px}.stat-note{font-size:9px;color:#a1a492;margin-top:5px}.overview-columns{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr);gap:24px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:22px 24px}.panel+.panel{margin-top:20px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.section-heading h2{font-size:15px}.section-heading h2 span{font-family:Georgia,serif;color:#a1ab94;font-weight:400;font-size:13px;margin-left:8px}.section-description{font-size:10px;color:#9a9e8c;margin-top:3px}.record-list{display:flex;flex-direction:column}.record-card{width:100%;display:block;text-align:left;border:0;background:transparent;position:relative;padding:17px 0;cursor:pointer;border-bottom:1px solid #eeeee6}.record-card:first-child{padding-top:0}.record-card:last-child{border-bottom:0;padding-bottom:0}.record-card:hover .record-title{color:#55754d}.record-top{display:flex;align-items:center;gap:9px;margin-bottom:7px;flex-wrap:wrap}.record-title{font-size:13px;font-weight:600;line-height:1.6;overflow-wrap:anywhere;transition:color .15s}.category-badge{font-size:9px;letter-spacing:.2px;border-radius:4px;padding:2px 7px;white-space:nowrap;color:#657c54;background:#ecf0e5}.category-badge.work{color:#738564;background:#edf1e5}.category-badge.study{color:#9b744e;background:#f7eee0}.category-badge.life{color:#6f8d93;background:#eaf0ef}.record-date{font-size:10px;color:#a0a592;margin-left:auto;flex-shrink:0}.record-excerpt{font-size:11px;color:#8a9080;line-height:1.9;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.record-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px}.tags{display:flex;gap:6px;flex-wrap:wrap}.tag{font-size:9px;color:#8a947e;background:#f4f5ed;border:1px solid #e9ecdf;border-radius:4px;padding:1px 6px;max-width:100%;overflow-wrap:anywhere}.record-minutes{font-size:9px;color:#a0a891;white-space:nowrap;display:flex;gap:4px;align-items:center}.record-minutes .icon{width:11px;height:11px}.calendar-title{font-size:11px;color:#839172;display:flex;align-items:center;gap:6px}.calendar-title .icon{width:14px;height:14px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin-top:16px;text-align:center}.calendar-dayname{font-size:8px;color:#adb29d;margin-bottom:4px}.calendar-day{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-family:Georgia,serif;font-size:10px;position:relative;color:#b1b8a3;border-radius:5px;min-width:0}.calendar-day.recorded{background:#edf1e3;color:#6a8254}.calendar-day.today{background:var(--green);color:#fcfbf1}.calendar-day.recorded:after{content:"";position:absolute;bottom:3px;width:3px;height:3px;border-radius:50%;background:#93a47b}.calendar-day.today:after{background:#bfcfac}.calendar-legend{display:flex;justify-content:space-between;gap:8px;margin-top:14px;font-size:9px;color:#a5ab95}.legend-dot{display:inline-block;width:5px;height:5px;background:#9fac86;border-radius:50%;margin-right:5px;vertical-align:middle}.topic-cloud{display:flex;gap:7px;flex-wrap:wrap}.topic-chip{border:1px solid #e6eadc;border-radius:5px;background:#f5f6ee;padding:6px 10px;font-size:10px;color:#80916c;display:inline-flex;gap:9px;align-items:center;max-width:100%;overflow-wrap:anywhere}.topic-chip span{font-family:Georgia,serif;color:#a8b197;font-size:10px}.topic-chip:hover,.topic-chip.active{background:#e5ebd9;border-color:#b9c6a4;color:#4d6b3b}.category-row{display:flex;align-items:center;gap:12px;margin:14px 0}.category-dot{width:7px;height:7px;border-radius:50%;background:#8ca174;flex-shrink:0}.category-dot.study{background:#c09c72}.category-dot.life{background:#86a4a5}.category-row-label{font-size:10px;min-width:50px;color:#87917b}.category-meter{flex:1;min-width:20px;height:4px}.category-count{font-family:Georgia,serif;font-size:11px;color:#7e8d6b;width:24px;text-align:right}.quiet-note{font-size:10px;line-height:1.9;color:#a0a58f}.divider{height:1px;background:var(--line);margin:19px 0}.mini-quote{display:flex;gap:13px;padding:20px 5px 4px}.quote-line{width:2px;background:#c4cbb5;flex-shrink:0}.mini-quote p{font-family:"Songti SC","SimSun",serif;font-size:13px;line-height:2;color:#939c83;letter-spacing:.6px}.mini-quote small{display:block;font-family:"Microsoft YaHei",sans-serif;font-size:9px;color:#afb49f;margin-top:7px;letter-spacing:1px}.page-footer{max-width:1500px;margin:auto;display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#a8ad9b;letter-spacing:.7px;padding:17px 42px 22px;border-top:1px solid var(--line)}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 20px;color:#8d9a7c;min-height:255px}.empty-state .empty-symbol{width:67px;height:67px;border:1px solid #dfe5d1;background:#f2f4ea;display:flex;align-items:center;justify-content:center;border-radius:50%;margin-bottom:18px}.empty-symbol .icon{width:27px;height:27px;color:#a1af8c}.empty-state h3{font-size:15px;font-weight:500;color:#718563}.empty-state p{font-size:11px;line-height:2;max-width:370px;margin-top:8px;color:#a0a78f}.empty-state .button{margin-top:19px}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:22px;flex-wrap:wrap}.search-field{height:40px;border:1px solid #e0e5d7;border-radius:7px;background:var(--paper);display:flex;align-items:center;padding:0 12px;gap:9px;flex:1;min-width:180px}.search-field .icon{width:16px;height:16px;color:#a1ac92}.search-field input{width:100%;border:0;background:transparent;outline:0;font-size:11px;min-width:0;color:#5d7351}.search-field input::placeholder{color:#b0b7a1}.toolbar select,.toolbar input[type=month]{border:1px solid #e0e5d7;border-radius:7px;min-height:40px;background:var(--paper);font-size:11px;color:#7c8c6b;padding:0 12px;max-width:100%}.filter-status{display:flex;align-items:center;gap:15px;margin-bottom:19px;font-size:11px;color:#959e86}.filter-status strong{color:#5c7950;font-weight:500}.timeline-group{display:grid;grid-template-columns:95px minmax(0,1fr);gap:24px;position:relative;margin-bottom:19px}.timeline-date{font-size:11px;color:#9ca68d;text-align:right;padding-top:21px;line-height:1.5}.timeline-date strong{display:block;font-family:Georgia,serif;color:#68805b;font-size:25px;font-weight:400;line-height:1.1;margin-bottom:6px}.timeline-items{position:relative;padding-left:27px}.timeline-items:before{content:"";position:absolute;left:0;top:0;bottom:-20px;width:1px;background:#dce4cf}.timeline-items:after{content:"";position:absolute;left:-4px;top:26px;width:7px;height:7px;border:1px solid #b4c49d;border-radius:50%;background:var(--bg)}.timeline-group:last-child .timeline-items:before{bottom:0}.timeline-items .panel{padding:20px 23px}.timeline-items .record-card{padding:0}.timeline-items .record-card+.record-card{padding-top:17px;margin-top:17px}.knowledge-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:22px}.knowledge-aside{align-self:start}.knowledge-aside .panel{padding:20px 18px}.knowledge-aside h3{font-size:12px;margin-bottom:15px}.knowledge-aside .topic-cloud{gap:7px}.knowledge-aside .topic-chip{font-size:9px;padding:5px 8px}.knowledge-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.knowledge-card{border:1px solid var(--line);border-radius:11px;background:var(--paper);padding:21px;text-align:left;display:flex;flex-direction:column;min-height:205px}.knowledge-card:hover{border-color:#c4d0b4;box-shadow:0 4px 14px #3d593808}.knowledge-card .record-title{font-size:14px;margin:13px 0 9px}.knowledge-card .record-excerpt{flex:1;-webkit-line-clamp:3}.knowledge-card .record-bottom{margin-top:17px}.knowledge-card .record-date{margin-left:0}.graph-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:20px}.graph-panel{padding:0;overflow:hidden;position:relative;min-height:510px;background-color:#fcfcf6;background-image:radial-gradient(#dce4d2 .65px,transparent .65px);background-size:19px 19px}.graph-caption{padding:19px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9ecdf;background:#fffefaeb}.graph-caption h3{font-size:12px}.graph-caption span{font-size:9px;color:#a0ac90}.graph-canvas{display:block;width:100%;height:440px}.graph-edge{stroke:#c2d0b4;stroke-width:1.1;opacity:.72}.graph-edge.explicit{stroke:#81966f;stroke-width:1.5}.graph-node{cursor:pointer;outline:none}.graph-node:focus circle,.graph-node:hover circle{stroke:#475e38;stroke-width:2}.graph-node text{font-size:10px;fill:#77866a;pointer-events:none}.graph-node.entry-node text{font-size:10px;fill:#4b6641}.graph-side .panel{padding:20px}.graph-side h3{font-size:12px;margin-bottom:10px}.graph-legend{display:flex;align-items:center;gap:8px;font-size:11px;color:#7f9071;margin:11px 0}.graph-side .quiet-note{font-size:10px}.graph-side .record-card{padding:11px 0}.graph-side .record-title{font-size:11px}.legend-line{display:inline-block;width:19px;height:1px;background:#7c9566}.legend-line.soft{background:#c7d2bc}.review-header{display:flex;align-items:center;gap:12px;margin-bottom:22px}.review-header label{font-size:11px;color:#8b967d}.review-header input{height:37px;font-size:12px;border:1px solid #dfe5d5;border-radius:7px;background:var(--paper);color:#657c53;padding:4px 12px}.review-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:23px}.review-paper{padding:32px 35px}.review-paper .eyebrow{color:#a2aa94}.review-paper h2{font-family:"Songti SC","SimSun",serif;font-size:27px;font-weight:500;margin-bottom:11px}.review-intro{font-size:11px;color:#98a08a;padding-bottom:22px;border-bottom:1px solid var(--line)}.review-stat-row{display:flex;gap:30px;padding:20px 0;border-bottom:1px solid var(--line)}.review-stat-row strong{font-family:Georgia,serif;font-size:27px;font-weight:400;display:block;color:#648052;line-height:1.4}.review-stat-row span{font-size:9px;color:#9da58e}.review-section{margin-top:26px}.review-section h3{font-size:13px;display:flex;align-items:center;gap:8px;margin-bottom:10px}.review-section h3:before{content:"";display:inline-block;width:3px;height:11px;border-radius:2px;background:#b7c3a4}.review-section p{font-size:12px;color:#849078;line-height:2.2;white-space:pre-wrap;overflow-wrap:anywhere}.review-source{border-top:1px solid var(--line);margin-top:30px;padding-top:16px;font-size:9px;color:#a8af99;line-height:1.9}.review-side .panel{padding:22px}.review-side h3{font-size:12px;margin-bottom:18px}.review-side .text-button{font-size:10px}.review-side .record-title{font-size:12px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.settings-card{padding:27px;display:flex;flex-direction:column}.settings-card .settings-icon{width:38px;height:38px;background:#eef2e5;border-radius:9px;color:#8ba172;display:flex;align-items:center;justify-content:center;margin-bottom:17px}.settings-card h2{font-size:16px;margin-bottom:8px}.settings-card p{font-size:11px;line-height:2;color:#8b987d;max-width:420px;margin-bottom:20px}.settings-card .button{align-self:flex-start;margin-top:auto}.settings-card .settings-warning{font-size:10px;color:#b28d6d;margin-bottom:17px}.settings-card.destructive{border-color:#eadfd4}.settings-card.destructive .settings-icon{background:#f6ece4;color:#b38e70}.storage-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;padding:22px 26px;background:#eaf0e1;border:1px solid #dce6cf;border-radius:11px}.storage-summary h2{font-size:14px}.storage-summary p{font-size:10px;color:#8c9c7b;margin-top:5px}.storage-count{font-family:Georgia,serif;font-size:28px;color:#5e7b4e}.storage-count small{font-family:"Microsoft YaHei",sans-serif;font-size:10px;margin-left:5px;color:#97a687}.notice{border:1px solid #e7dcc9;background:#f9f0e1;padding:14px 18px;border-radius:8px;font-size:11px;color:#9f815c;line-height:1.9;margin-bottom:20px;overflow-wrap:anywhere}.notice .text-button{color:#937a55;margin-left:10px}.data-notes{margin-top:24px;border-top:1px solid var(--line);padding-top:21px;font-size:10px;color:#a0aa92;line-height:2}.data-notes strong{font-weight:500;color:#839374}.icon-button{display:flex;align-items:center;justify-content:center;border:1px solid transparent;background:transparent;border-radius:6px;width:32px;height:32px;color:#9ba58e}.icon-button:hover{background:#edf1e4;color:#5f7b4a}.icon-button .icon{width:18px;height:18px}dialog{border:1px solid #dfe5d5;border-radius:15px;background:var(--paper);color:var(--ink);padding:0;box-shadow:0 24px 90px #24322225;max-width:calc(100% - 32px);max-height:calc(100dvh - 48px)}dialog::backdrop{background:#26352a66;backdrop-filter:blur(3px)}.editor-dialog,.detail-dialog{width:650px}.confirm-dialog{width:430px}.dialog-header{padding:23px 26px 18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.dialog-header .eyebrow{font-size:8px;margin-bottom:6px}.dialog-header h2{font-size:20px}.dialog-body{padding:23px 26px}.dialog-footer{padding:17px 26px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;background:#f8f8f0}.form-intro{font-size:11px;color:#98a18b;margin-bottom:21px}.field{display:block;font-size:11px;color:#788a67;margin-bottom:16px}.field input,.field textarea,.field select{display:block;width:100%;margin-top:6px;border:1px solid #dfe5d4;background:#fffffc;border-radius:6px;padding:9px 11px;font-size:12px;color:#5c7350;min-height:40px;line-height:1.8}.field textarea{resize:vertical;min-height:110px}.field input::placeholder,.field textarea::placeholder{color:#b1b9a4}.required{color:#b78b69;font-size:10px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:17px}.link-fieldset{border:1px solid #e3e8d9;border-radius:7px;margin:8px 0 0;padding:12px 14px}.link-fieldset legend{font-size:11px;color:#7b8e6a;padding:0 5px}.field-help{font-size:10px;color:#a4ad97;margin-bottom:9px}.link-options{display:flex;flex-direction:column;gap:7px;max-height:150px;overflow:auto}.link-option{font-size:11px;display:flex;gap:8px;align-items:flex-start;color:#849375;overflow-wrap:anywhere}.link-option input{accent-color:var(--green);margin-top:4px;flex-shrink:0}.form-error{margin-top:15px;font-size:11px;color:#ab6549;background:#f6eae0;padding:9px 12px;border-radius:5px}.detail-topline{display:flex;gap:8px;align-items:center;margin-bottom:15px}.detail-topline .record-date{margin:0}.detail-dialog h2{font-size:23px;line-height:1.6;overflow-wrap:anywhere}.detail-content-text{font-size:13px;color:#748465;white-space:pre-wrap;overflow-wrap:anywhere;line-height:2.2;margin:21px 0}.detail-meta{font-size:10px;display:flex;gap:17px;color:#a1ad90;flex-wrap:wrap;margin-top:10px}.detail-source{font-size:11px;background:#f1f4e9;border:1px solid #e3e9d6;border-radius:7px;padding:12px 15px;margin-top:20px;overflow-wrap:anywhere;color:#8b9a7a}.detail-source a{color:#4f7c51;text-decoration:underline;text-underline-offset:3px}.detail-linked{margin-top:23px}.detail-linked h3{font-size:11px;color:#8a9a77;margin-bottom:10px}.linked-record{display:flex;align-items:center;gap:9px;width:100%;text-align:left;padding:9px 12px;border:1px solid #e4e9d9;background:#fafbf5;font-size:11px;color:#718960;border-radius:6px;margin-top:7px}.linked-record .icon{width:13px;height:13px;flex-shrink:0}.detail-dialog .dialog-footer{justify-content:space-between}.detail-actions{display:flex;gap:9px}.delete-button{color:#b27b5f;background:transparent;border:0;font-size:11px;padding:8px 0;display:flex;align-items:center;gap:6px}.delete-button .icon{width:15px;height:15px}#confirm-message{font-size:12px;color:#859476;line-height:2;white-space:pre-wrap}.toast{position:fixed;bottom:27px;left:calc(50% + 114px);transform:translateX(-50%);background:#294e3e;color:#f4f6ec;border:1px solid #52715b;box-shadow:0 6px 25px #203a2a20;padding:12px 20px;border-radius:8px;z-index:100;font-size:12px;max-width:calc(100% - 35px);overflow-wrap:anywhere}.filter-clear{font-size:10px;padding:4px 7px;color:#9a8c6f;background:#f0eddf;border:1px solid #e5dfca;border-radius:4px}.screenreader-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
@media(min-width:1500px){.page-content{padding-top:41px}.hero{min-height:190px}.hero h2{font-size:26px}.hero .hero-art{height:185px;width:280px}.stats-grid{gap:22px}.stat-card{padding:22px 25px}.overview-columns{grid-template-columns:minmax(0,1.85fr) minmax(300px,1fr)}.panel{padding:26px}.record-card{padding:22px 0}.record-title{font-size:14px}.record-excerpt{font-size:12px}.stat-number{font-size:39px}}
@media(max-width:1180px){.sidebar{width:200px;padding:30px 16px}.brand{gap:9px;padding:0 6px}.brand strong{font-size:23px}.brand small{font-size:8px}.main-shell{margin-left:200px}.page-content{padding:30px 28px}.topbar{padding:0 28px}.page-footer{padding-left:28px;padding-right:28px}.stats-grid{gap:11px}.stat-card{padding:17px 15px}.stat-number{font-size:30px}.overview-columns{gap:17px;grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr)}.panel{padding:19px}.knowledge-layout{grid-template-columns:180px minmax(0,1fr);gap:17px}.knowledge-cards{gap:12px}.knowledge-card{padding:17px}.graph-layout{grid-template-columns:minmax(0,1fr) 200px;gap:15px}.review-layout{grid-template-columns:minmax(0,1fr) 235px;gap:17px}.review-paper{padding:26px}.toast{left:calc(50% + 100px)}}
@media(max-width:960px){.sidebar{width:170px;padding:29px 12px}.brand-mark{width:31px}.brand strong{font-size:22px;letter-spacing:4px}.brand small{display:none}.workspace-label{margin-top:35px;font-size:9px;margin-left:8px}.main-nav a{padding:10px 12px;gap:10px;font-size:12px}.sidebar-bottom{padding-left:5px;padding-right:5px}.local-badge{font-size:9px}.main-shell{margin-left:170px}.topbar{height:65px;padding:0 24px}.page-content{padding:27px 24px}.topbar-meta{font-size:9px}.overview-columns{grid-template-columns:minmax(0,1fr)}.overview-side{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.overview-side .panel+.panel{margin-top:0}.overview-side .mini-quote{display:none}.hero h2{font-size:21px}.hero{padding:24px;min-height:173px}.hero .hero-art{right:-30px;opacity:.55}.stat-card{padding:14px 12px}.stat-label{font-size:10px}.stat-label .icon{display:none}.stat-number{font-size:29px}.stat-note{font-size:8px}.knowledge-layout{grid-template-columns:1fr}.knowledge-aside .panel{padding:16px}.knowledge-aside .quiet-note,.knowledge-aside .divider{display:none}.knowledge-aside h3{font-size:11px;margin-bottom:10px}.graph-layout{grid-template-columns:1fr}.graph-side{display:grid;grid-template-columns:1fr 1fr;gap:17px}.graph-side .panel+.panel{margin-top:0}.review-layout{grid-template-columns:1fr}.review-side{display:grid;grid-template-columns:1fr 1fr;gap:17px;align-items:start}.review-side .panel+.panel{margin-top:0}.settings-grid{gap:16px}.settings-card{padding:23px}.toast{left:calc(50% + 85px)}}
@media(max-width:700px){body{font-size:13px}.sidebar{position:sticky;top:0;left:0;width:100%;height:auto;padding:15px 20px 0;border-right:0;border-bottom:1px solid #dfe5d4;display:block;background:#eef0e6;z-index:20}.brand{padding:0;gap:9px;width:max-content}.brand-mark{width:27px;height:32px}.brand strong{font-size:22px;letter-spacing:5px}.brand small{display:block;font-size:8px;margin-top:1px;letter-spacing:.4px}.workspace-label,.sidebar-bottom{display:none}.main-nav{flex-direction:row;gap:5px;overflow-x:auto;scrollbar-width:none;margin-top:13px;padding-bottom:9px}.main-nav::-webkit-scrollbar{display:none}.main-nav a{flex-shrink:0;min-height:34px;padding:7px 10px;font-size:10px;gap:5px;border-radius:6px}.main-nav .icon{width:14px;height:14px}.nav-indicator{display:none!important}.main-shell{margin-left:0}.topbar{height:43px;padding:0 21px;background:#f6f5ef;border-bottom:0}.topbar-path{font-size:9px;gap:9px}.topbar-meta{font-size:8px;gap:6px}.topbar-meta .avatar{display:none}.topbar-meta .status-dot{width:4px;height:4px}.page-content{padding:13px 20px 27px;min-height:calc(100dvh - 205px)}h1{font-size:25px}.page-heading{margin-bottom:20px;gap:10px;align-items:flex-start}.eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:6px}.page-subtitle{font-size:10px;line-height:1.9;max-width:220px}.page-heading .button{min-height:34px;padding:7px 10px;font-size:10px;margin-top:18px;gap:5px}.page-heading .button .icon{width:13px;height:13px}.hero{min-height:184px;padding:23px 21px;margin-bottom:17px}.hero-content,.hero-empty .hero-content{max-width:90%}.hero h2{font-size:20px;line-height:1.8;letter-spacing:1px}.hero p.hero-description{font-size:10px;max-width:240px;line-height:1.9;margin-top:7px}.hero .hero-art{right:-65px;bottom:-20px;opacity:.25;height:140px}.hero .eyebrow{font-size:7px;letter-spacing:1.4px}.hero-actions{gap:8px;margin-top:16px}.hero-actions .button{font-size:10px;min-height:31px;padding:5px 9px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.stat-card{padding:15px 17px 13px;border-radius:9px}.stat-label{font-size:10px}.stat-label .icon{display:block;width:15px;height:15px}.stat-number{font-size:31px;margin-top:6px}.stat-unit{font-size:9px}.stat-note{font-size:8px;margin-top:2px}.overview-columns{gap:17px}.overview-side{grid-template-columns:1fr;gap:17px}.panel{padding:20px}.section-heading{margin-bottom:17px}.section-heading h2{font-size:14px}.text-button{font-size:10px}.record-card{padding:17px 0}.record-title{font-size:12px}.record-top{gap:7px;margin-bottom:6px}.record-date{font-size:9px}.category-badge{font-size:8px;padding:2px 5px}.record-excerpt{font-size:10px}.tag{font-size:8px}.record-minutes{font-size:8px}.record-bottom{margin-top:9px}.calendar-grid{max-width:300px;margin-left:auto;margin-right:auto;gap:6px}.calendar-day{font-size:12px;aspect-ratio:1.15}.calendar-dayname{font-size:9px}.calendar-legend{font-size:9px}.overview-side .panel+.panel{margin-top:0}.page-footer{padding:17px 20px 21px;font-size:8px;display:block;line-height:2}.page-footer span+span{display:none}.toolbar{gap:8px;margin-bottom:17px}.search-field{flex-basis:100%;height:38px;min-width:0}.search-field input{font-size:11px}.toolbar select,.toolbar input[type=month]{min-height:35px;font-size:10px;padding:0 10px;flex:1;min-width:0}.toolbar .secondary{min-height:35px;font-size:10px;padding:6px 10px}.filter-status{font-size:10px;margin-bottom:15px;gap:9px;flex-wrap:wrap}.timeline-group{grid-template-columns:42px minmax(0,1fr);gap:14px;margin-bottom:15px}.timeline-date{font-size:8px;padding-top:19px}.timeline-date strong{font-size:23px;margin-bottom:4px}.timeline-items{padding-left:16px}.timeline-items:after{top:22px;width:5px;height:5px;left:-3px}.timeline-items .panel{padding:17px}.timeline-items .record-top{display:block}.timeline-items .record-title{margin-top:7px;display:block}.timeline-items .record-date{display:none}.timeline-items .record-excerpt{-webkit-line-clamp:3}.knowledge-layout{gap:15px}.knowledge-aside .panel{padding:15px 17px}.knowledge-aside h3{font-size:10px}.knowledge-aside .topic-cloud{gap:6px}.knowledge-aside .topic-chip{font-size:9px;padding:4px 7px}.knowledge-cards{grid-template-columns:1fr;gap:12px}.knowledge-card{padding:20px;min-height:190px}.knowledge-card .record-title{font-size:14px;margin:11px 0 7px}.knowledge-card .record-excerpt{font-size:11px}.knowledge-card .record-date{font-size:9px}.graph-panel{min-height:380px}.graph-canvas{height:350px}.graph-caption{padding:15px 17px;gap:8px}.graph-caption h3{font-size:11px}.graph-caption span{font-size:8px}.graph-layout{gap:15px}.graph-side{grid-template-columns:1fr;gap:15px}.graph-side .panel{padding:20px}.graph-node text{font-size:11px}.graph-node.entry-node text{font-size:11px}.review-header{margin-bottom:17px;gap:8px;flex-wrap:wrap}.review-header input{height:34px;font-size:11px}.review-header label{font-size:10px}.review-header .button{min-height:34px;font-size:10px;padding:6px 10px;margin-left:auto}.review-layout{gap:16px}.review-paper{padding:25px 22px}.review-paper h2{font-size:23px}.review-intro{font-size:10px;line-height:1.9;padding-bottom:18px}.review-stat-row{gap:27px;padding:16px 0}.review-stat-row strong{font-size:26px}.review-section{margin-top:22px}.review-section h3{font-size:12px}.review-section p{font-size:11px;line-height:2.3}.review-source{font-size:8px;line-height:2.1;margin-top:23px}.review-side{grid-template-columns:1fr;gap:16px}.review-side .panel{padding:20px}.settings-grid{grid-template-columns:1fr;gap:15px}.settings-card{padding:23px}.settings-card h2{font-size:15px}.settings-card p{font-size:11px}.storage-summary{padding:18px 20px;margin-bottom:16px;gap:15px}.storage-summary h2{font-size:12px}.storage-summary p{font-size:9px;line-height:1.9}.storage-count{font-size:26px;white-space:nowrap}.data-notes{font-size:9px;line-height:2.2}.notice{font-size:10px;padding:12px 15px}.empty-state{padding:32px 12px;min-height:240px}.empty-state h3{font-size:14px}.empty-state p{font-size:10px}.empty-state .empty-symbol{width:58px;height:58px}.empty-state .button{font-size:11px}.toast{left:50%;bottom:22px;padding:11px 17px;font-size:11px;width:max-content;max-width:calc(100% - 35px)}dialog{max-width:calc(100% - 24px);max-height:calc(100dvh - 26px);border-radius:11px}.dialog-header{padding:20px 20px 16px}.dialog-header h2{font-size:19px}.dialog-body{padding:20px}.dialog-footer{padding:15px 20px}.dialog-footer .button{font-size:11px;padding:8px 12px}.form-intro{font-size:10px;margin-bottom:19px}.form-row{gap:12px}.field{font-size:10px;margin-bottom:14px}.field input,.field textarea,.field select{font-size:12px;padding:8px 10px}.link-fieldset{padding:10px 12px}.link-option{font-size:10px}.detail-dialog h2{font-size:21px}.detail-content-text{font-size:12px}.detail-topline{margin-bottom:12px}.detail-source{font-size:10px}.detail-meta{font-size:9px;gap:10px}.detail-actions{gap:7px}.delete-button{font-size:10px}#confirm-message{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* A small local graph keeps labels readable; the actual canvas scrolls natively. */
.graph-center-control{padding:17px 22px 16px;background:#fffefaed;border-bottom:1px solid #e6eadc}
.graph-center-control label{font-size:10px;color:#7e8f70;display:block;margin-bottom:6px}
.graph-center-control select{display:block;width:100%;min-width:0;max-width:100%;height:39px;padding:5px 10px;border:1px solid #d9e1cd;border-radius:6px;background:#fbfcf6;color:#4d6741;font-size:12px}
.graph-center-control p{font-size:10px;line-height:1.9;color:#8b9a7c;margin-top:9px}
.graph-scroll{overflow-x:auto;overflow-y:hidden;max-width:100%;scrollbar-color:#b9c6a6 #eff2e7;scrollbar-width:thin;overscroll-behavior-x:contain}
.graph-canvas{display:block;width:100%;min-width:700px;height:480px}
.graph-node text,.graph-node.entry-node text{font-size:14px;fill:#3c5738;letter-spacing:.1px}
.graph-node:not(.entry-node) text{font-size:13px;fill:#61724e}
.graph-node.center-node text{font-weight:600;fill:#254e38}
.graph-label-background{fill:#fffef8;fill-opacity:.96;pointer-events:none}
.center-node .graph-label-background{fill:#eaf0df}
.graph-edge{stroke:#b7c6a4;stroke-width:1.4;opacity:.8}
.graph-edge.explicit{stroke:#799264;stroke-width:1.8;opacity:.9}
.graph-visible-list .record-card .record-title{font-size:13px;line-height:1.9;color:#4b6541}
.graph-visible-list .record-top{margin-bottom:5px}
.graph-center-badge{font-size:9px;color:#8a9c73}
@media(max-width:700px){.graph-center-control{padding:16px 17px}.graph-center-control select{font-size:11px}.graph-center-control p{font-size:9px}.graph-caption{align-items:flex-start}.graph-caption h3{font-size:11px;line-height:1.8}.graph-caption span{flex-shrink:0;line-height:2.4}.graph-visible-list .record-card .record-title{font-size:13px}.graph-visible-list h3 .quiet-note{margin-left:6px}}

/* Original files live separately from text records, in browser IndexedDB. */
.asset-heading-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.asset-storage-note{border:1px solid #dde5d2;background:#eef2e6;border-radius:11px;padding:17px 21px;margin-bottom:23px;color:#728366}.asset-storage-note>div{display:flex;gap:12px;align-items:center}.asset-storage-note>div>.icon{width:26px;height:26px;color:#7a9169}.asset-storage-note strong{display:block;font-size:13px;font-weight:500;color:#526e45}.asset-storage-note span{display:block;font-size:10px;margin-top:2px}.asset-storage-note>p{font-size:10px;margin-top:10px;color:#8b957e}.asset-toolbar .search-field{flex-basis:230px}.asset-toolbar select{max-width:185px}.asset-loading{font-size:12px;color:#82926e;text-align:center;padding:45px}.asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.asset-card{border:1px solid var(--line);border-radius:11px;background:var(--paper);padding:20px;text-align:left;display:flex;flex-direction:column;min-width:0;min-height:255px;transition:border-color .15s,box-shadow .15s}.asset-card:hover{border-color:#bdcbb0;box-shadow:0 4px 18px #3d59380a}.asset-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:15px}.asset-card-top .record-date{margin:0}.asset-kind{display:inline-flex;align-items:center;padding:3px 8px;border-radius:5px;font-size:10px;line-height:1.6;background:#edf0e5;color:#738358}.asset-kind.image{background:#f4e9dc;color:#a4794b}.asset-kind.audio{background:#e7edef;color:#6a8792}.asset-kind.video{background:#eee8ee;color:#917490}.asset-card h3{font-size:14px;line-height:1.8;overflow-wrap:anywhere}.asset-original-name{font-size:10px;color:#9aa38e;overflow-wrap:anywhere;line-height:1.9}.asset-card>.asset-original-name{margin-top:4px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.asset-excerpt{font-size:11px;color:#8b977d;line-height:1.9;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:13px 0 12px;flex:1;overflow-wrap:anywhere}.asset-card-meta{display:flex;gap:9px;flex-wrap:wrap;font-size:9px;color:#899576;margin-bottom:8px}.asset-card-meta span+span{color:#a3a88f}.asset-card .tags{flex-wrap:wrap}.asset-card-foot{display:flex;gap:10px;justify-content:space-between;font-size:9px;line-height:1.9;color:#a3aa96;border-top:1px solid #eef0e6;padding-top:11px;margin-top:13px;flex-wrap:wrap}.asset-card-foot span:last-child{color:#8b9a77}.asset-file-summary{font-size:11px;color:#869675;background:#f1f4e8;border:1px solid #e2e8d7;padding:11px 13px;border-radius:7px;overflow-wrap:anywhere;margin-bottom:21px}.asset-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#f1f3ec;border:1px solid #e5e9dc;border-radius:9px;margin:16px 0 20px;min-height:95px;padding:13px;overflow:hidden}.asset-preview img{display:block;max-width:100%;height:auto;max-height:430px;object-fit:contain}.asset-preview video{display:block;width:100%;max-height:400px;background:#18251f;border-radius:5px}.asset-preview audio{display:block;width:100%;min-width:0}.asset-document-note,.asset-preview-error{font-size:11px;color:#8c987b;text-align:center;line-height:2;max-width:390px}.asset-preview-error{color:#a17c5a}.asset-created{font-size:9px;color:#a8b09b;margin-top:12px}.asset-manual-note{font-size:10px;line-height:2;color:#9b8b6f;background:#f4efe4;padding:9px 12px;border-radius:6px;margin-top:17px}.asset-broken-link{font-size:10px;line-height:1.9;color:#a28a6d;overflow-wrap:anywhere;margin-top:7px}.record-dialog{width:510px}.record-body{text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px;padding-top:29px;padding-bottom:30px}.record-orb{width:75px;height:75px;border:1px solid #d4dfc6;background:#edf2e3;color:#839969;border-radius:50%;display:flex;align-items:center;justify-content:center}.record-orb .icon{width:30px;height:30px}.record-orb.recording{background:#f5e4d7;border-color:#d8b59a;color:#b5714b;box-shadow:0 0 0 8px #f6ecdf}.record-clock{font:36px/1.5 Georgia,serif;letter-spacing:2px;color:#4d6e40;margin-top:4px}#asset-record-message{font-size:12px;line-height:2;color:#7f9270}.record-body>.quiet-note{max-width:335px;font-size:10px;line-height:2}.record-body .form-error{margin-top:0;text-align:left}#asset-detail-dialog .dialog-footer{flex-wrap:wrap;row-gap:12px}.assets-heading .page-subtitle{max-width:none}
@media(max-width:1180px){.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-card{padding:18px}.asset-toolbar select{max-width:none}.asset-heading-actions{gap:7px}.asset-heading-actions .button{padding:9px 12px}}
@media(max-width:700px){.assets-heading{flex-wrap:wrap;gap:13px}.assets-heading .page-subtitle{max-width:100%;font-size:10px}.asset-heading-actions{width:100%;justify-content:flex-end;gap:8px}.assets-heading .asset-heading-actions .button{margin-top:0;font-size:11px;padding:7px 12px;min-height:35px}.asset-storage-note{padding:14px 16px;margin-bottom:18px}.asset-storage-note strong{font-size:12px}.asset-storage-note span,.asset-storage-note>p{font-size:9px;line-height:2}.asset-toolbar .search-field{flex-basis:100%}.asset-toolbar select{flex-basis:calc(50% - 8px)}.asset-toolbar .button{margin-left:auto}.asset-grid{grid-template-columns:1fr;gap:13px}.asset-card{padding:20px;min-height:230px}.asset-card h3{font-size:15px}.asset-kind{font-size:10px}.asset-card-top{margin-bottom:12px}.asset-card .asset-original-name{font-size:10px}.asset-excerpt{font-size:11px}.asset-card-meta,.asset-card-foot{font-size:10px}.asset-preview{padding:10px}.asset-preview img{max-height:340px}.asset-file-summary{font-size:10px;margin-bottom:18px}#asset-detail-dialog .dialog-footer{align-items:center}#asset-detail-dialog .detail-actions{margin-left:auto}.record-body{padding-top:26px;padding-bottom:26px}.record-clock{font-size:34px}#asset-record-message{font-size:11px}.record-body>.quiet-note{font-size:10px}.record-orb{width:67px;height:67px}.record-orb .icon{width:27px;height:27px}}
.cloud-auth { width: min(100%, 520px); margin: 42px auto; padding: 34px; background: var(--surface, #fffefa); border: 1px solid #e1e7d9; border-radius: 20px; box-shadow: 0 12px 36px rgba(35, 66, 48, .04); }
.cloud-auth h1 { font-size: clamp(24px, 3vw, 32px); line-height: 1.35; color: #214c3d; margin: 12px 0; }
.cloud-auth > p { color: #6a7867; line-height: 1.8; }
.cloud-auth form { display: grid; gap: 16px; margin: 26px 0; }
.cloud-auth .field { margin: 0; }
.cloud-auth .button { justify-content: center; }
.cloud-auth-modes { display: flex; gap: 4px; padding: 4px; margin: 22px 0; border: 1px solid #e1e7d9; border-radius: 10px; background: #f1f4eb; }
.cloud-auth-modes button { flex: 1; min-height: 40px; border: 0; border-radius: 7px; background: transparent; color: #6a7867; font: inherit; cursor: pointer; }
.cloud-auth-modes button[aria-pressed="true"] { background: #fffefa; color: #214c3d; box-shadow: 0 1px 5px rgba(35, 66, 48, .08); }
.cloud-auth-modes button:focus-visible { outline: 2px solid #6f8960; outline-offset: 2px; }
.cloud-auth button:disabled { cursor: wait; opacity: .65; }
.cloud-auth .cloud-auth-help { color: #788571; font-size: 11px; line-height: 1.8; margin-top: -8px; }
.cloud-loading { padding: 52px 28px; color: #6a7867; text-align: center; }
#account-status { flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
#account-status .text-button { white-space: nowrap; }
@media (max-width: 600px) {
  .cloud-auth { margin: 16px auto; padding: 24px 20px; }
  #account-status { max-width: 68%; gap: 7px; font-size: 11px; }
  #account-status .text-button { font-size: 11px; }
}
