:root{--ink:#17211d;--muted:#66706b;--line:#dfe5e1;--paper:#f5f7f5;--white:#fff;--green:#173c32;--mint:#dcebe3;--accent:#b9d4c5;--orange:#e97848;--shadow:0 16px 45px rgba(20,40,31,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}.hidden{display:none!important}
.login-view{min-height:100vh;display:grid;grid-template-columns:1.08fr .92fr}.login-copy{padding:45px 7vw 36px;background:var(--green);color:white;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-copy:after{content:"";position:absolute;width:520px;height:520px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-230px;bottom:-210px;box-shadow:0 0 0 75px rgba(255,255,255,.025),0 0 0 150px rgba(255,255,255,.02)}.brand{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:2px;text-decoration:none;color:inherit}.brand-mark{width:34px;height:34px;border:1px solid currentColor;border-radius:50%;display:grid;place-items:center;font-family:Georgia,serif;font-weight:500;font-size:19px}.login-copy h1{font-family:Georgia,serif;font-size:clamp(48px,5vw,78px);font-weight:400;line-height:1.02;letter-spacing:-3px;margin:20px 0;max-width:780px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:#b7cec3;margin:0 0 16px}.eyebrow.ink{color:#597269}.login-lead{font-size:18px;line-height:1.65;color:#c8d7d0;max-width:550px}.login-foot{font-size:13px;color:#91aaa0}.login-panel{background:white;display:grid;place-items:center;padding:45px}.login-card{width:min(430px,100%)}.login-card h2{font-family:Georgia,serif;font-size:38px;font-weight:400;line-height:1.12;margin:0 0 35px}.login-card label,.form-grid label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:750;margin-bottom:18px}.login-card input,.form-grid input,.form-grid textarea,.form-grid select{width:100%;border:1px solid var(--line);border-radius:8px;padding:13px 14px;background:#fbfcfb;outline:none;color:var(--ink);transition:.2s}.login-card input:focus,.form-grid input:focus,.form-grid textarea:focus,.form-grid select:focus{border-color:#537a69;box-shadow:0 0 0 3px rgba(83,122,105,.1)}.primary{border:0;background:var(--green);color:white;border-radius:8px;padding:12px 18px;font-weight:750;display:flex;align-items:center;justify-content:center;gap:12px}.primary:hover{background:#245545}.wide{width:100%;justify-content:space-between;margin-top:10px;padding:15px 18px}.privacy{text-align:center;font-size:11px;color:#8a918d;margin-top:18px}.mobile-brand{display:none}
.app-view{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:226px;background:#f8faf8;border-right:1px solid var(--line);padding:28px 18px;display:flex;flex-direction:column;z-index:5}.brand-button{border:0;background:none;padding:0 9px;margin-bottom:45px}.main-nav{display:flex;flex-direction:column;gap:5px}.nav-item{border:0;background:transparent;color:#63706a;padding:11px 13px;border-radius:7px;text-align:left;font-weight:650;font-size:14px;display:flex;align-items:center;gap:13px;width:100%}.nav-item:hover,.nav-item.active{background:#e7eee9;color:var(--green)}.nav-icon{font-size:19px;width:20px;text-align:center}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:15px}.profile-mini{width:100%;border:0;background:transparent;padding:12px 8px;display:flex;gap:10px;text-align:left;align-items:center;color:var(--ink)}.profile-mini>span:first-child{width:34px;height:34px;border-radius:50%;background:var(--green);color:white;display:grid;place-items:center;font-weight:700}.profile-mini>span:last-child{display:flex;flex-direction:column}.profile-mini small{color:var(--muted);margin-top:2px}.main{margin-left:226px;min-height:100vh}.topbar{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(25px,5vw,72px);background:rgba(255,255,255,.72);backdrop-filter:blur(14px);position:sticky;top:0;z-index:4}.search-wrap{display:flex;align-items:center;gap:10px;width:min(470px,55%);position:relative}.search-wrap input{border:0;background:transparent;outline:0;width:100%;padding:12px 5px}.search-wrap kbd{font-size:10px;color:#86908a;border:1px solid var(--line);padding:4px 7px;border-radius:4px;background:white}.page{display:none;padding:55px clamp(25px,5vw,72px) 80px;max-width:1500px;margin:auto}.page.active{display:block}.page-title-row{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:34px}.page h1{font-family:Georgia,serif;font-size:44px;font-weight:400;letter-spacing:-1.5px;margin:0}.subtitle{color:var(--muted);line-height:1.6;margin:8px 0 0}.date-pill{font-size:12px;border:1px solid var(--line);border-radius:20px;padding:8px 12px;background:white;color:var(--muted)}
.hero-grid{display:grid;grid-template-columns:1.55fr .75fr;gap:20px}.continue-card{background:var(--green);color:white;border-radius:15px;padding:32px;min-height:260px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.continue-card:after{content:"";position:absolute;width:210px;height:210px;border:1px solid rgba(255,255,255,.1);border-radius:50%;right:-60px;bottom:-90px;box-shadow:0 0 0 45px rgba(255,255,255,.025)}.continue-card h2{font-family:Georgia,serif;font-size:34px;font-weight:400;margin:5px 0}.continue-card p{color:#c5d5ce}.continue-card .progress{margin-top:28px}.continue-card button{align-self:flex-start;background:white;color:var(--green);border:0;border-radius:7px;padding:11px 16px;font-weight:750;z-index:1}.review-card{background:#e5eee8;border-radius:15px;padding:28px;display:flex;flex-direction:column;justify-content:space-between}.review-number{font-family:Georgia,serif;font-size:60px}.review-card h3{margin:0}.review-card p{color:var(--muted);line-height:1.5}.outline-button{border:1px solid #9ab2a5;background:transparent;color:var(--green);padding:10px 14px;border-radius:7px;font-weight:700}.section-head{display:flex;justify-content:space-between;align-items:center;margin:48px 0 18px}.section-head h2{font-family:Georgia,serif;font-size:27px;font-weight:400;margin:0}.text-button{border:0;background:transparent;color:#527062;font-weight:700}.paths{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.path-card,.stat-card{background:white;border:1px solid var(--line);border-radius:11px;padding:20px}.path-top{display:flex;justify-content:space-between;align-items:center}.path-code{font-size:10px;font-weight:800;letter-spacing:1.2px;color:#6d7d75}.path-card h3{font-size:18px;margin:25px 0 8px}.path-card p{font-size:13px;color:var(--muted)}.progress{height:5px;background:rgba(163,184,174,.32);border-radius:9px;overflow:hidden}.progress>span{display:block;height:100%;background:#8ab19e;border-radius:9px}.path-card .progress{margin-top:22px}.progress-label{font-size:11px!important;display:flex;justify-content:space-between;color:var(--muted)!important}.node-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.node-card{border:1px solid var(--line);background:white;border-radius:10px;padding:19px;display:grid;grid-template-columns:46px 1fr auto;gap:14px;align-items:center;text-align:left;color:inherit}.node-card:hover{border-color:#9db2a7;box-shadow:0 8px 25px rgba(20,40,31,.05)}.node-symbol{width:46px;height:46px;border-radius:9px;background:#e9f0ec;display:grid;place-items:center;color:var(--green);font-family:Georgia,serif;font-size:19px}.node-card h3{font-size:15px;margin:0 0 5px}.node-card p{font-size:12px;color:var(--muted);margin:0}.status-dot{width:8px;height:8px;border-radius:50%;background:#b6c2bc}.status-dot.done{background:#4d9272}
.filters{display:flex;gap:8px;margin-bottom:22px;flex-wrap:wrap}.filter{border:1px solid var(--line);border-radius:20px;background:white;padding:8px 13px;font-size:12px;color:var(--muted)}.filter.active{background:var(--green);color:white;border-color:var(--green)}.library-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.library-card{border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden;text-align:left;color:inherit;padding:0}.library-image{height:125px;background:linear-gradient(135deg,#dbe9e1,#f0f3ef);display:grid;place-items:center;overflow:hidden;font:38px Georgia;color:#6f8b7d}.library-image img{width:100%;height:100%;object-fit:cover}.library-body{padding:18px}.tag{font-size:9px;letter-spacing:1.3px;font-weight:800;color:#5a7869;text-transform:uppercase}.library-card h3{margin:9px 0 8px;font-size:18px}.library-card p{color:var(--muted);font-size:12px;line-height:1.5;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.empty{grid-column:1/-1;text-align:center;padding:70px 20px;color:var(--muted);background:white;border:1px dashed #c8d1cc;border-radius:12px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stat-card strong{font:38px Georgia,serif;display:block;margin:14px 0 5px}.stat-card span{font-size:12px;color:var(--muted)}.insight{margin-top:18px;background:var(--green);color:white;border-radius:13px;padding:28px;display:grid;grid-template-columns:auto 1fr;gap:22px}.insight-mark{width:48px;height:48px;border-radius:50%;background:#315a4d;display:grid;place-items:center;font:22px Georgia}.insight h3{margin:0 0 7px}.insight p{color:#c2d3cb;margin:0;line-height:1.6}
.back-button{border:0;background:transparent;color:var(--muted);padding:0;margin-bottom:28px}.node-hero{display:grid;grid-template-columns:1fr 300px;gap:50px}.breadcrumbs{font-size:11px;text-transform:uppercase;letter-spacing:1.3px;color:#678075;font-weight:750}.node-hero h1{font-size:56px;margin-top:17px}.node-summary{font-size:19px;line-height:1.7;color:#58645e}.node-cover{width:100%;height:230px;border-radius:13px;object-fit:cover;background:#e3ebe6}.node-actions{display:flex;gap:9px;margin-top:25px}.node-content{max-width:800px;border-top:1px solid var(--line);margin-top:40px;padding-top:30px}.node-content p{line-height:1.85;color:#38443e;white-space:pre-line}.complete-button.done{background:#38785d}.danger-button{border:1px solid #e6c6bc;background:#fff8f5;color:#a3472d;border-radius:7px;padding:10px 13px}
.modal{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:20px}.modal-backdrop{position:absolute;inset:0;background:rgba(15,28,22,.55);backdrop-filter:blur(4px)}.modal-card{position:relative;background:white;border-radius:14px;width:min(720px,100%);max-height:92vh;overflow:auto;padding:28px;box-shadow:var(--shadow)}.modal-head{display:flex;justify-content:space-between;margin-bottom:25px}.modal-head h2{font:32px Georgia;margin:0}.icon-button{border:0;background:#edf1ee;width:34px;height:34px;border-radius:50%;font-size:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.span-2{grid-column:span 2}.form-grid textarea{resize:vertical;line-height:1.5}.upload-box{border:1px dashed #aabbb2;border-radius:9px;padding:15px;display:grid!important;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;cursor:pointer}.upload-box input{display:none}.upload-box small{display:block;color:var(--muted);margin-top:3px;font-weight:400}.upload-icon{width:36px;height:36px;border-radius:50%;background:#e7efea;display:grid;place-items:center;font-size:20px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:18px;margin-top:8px}.toast{position:fixed;bottom:25px;right:25px;background:var(--ink);color:white;padding:12px 17px;border-radius:8px;font-size:13px;transform:translateY(80px);opacity:0;transition:.25s;z-index:30}.toast.show{transform:translateY(0);opacity:1}
.node-image-button{border:0;padding:0;background:#e3ebe6;border-radius:13px;overflow:hidden;min-height:230px;display:grid;place-items:center;position:relative}.node-image-button .node-cover{height:270px;object-fit:contain;cursor:zoom-in}.node-image-stage{height:270px;border-radius:13px;background:#e3ebe6;position:relative;overflow:hidden;display:grid;place-items:center}.node-image-stage .node-cover{height:100%;object-fit:contain}.annotation-layer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.node-image-stage.annotating .annotation-layer{pointer-events:auto;cursor:crosshair;touch-action:none}.drawn-circle{fill:rgba(217,59,50,.04);stroke:#d93b32;stroke-width:7;vector-effect:non-scaling-stroke}.drawn-arrow{stroke:#d93b32;stroke-width:6;fill:none;vector-effect:non-scaling-stroke}.comment-pin{fill:#d93b32;stroke:white;stroke-width:2;vector-effect:non-scaling-stroke}.comment-number{fill:white;text-anchor:middle;dominant-baseline:central;font-size:22px;font-weight:800}.preview-chip{position:absolute;right:10px;bottom:10px;border:0;background:rgba(15,30,23,.8);color:white;border-radius:20px;padding:7px 11px;font-size:10px;font-weight:700}.node-image-stage.annotating .preview-chip{display:none}.node-actions{flex-wrap:wrap}.outline-button.active{background:var(--green);color:white}.annotation-toolbar{position:sticky;top:94px;z-index:3;margin:25px 0 5px;background:white;border:1px solid var(--line);box-shadow:0 8px 28px rgba(20,40,31,.1);border-radius:10px;padding:11px 14px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.annotation-toolbar>span{font-size:11px;font-weight:800;color:var(--muted)}.annotation-toolbar small{color:var(--muted);margin-left:auto}.color-dot{width:25px;height:25px;border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #bdc8c1}.color-dot.yellow{background:#f4e68b}.color-dot.green{background:#a9e4bd}.color-dot.blue{background:#a9d8f5}.color-dot.pink{background:#f3b7cf}.tool-divider{height:25px;width:1px;background:var(--line);margin:0 3px}.annotation-tool{border:1px solid var(--line);background:#f7f9f7;border-radius:6px;padding:7px 9px;font-size:11px;color:var(--ink)}.annotation-tool.active{background:#fde9e5;border-color:#d93b32;color:#a62922}.annotation-tool.subtle{color:var(--muted)}.rich-content{line-height:1.85;color:#38443e}.rich-content p{margin:0 0 1.2em}.rich-content h2{font:32px Georgia,serif;margin:1.25em 0 .55em;color:var(--ink)}.rich-content mark{color:inherit;padding:1px 3px;border-radius:2px}.annotation-comments{border-top:1px solid var(--line);margin-top:35px;padding-top:20px}.annotation-comments h3{font:24px Georgia,serif}.annotation-comments p{display:flex;gap:11px;align-items:flex-start}.annotation-comments p b{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#d93b32;color:white;font-size:11px}.editor-field{margin-bottom:18px}.field-label{display:block;font-size:12px;font-weight:750;margin-bottom:8px}.editor-toolbar{display:flex;gap:5px;border:1px solid var(--line);border-bottom:0;background:#f5f7f5;border-radius:8px 8px 0 0;padding:7px}.editor-toolbar button{border:0;background:white;border-radius:5px;min-height:32px;padding:5px 10px;color:var(--ink)}.editor-toolbar button:hover{background:#dfeae4}.marker-sample{background:#f4e68b;padding:1px 3px}.heading-sample{font:20px Georgia}.editor-field textarea{width:100%;border:1px solid var(--line);border-radius:0 0 8px 8px!important;padding:13px 14px;background:#fbfcfb;outline:none;resize:vertical;line-height:1.5;display:block}.editor-field textarea:focus{border-color:#537a69;box-shadow:0 0 0 3px rgba(83,122,105,.1)}.editor-help{display:block;color:var(--muted);font-size:10px;margin-top:6px}.image-preview{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:25px}.preview-backdrop{position:absolute;inset:0;border:0;background:rgba(8,16,12,.9);backdrop-filter:blur(7px)}.preview-content{position:relative;max-width:94vw;max-height:92vh;display:flex;flex-direction:column;align-items:center}.preview-content img{display:block;max-width:92vw;max-height:82vh;object-fit:contain;border-radius:7px;background:white}.preview-content p{color:white;margin:12px 0 0}.preview-close{position:absolute;right:-14px;top:-14px;width:36px;height:36px;border:0;border-radius:50%;background:white;color:var(--ink);font-size:24px;z-index:1}.toast{z-index:50}
.comment-dialog{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:20px}.comment-backdrop{position:absolute;inset:0;border:0;background:rgba(15,28,22,.62);backdrop-filter:blur(5px)}.comment-card{position:relative;width:min(470px,100%);background:white;border:1px solid var(--line);border-radius:16px;padding:32px;box-shadow:0 24px 75px rgba(10,30,20,.24)}.comment-symbol{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#fbe6e1;color:#c83e32;font-size:24px;margin-bottom:22px}.comment-card h2{font:34px Georgia,serif;margin:0 0 8px}.comment-card>p:not(.eyebrow):not(.comment-view-text){color:var(--muted);font-size:13px;line-height:1.55;margin:0 0 24px}.comment-card label{display:block;font-size:12px;font-weight:750;margin-bottom:8px}.comment-card textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:13px 14px;resize:vertical;outline:0;line-height:1.5;background:#fbfcfb}.comment-card textarea:focus{border-color:#537a69;box-shadow:0 0 0 3px rgba(83,122,105,.1)}.comment-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.comment-view-close{position:absolute;right:20px;top:20px}.comment-view-card blockquote{margin:22px 0 14px;padding:12px 15px;border-left:3px solid var(--accent);background:#f2f6f3;border-radius:0 7px 7px 0;color:#5b6861;font-size:13px}.comment-view-text{font-size:17px;line-height:1.7;color:var(--ink);white-space:pre-wrap;margin:0}.selection-palette{position:fixed;z-index:60;display:flex;align-items:center;gap:7px;background:#17211d;color:white;border-radius:9px;padding:8px 10px;box-shadow:0 10px 35px rgba(10,25,17,.3);transform:translate(-50%,-100%)}.selection-palette:after{content:'';position:absolute;left:50%;bottom:-5px;width:10px;height:10px;background:#17211d;transform:translateX(-50%) rotate(45deg)}.selection-palette>span{font-size:10px;font-weight:750;margin-right:3px}.selection-palette .color-dot{width:22px;height:22px;position:relative;z-index:1}.palette-divider{width:1px;height:22px;background:#52605a}.text-format-button,.text-annotation-button{width:26px;height:25px;border:0;background:transparent;color:white;padding:0;font-size:16px;line-height:1;position:relative;z-index:1}.text-format-button:hover,.text-annotation-button:hover{color:#f2675e}.text-annotation-button{font-size:21px}.arrow-tool{font-size:18px}.remove-highlight{width:26px;height:25px;border:0;border-left:1px solid #52605a;background:transparent;color:white;margin-left:2px;padding-left:8px;font-size:17px;position:relative;z-index:1}.remove-highlight:hover{color:#f4a692}.circled-text{display:inline-block;border:2px solid #dc3d35;border-radius:50%;padding:0 7px;margin:0 1px;transform:rotate(-1deg)}.commented-text{position:relative;border-bottom:1px dashed #d93b32;padding-right:17px;cursor:pointer}.commented-text:before{content:'↗';position:absolute;right:0;top:-9px;color:#d93b32;font-size:17px;font-weight:800}.rich-content::selection,.rich-content *::selection{background:#c9ddd2}
@media(max-width:980px){.hero-grid{grid-template-columns:1fr}.paths,.library-grid{grid-template-columns:repeat(2,1fr)}.stats-grid{grid-template-columns:repeat(2,1fr)}.node-hero{grid-template-columns:1fr}.node-cover{max-width:500px}.login-view{grid-template-columns:1fr}.login-copy{display:none}.login-panel{min-height:100vh}.mobile-brand{display:flex;align-items:center;gap:10px;margin-bottom:60px;font-weight:800;letter-spacing:2px}}
@media(max-width:700px){.sidebar{inset:auto 0 0;width:auto;height:66px;flex-direction:row;padding:7px 12px;border:0;border-top:1px solid var(--line);background:white}.brand-button,.sidebar-bottom{display:none}.main-nav{width:100%;flex-direction:row;justify-content:space-around}.nav-item{flex-direction:column;gap:2px;font-size:10px;text-align:center;align-items:center;padding:5px}.main{margin-left:0;padding-bottom:66px}.topbar{padding:0 17px;height:70px}.topbar>.primary{font-size:0;width:40px;height:40px;padding:0}.topbar>.primary:first-letter{font-size:18px}.search-wrap{width:calc(100% - 55px)}.search-wrap kbd{display:none}.page{padding:35px 18px 60px}.page h1{font-size:37px}.date-pill{display:none}.paths,.library-grid,.node-list,.stats-grid{grid-template-columns:1fr}.continue-card{min-height:280px}.page-title-row{align-items:start}.node-hero h1{font-size:43px}.form-grid{display:block}.span-2{grid-column:auto}.modal-card{padding:22px}.upload-box{display:flex!important}.upload-box #fileName{display:none}}
