:root{--bg:#f6f7f2;--paper:#fff;--ink:#253c32;--muted:#7a857e;--line:#e2e7df;--green:#2c624c;--soft:#eaf0e8;--font:Inter,'Segoe UI',Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.55 var(--font)}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;background:white;border:1px solid var(--line);border-radius:9px;padding:9px 14px;color:var(--ink);transition:background .15s,transform .15s}button:hover{background:var(--soft)}button:active{transform:translateY(1px)}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #91b59b;outline-offset:3px}a{color:var(--green)}svg.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex:none}h1,h2,h3,p{margin-top:0}h1{font-size:38px;letter-spacing:-1.4px;line-height:1.2;font-weight:600;margin-bottom:10px}h2{font-size:18px;font-weight:600;margin:0}h3{font-size:14px;font-weight:600}p{color:var(--muted)}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.8px;margin-bottom:12px;color:#758779}.muted{color:var(--muted);font-size:13px}.primary{background:var(--green);color:#fff;border-color:var(--green);display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:11px 18px}.primary:hover{background:#214c3a}.text-button{border:0;background:none;padding:5px 0;font-size:12px;display:inline-flex;gap:8px;align-items:center;color:var(--green)}.danger{color:#b54842;margin-right:auto}.brand-mark{display:flex;align-items:center;justify-content:center;width:39px;height:39px;background:var(--green);color:#fff;font-family:Georgia,serif;font-size:38px;line-height:1;border-radius:12px;font-style:italic;padding-bottom:7px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:28px;font-weight:600;letter-spacing:-1px}.brand small{display:block;font-size:8px;letter-spacing:1.6px;font-weight:500;margin-top:-3px}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:#eef1e9;border-right:1px solid var(--line);padding:34px 24px;display:flex;flex-direction:column;z-index:10}.personal{display:flex;align-items:center;gap:10px;margin:36px 0 24px;font-size:12px}.personal small{display:block;font-size:9px;color:var(--muted)}.avatar{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:#dce4d6;font-size:12px;color:#53734f}.nav{border:0;background:none;display:flex;align-items:center;gap:12px;text-align:left;width:100%;margin:4px 0;padding:12px;font-size:13px;color:#65756b}.nav.active{background:#dde7d9;color:#28583f;font-weight:600}.nav b{margin-left:auto;font-size:10px}.side-topics{border-top:1px solid #dce3d7;margin-top:26px;padding:23px 10px}.side-topic{border:0;padding:7px 0;background:none;width:100%;display:flex;align-items:center;gap:10px;text-align:left;font-size:12px}.dot{width:8px;height:8px;border-radius:50%;display:inline-block;flex:none}.sidebar-bottom{margin-top:auto;padding-top:25px}.sidebar-bottom p{font-size:11px;line-height:1.9}.sidebar-bottom strong{font-weight:500;color:#5f7264}.sidebar-bottom .text-button{font-size:10px}main{margin-left:244px;max-width:1550px;padding:0 45px 20px}.topbar{height:84px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);border-bottom:1px solid var(--line)}.private-label{display:flex;align-items:center;gap:7px}.private-label .icon{width:14px;height:14px}.page-heading{display:flex;align-items:center;justify-content:space-between;padding:38px 0 22px;gap:15px}.page-heading p:last-child{font-size:13px;margin:0}.page-heading .primary{font-size:12px}.stats{display:grid;grid-template-columns:1fr 1fr 1fr 1.5fr;border:1px solid var(--line);border-radius:13px;background:#fff;padding:20px 0;margin-bottom:28px}.stats>div{display:grid;grid-template-columns:20px auto;align-items:center;column-gap:12px;padding:0 22px;border-right:1px solid var(--line)}.stats>div:last-child{border:0}.stats .icon{color:#8ca18b;width:18px;height:18px}.stats b{font-size:25px;font-weight:500;line-height:1.3}.stats small{grid-column:2;color:var(--muted);font-size:10px}.stats .stat-tip{display:flex;gap:14px}.stat-tip>span{font-size:28px;color:#a5b590}.stat-tip p{font-size:10px;line-height:1.7;margin:0}.filters{margin-bottom:26px}.filter-top{display:flex;gap:12px}.search{border:1px solid var(--line);background:white;border-radius:9px;display:flex;align-items:center;gap:10px;padding:0 14px;flex:1}.search .icon{color:#9aa59b;width:17px}.search input{border:0;background:transparent;padding:11px 0;width:100%;outline:none;font-size:12px}select{background:white;border:1px solid var(--line);border-radius:9px;padding:10px;color:var(--ink)}#topic-filter{max-width:220px;font-size:12px}.filter-bottom{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:13px}.periods{display:flex;gap:4px}.periods button{background:none;border-color:transparent;font-size:11px;padding:6px 12px}.periods button.selected{background:#e4ebdf;color:#385f45}.filter-bottom>.text-button{margin-left:auto;font-size:10px;color:var(--muted)}#date-range{display:flex;gap:7px;align-items:center}#date-range input{font-size:11px;width:133px;padding:5px}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:30px}.section-label{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.section-label h2{font-size:15px}.section-label>span{font-size:11px;color:var(--muted)}.date-label{font-size:11px;color:var(--muted);margin:22px 0 12px;display:flex;gap:12px;align-items:center}.date-label:after{content:'';height:1px;background:var(--line);flex:1}.note-card{display:block;width:100%;text-align:left;border:1px solid var(--line);background:white;border-radius:11px;padding:20px 22px;margin:0 0 12px;position:relative;overflow:hidden}.note-card:hover{background:#fff;border-color:#a1b29d;box-shadow:0 3px 15px #253c3206}.note-card:before{content:'';position:absolute;top:20px;bottom:20px;width:3px;left:0;background:var(--topic-color,#789c81);border-radius:3px}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.chip{display:inline-flex;align-items:center;gap:7px;font-size:10px;border-radius:5px;padding:3px 7px;background:#f0f3ed;color:#5e7562}.note-card h3{font-size:16px;line-height:1.4;margin:8px 0;font-weight:600}.note-card p{font-size:12px;line-height:1.7;margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.card-bottom{display:flex;gap:8px;align-items:center;margin-top:16px;font-size:10px;color:#8b968c}.card-bottom .connections{margin-left:auto}.tag{color:#71816f;background:#f5f6f2;padding:2px 6px;border-radius:4px}.takeaway-mini{color:#5d765d!important;border-left:2px solid #c9d7bc;padding-left:10px}.panel{border:1px solid var(--line);background:#fff;border-radius:12px;padding:18px}.calendar header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.calendar header button{border:0;background:transparent;padding:0 4px;font-size:22px;color:#8a9689}.calendar h3{margin:0;font-size:12px}.weekdays,#calendar-days{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;gap:2px}.weekdays{font-size:9px;color:#9aa497;margin-bottom:10px}.calendar-day{padding:5px 0;border:0;border-radius:6px;background:transparent;font-size:10px;position:relative;min-height:29px}.calendar-day.today{background:var(--green);color:white}.calendar-day.chosen{outline:1px solid #4e7854;background:#e2ebdc;color:#35563e}.calendar-day.has-note:after{content:'';width:3px;height:3px;background:#6a8b59;border-radius:50%;position:absolute;bottom:1px;left:calc(50% - 1px)}.calendar-day.today:after{background:white}.calendar p{font-size:9px;margin:15px 0 0;display:flex;align-items:center;gap:5px}.calendar p i{width:4px;height:4px;background:#799368;border-radius:50%}.small-note{padding:24px 20px;background:#eaf0e1;margin:18px 0;border-radius:12px}.small-note>span{font-size:25px;color:#698159}.small-note h3{font-size:13px;margin:8px 0}.small-note p{font-size:11px;color:#7a896d;line-height:1.8}.small-note .text-button{font-size:11px;justify-content:space-between;width:100%}.upcoming h3{font-size:11px}.upcoming p{font-size:11px;overflow-wrap:anywhere}.upcoming small{font-size:10px;color:var(--muted)}footer{text-align:center;font-size:10px;color:#9ea79b;margin-top:45px;padding-bottom:10px}.empty{text-align:center;padding:50px 20px;border:1px dashed #d4dfce;border-radius:13px;background:#f0f4ec}.empty>span{font-size:32px;display:block;color:#6d8c66;margin-bottom:12px}.empty h3{font-size:18px;font-weight:500}.empty p{font-size:12px;max-width:340px;margin:0 auto 20px}.empty .primary{font-size:12px}.demo-banner{background:#f0e8d1;color:#8b7443;font-size:11px;text-align:center;padding:7px;border-radius:0 0 8px 8px}.gate{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px}.gate h1{margin:20px 0 10px}.gate p{max-width:400px}.gate .brand-mark{width:64px;height:64px;font-size:60px}.view{min-height:420px}.graph-tools{display:flex;gap:5px}.graph-tools button{font-size:11px;padding:5px 11px}#graph-wrap{background:radial-gradient(#d6dfd2 1px,transparent 1px);background-size:20px 20px;border:1px solid var(--line);border-radius:14px;position:relative;overflow:hidden}#graph{display:block;width:100%;height:550px;touch-action:none;cursor:grab}#graph:active{cursor:grabbing}#graph text{font-family:var(--font);pointer-events:none;fill:#3c5643}#graph g.node{cursor:pointer}#graph g.node:focus{outline:none}#graph g.node:focus circle{stroke:#263e32;stroke-width:3px}#graph-empty{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}.legend{display:flex;gap:22px;align-items:center;margin-top:12px;font-size:10px;color:var(--muted)}.legend span{display:flex;gap:6px;align-items:center}.legend i{width:12px;height:12px;background:#b7cab0;border-radius:50%}.legend span:nth-child(2) i{width:7px;height:7px}.review-intro{display:flex;gap:16px;padding:24px;background:#e8efdf;border-radius:13px;margin-bottom:24px}.review-intro>.icon{width:28px;height:28px;color:#738d63}.review-intro h2{font-size:16px;margin-bottom:6px}.review-intro p{font-size:12px;margin:0}.review-card{border:1px solid var(--line);background:white;padding:22px;border-radius:12px;margin-bottom:14px}.review-card h3{font-size:17px;margin:12px 0}.review-card p{white-space:pre-wrap;overflow-wrap:anywhere}.review-card summary{color:var(--green);font-size:12px;cursor:pointer;padding:6px 0}.review-actions{display:flex;gap:10px;margin-top:18px}.review-actions button{font-size:12px}.reminder-row{display:flex;align-items:flex-start;gap:14px;border:1px solid var(--line);border-radius:11px;padding:18px;background:white;margin-bottom:12px}.reminder-row.done{opacity:.65}.reminder-row.done h3{text-decoration:line-through}.reminder-row>div{flex:1;min-width:0}.reminder-row h3{margin:0 0 4px;overflow-wrap:anywhere}.reminder-row p{font-size:11px;margin:0}.reminder-row button{font-size:11px;padding:5px 8px}.check-button{width:25px;height:25px;border-radius:50%;flex:none;padding:0!important}.reminder-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end;max-width:110px}#topics-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:25px}.topic-card{padding:22px;background:white;border:1px solid var(--line);border-radius:12px}.topic-card h3{margin:16px 0 4px;overflow-wrap:anywhere;font-size:16px}.topic-card p{font-size:11px}.topic-card button{font-size:11px;margin-right:6px}.topic-orb{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;color:white}dialog{padding:28px;border:1px solid var(--line);border-radius:18px;max-width:610px;width:calc(100% - 32px);max-height:90dvh;color:var(--ink);background:var(--bg);box-shadow:0 25px 90px #233e3240}dialog::backdrop{background:#243c3270;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:15px}.dialog-header .eyebrow{margin-bottom:6px}.dialog-header h2{font-size:22px}.dialog-header button{border:0;font-size:26px;line-height:1;padding:8px;background:transparent}form>label,details>label,.form-row>label{display:block;font-size:12px;font-weight:500;margin-bottom:17px}label>span{font-size:10px;color:var(--muted);font-weight:400}input:not([type=checkbox]),textarea{background:white;border:1px solid var(--line);border-radius:8px;padding:10px 12px;color:var(--ink);min-width:0}form label>input,form label>textarea,form label>select{display:block;width:100%;margin-top:7px;font-size:13px}input[type=color]{height:42px!important;width:90px!important;padding:3px!important}textarea{resize:vertical;line-height:1.7}.form-row{display:flex;gap:15px}.form-row>label{flex:1;min-width:0}details summary{font-size:12px;cursor:pointer;color:var(--green);margin:10px 0 16px}.dialog-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:24px;border-top:1px solid var(--line);padding-top:18px}.dialog-actions button{font-size:12px}.link-options{max-height:180px;overflow:auto;background:#fff;border-radius:8px}.link-option{display:flex;align-items:center;gap:9px;padding:8px 10px;font-size:12px}.link-option input{accent-color:var(--green)}#detail-content h2{font-size:26px;line-height:1.3;margin:10px 0}#detail-content .body-text{white-space:pre-wrap;overflow-wrap:anywhere;color:#536358;font-size:14px;line-height:1.9}#detail-content .detail-takeaway{background:#eaf0e1;border-radius:10px;padding:18px;margin-top:20px;white-space:pre-wrap;overflow-wrap:anywhere}#detail-content a{overflow-wrap:anywhere}#detail-content h4{margin-bottom:8px}#detail-content .linked-note{display:block;width:100%;text-align:left;margin:6px 0;font-size:12px}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,15px);max-width:calc(100% - 30px);background:#284f3b;color:white;border-radius:11px;padding:12px 20px;font-size:13px;opacity:0;pointer-events:none;z-index:100;transition:opacity .2s,transform .2s;box-shadow:0 4px 30px #23402a30}#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{background:#91483c}
@media(min-width:1600px){main{padding-left:65px;padding-right:65px}.content-grid{grid-template-columns:minmax(0,1fr) 280px}}
@media(max-width:1150px){.sidebar{width:205px;padding:28px 16px}main{margin-left:205px;padding:0 25px 20px}.content-grid{gap:20px;grid-template-columns:minmax(0,1fr) 220px}.stats>div{padding:0 15px}.stats .stat-tip{display:none}.stats{grid-template-columns:repeat(3,1fr)}.stats>div:nth-child(3){border:0}.personal small{font-size:8px}#topics-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.right-rail{display:none}.content-grid{display:block}.sidebar{width:185px}.side-topics{padding:20px 5px}.personal{display:none}.sidebar nav{margin-top:28px}main{margin-left:185px;padding:0 22px 20px}.page-heading{padding-top:28px}h1{font-size:32px}.stats small{font-size:9px}.stats>div{column-gap:8px;padding:0 12px}}
@media(max-width:620px){body{font-size:13px}.sidebar{position:fixed;inset:auto 0 0;width:100%;height:calc(67px + env(safe-area-inset-bottom));background:#f5f7f0f5;padding:5px 4px calc(5px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--line);backdrop-filter:blur(15px)}.sidebar>.brand,.sidebar>.personal,.sidebar>.side-topics,.sidebar>.sidebar-bottom{display:none}.sidebar nav{display:flex;margin:0;justify-content:space-around}.nav{margin:0;display:flex;flex-direction:column;gap:4px;width:19%;padding:7px 2px;font-size:9px;border-radius:8px;position:relative}.nav .icon{width:21px;height:21px}.nav b{position:absolute;top:3px;right:7px;font-size:9px}.nav b:empty{display:none}main{margin:0;padding:0 19px 90px}.topbar{height:57px;font-size:9px}.private-label{font-size:9px}.page-heading{padding:27px 0 22px;align-items:flex-start}.page-heading .eyebrow{font-size:8px;letter-spacing:1.1px}.page-heading .primary{font-size:0;padding:12px;border-radius:12px;margin-top:15px}.page-heading .primary .icon{width:22px;height:22px}.page-heading h1{font-size:32px}.page-heading p:last-child{font-size:11px;max-width:240px}.stats{padding:16px 0;margin-bottom:20px;border-radius:11px}.stats>div{display:block;text-align:center;padding:0 6px}.stats>div>span{display:none}.stats b{font-size:23px;display:block}.stats small{font-size:8px}.filter-top{gap:7px}.search{padding:0 10px;min-width:0}.search input{font-size:11px}#topic-filter{max-width:120px;padding:8px 4px;font-size:10px}.periods{gap:0;flex:1}.periods button{padding:6px 8px;font-size:10px}.filter-bottom{gap:8px}#clear-filters{font-size:9px}.filters{margin-bottom:20px}.section-label h2{font-size:14px}.note-card{padding:18px;margin-bottom:10px}.note-card h3{font-size:15px}.note-card p{font-size:12px}.note-card .card-bottom{margin-top:12px}.right-rail{display:block}.right-rail .small-note,.right-rail .upcoming{display:none}.right-rail .calendar{margin-top:25px}.calendar-day{font-size:12px;min-height:35px}.calendar header h3{font-size:13px}.calendar .weekdays{font-size:10px}#topics-list{grid-template-columns:1fr 1fr;gap:10px}.topic-card{padding:16px 12px}.topic-card h3{font-size:14px}.topic-card button{padding:5px;font-size:10px;margin:0}.section-label .primary{font-size:10px;padding:8px}.review-intro{padding:18px 14px;gap:10px}.review-intro h2{font-size:14px}.review-intro p{font-size:11px}.review-card{padding:17px}.review-card h3{font-size:16px}.reminder-row{padding:14px 12px;gap:10px}.reminder-row h3{font-size:12px}.reminder-row p{font-size:10px}.reminder-actions{max-width:80px}.reminder-actions button{font-size:9px}dialog{padding:21px 17px;width:calc(100% - 20px);max-height:92dvh}.dialog-header h2{font-size:20px}.form-row{gap:10px}.dialog-actions{gap:6px}.dialog-actions button{font-size:11px;padding:9px 11px}#toast{bottom:88px;font-size:12px}#graph{height:440px}.graph-tools button{padding:4px 7px;font-size:9px}.legend{gap:12px;font-size:9px}.demo-banner{font-size:9px}.view{min-height:350px}footer{font-size:9px}}
.search input:not([type=checkbox]){border:0;padding:11px 0;background:transparent}
.graph-directory{margin-top:24px}.graph-directory .linked-note{display:block;width:100%;text-align:left;font-size:12px;margin:8px 0}#graph text[font-size="10"]{font-size:13px}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
