:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#21312c;background:#f8f7f3;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{min-width:320px}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-shell{min-height:100vh}.topbar{min-height:68px;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border-bottom:1px solid #e3e6df}.brand{display:flex;align-items:center;gap:10px;color:#254e3e;font-weight:750;letter-spacing:-.03em;font-size:18px}.brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#285a49;color:white;font-family:Georgia,serif;font-size:22px}.stage{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#617a6c;border:1px solid #dbe5da;border-radius:100px;padding:3px 8px;margin-left:8px}.top-actions{display:flex;align-items:center;gap:18px}.save-status{font-size:12px;color:#61736a}.save-status[data-danger=true]{color:#a14337}.button{border:1px solid #d9e0d8;border-radius:7px;padding:9px 13px;background:white;color:#2a513f;font-size:12px;font-weight:700;white-space:nowrap}.button:hover:not(:disabled),.icon-button:hover:not(:disabled){background:#edf3ed}.button-primary{background:#285a49;border-color:#285a49;color:white}.button-primary:hover:not(:disabled){background:#1d4738}.button-quiet{border-color:transparent;background:transparent}.workspace{display:grid;grid-template-columns:minmax(220px,270px) minmax(0,1fr) minmax(260px,320px);min-height:calc(100vh - 68px)}.chapters-panel,.record-panel{background:#fcfcf9}.chapters-panel{border-right:1px solid #e3e6df;padding:30px 18px 22px;display:flex;flex-direction:column}.panel-heading{margin:0 8px 28px}.overline{display:block;color:#75857a;text-transform:uppercase;letter-spacing:.13em;font-size:10px;font-weight:800}.field-label{display:block;font-size:11px;color:#68796f;margin:0 8px 7px}.title-input{width:calc(100% - 16px);margin:0 8px;background:transparent;border:0;border-bottom:1px solid #dce2d8;padding:7px 0 10px;color:#24352d;font:600 19px/1.2 Georgia,serif;outline:0}.title-input:focus{border-color:#285a49}.title-input::placeholder{color:#66756b}.chapter-heading{display:flex;align-items:center;justify-content:space-between;margin:35px 8px 12px}.chapter-heading h2{margin:0;font-size:12px;letter-spacing:.02em}.icon-button{border:1px solid #d9e0d8;background:white;color:#285a49;width:27px;height:27px;display:grid;place-items:center;border-radius:6px;font-size:19px;line-height:1}.chapter-list{padding:0;margin:0;list-style:none;display:grid;align-content:start;gap:3px}.chapter-button{border:0;border-radius:7px;background:transparent;text-align:left;width:100%;padding:11px 14px;color:#33483c;display:grid;gap:4px}.chapter-button[aria-current=true]{background:#eaf0e9;color:#204a38}.chapter-button:hover{background:#edf1eb}.chapter-name{font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chapter-button small{font-size:10px;color:#77877b}.chapters-footer{margin-top:auto;padding:20px 8px 0;display:grid;gap:4px;font-size:11px;color:#7b897f}.chapters-footer span:first-child{font-weight:700;color:#3e604c}.editor-panel{min-width:0;padding:30px clamp(22px,4vw,70px) 22px;background:#f8f7f3;display:flex;flex-direction:column}.editor-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;max-width:780px;width:100%;margin:0 auto 20px}.editor-toolbar h1{margin:7px 0 0;font:500 clamp(22px,2.5vw,29px)/1.25 Georgia,serif;letter-spacing:-.02em}.paper{max-width:780px;min-height:450px;width:100%;margin:0 auto;flex:1;display:flex;background:#fff;border:1px solid #e5e8e2;border-radius:4px}.paper textarea{width:100%;min-height:450px;resize:none;border:0;outline:0;background:transparent;color:#25342d;padding:clamp(24px,4vw,58px);font:17px/1.85 Georgia,"Times New Roman",serif}.paper textarea::placeholder{color:#aab5a7}.editor-footer{display:flex;gap:16px;max-width:780px;width:100%;margin:15px auto 0;font-size:11px;color:#75857b}.record-panel{border-left:1px solid #e3e6df;padding:30px 22px 25px;min-width:0}.record-panel h2{font:500 22px/1.3 Georgia,serif;letter-spacing:-.02em;margin:9px 0 11px}.record-intro,.record-note{font-size:12px;line-height:1.65;color:#6d7d71}.record-intro{margin:0 0 20px}.record-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:18px 0;border-top:1px solid #e5e8e2;border-bottom:1px solid #e5e8e2}.record-stats div{display:grid;gap:4px}.record-stats strong{font-size:23px;font-weight:600}.record-stats span{color:#718075;font-size:10px}.record-panel h3{font-size:12px;margin:24px 0 11px}.activity-list{list-style:none;padding:0;margin:0;max-height:48vh;overflow:auto}.activity-item{padding:11px 0;border-bottom:1px solid #eceee9}.activity-line{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.activity-line strong{font-size:11px;text-transform:capitalize;color:#2d5d48}.activity-line time{font-size:10px;color:#91a092;white-space:nowrap}.activity-item p{font-size:12px;margin:4px 0;color:#3a4d40}.activity-item small,.empty-activity{font-size:11px;color:#8a988d}.record-note{margin:24px 0 0;padding-top:16px;border-top:1px solid #e5e8e2}.error-screen{max-width:600px;margin:15vh auto;padding:20px}.error-screen h1{font:500 28px Georgia,serif}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #285a49;outline-offset:2px}@media(max-width:1050px){.workspace{grid-template-columns:220px minmax(0,1fr)}.record-panel{grid-column:1/-1;border-left:0;border-top:1px solid #e3e6df}.activity-list{max-height:300px;display:grid;grid-template-columns:1fr 1fr;column-gap:28px}.record-note{max-width:700px}}@media(max-width:650px){.topbar{padding:10px 14px}.brand{font-size:16px}.stage{display:none}.top-actions{gap:8px}.save-status{max-width:80px;line-height:1.2}.button-primary{padding:8px;font-size:11px}.workspace{display:block}.chapters-panel{padding:15px;border-right:0;border-bottom:1px solid #e3e6df}.panel-heading,.field-label,.chapters-footer{display:none}.title-input{font-size:17px}.chapter-heading{margin:16px 8px 8px}.chapter-list{display:flex;overflow:auto}.chapter-list li{flex:none;min-width:130px;max-width:180px}.editor-panel{padding:22px 14px}.paper,.paper textarea{min-height:55vh}.paper textarea{font-size:16px}.record-panel{padding:22px 18px}.activity-list{grid-template-columns:1fr}}
