@charset "UTF-8";
:root{--ink:#243e3b;--green:#244d49;--muted:#697771;--paper:#f6f7f2;--line:#e1e6dd;--lime:#e9efcc;--white:#fff;--red:#9e3535;--radius:14px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.55}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button{border:0;background:none;color:inherit}a{color:inherit}input,select,textarea{width:100%;border:1px solid #d5ddd3;border-radius:9px;padding:11px 12px;color:var(--ink);background:#fff;min-height:44px}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#7a827c}button:focus-visible,a:focus-visible{outline:3px solid #6a9c92;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #93afa4;outline-offset:1px}h1,h2,h3,p{margin:0}h1{font-size:clamp(28px,3vw,40px);font-weight:600;letter-spacing:-1.3px;line-height:1.2}h2{font-size:20px;letter-spacing:-.4px;font-weight:600}h3{font-size:15px;font-weight:600}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:500;min-width:0}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.7px;color:var(--muted);margin-bottom:12px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:11px 18px;border-radius:9px;min-height:44px;white-space:nowrap;font-weight:550}.primary{background:var(--green);color:#fff}.primary:hover{background:#173e3a}.secondary{border:1px solid #d7dfd4;background:#fff}.secondary:hover{background:var(--paper)}.wide{width:100%}.text-button{color:var(--green);font-size:12px;min-height:36px;font-weight:600;padding:5px 0}.text-button:hover{text-decoration:underline}.icon-button{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;font-size:25px;flex-shrink:0}.icon-button:hover{background:#edf1e8}.danger-text{color:var(--red);font-size:12px;padding:10px 0}.error-text{font-size:13px;color:var(--red);margin-top:12px;white-space:pre-line}.loading{min-height:100vh;display:grid;place-items:center;color:var(--muted)}
.app-shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{background:#eef1e8;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:36px 22px 22px;position:sticky;top:0;height:100dvh}.brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:600;line-height:1.15;text-decoration:none;letter-spacing:-.4px}.brand-mark{background:var(--green);color:#fafcf0;border-radius:12px;width:43px;height:46px;font-size:30px;font-weight:600;display:grid;place-items:center;line-height:1;flex-shrink:0}.sidebar-body{margin-top:58px}.nav-caption{font-size:9px;letter-spacing:1.7px;color:var(--muted);font-weight:650;margin:0 12px 14px}.child-button{width:100%;display:flex;gap:11px;align-items:center;text-align:left;border-radius:10px;padding:12px 10px;margin-bottom:5px}.child-button.active{background:#fff;box-shadow:0 2px 6px #203d3205}.child-button:hover{background:#ffffffa8}.avatar{height:33px;width:33px;display:grid;place-items:center;flex-shrink:0;background:#e2e8cc;color:#3c513c;border-radius:50%;font-weight:650;font-size:13px}.child-button:nth-child(even) .avatar{background:#e5e3d7;color:#625b42}.child-button .child-info{min-width:0;flex:1}.child-button strong{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere}.child-button small{color:var(--muted);font-size:11px}.child-button.active .nav-dot{background:var(--green);width:5px;height:5px;border-radius:50%;flex-shrink:0}.sidebar-separator{height:1px;background:#dce1d7;margin:24px 10px 17px}.nav-button{display:flex;gap:12px;align-items:center;padding:11px 10px;color:#51645c;width:100%;text-align:left;font-size:13px}.nav-button span{font-size:20px}.sidebar-note{margin-top:auto;padding:35px 12px 28px;color:#536851}.small-sprout{font-size:45px;font-family:Georgia,serif;color:#81936a;line-height:1}.sidebar-note p{font-size:12px;line-height:1.7;margin-top:8px}.sidebar-note strong{font-weight:550}.logout{border-top:1px solid #dce1d7;padding:18px 10px 0;display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}
.workspace{padding:0 44px 24px;min-width:0;max-width:1700px;width:100%;margin:0 auto}.topbar{display:flex;justify-content:space-between;align-items:center;min-height:88px;border-bottom:1px solid var(--line);color:var(--muted);font-size:9px;letter-spacing:1.3px;gap:12px}.topbar-dot{color:#acb3a5;margin:0 12px}.year-label select{background:transparent;min-height:36px;font-size:12px;letter-spacing:0;border-color:#dbe1d6;padding:7px 28px 7px 11px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin:39px 0 31px;gap:20px}.page-heading .eyebrow{margin-bottom:9px}.page-heading .muted{margin-top:10px;font-size:13px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:36px}.stat{padding:20px 21px 17px;border-radius:var(--radius);background:#fff;border:1px solid var(--line);position:relative;overflow:hidden}.stat:first-child{background:var(--lime);border-color:#e0e7c7}.stat-label{color:#52634f;font-size:11px;display:flex;justify-content:space-between;gap:8px}.stat-label span:last-child{font-size:14px}.stat-number{font-size:34px;letter-spacing:-1.2px;line-height:1.3;font-weight:550;margin:12px 0 3px}.stat-note{font-size:10px;color:#657060}.stat-progress{height:3px;background:#ccd5ad;border-radius:5px;margin-top:13px;overflow:hidden}.stat-progress progress{width:100%;height:100%;display:block;appearance:none;border:0;background:#ccd5ad}.stat-progress progress::-webkit-progress-bar{background:#ccd5ad}.stat-progress progress::-webkit-progress-value{background:var(--green)}.stat-progress progress::-moz-progress-bar{background:var(--green)}.journal-section{border:1px solid var(--line);background:#fff;border-radius:var(--radius);overflow:hidden}.journal-title{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 24px 17px}.journal-title h2{display:flex;gap:10px;align-items:center;font-size:18px}.journal-title h2 span{background:#f0f3eb;font-size:10px;border-radius:6px;padding:3px 7px;color:var(--muted);font-weight:500;letter-spacing:0}.filters{display:flex;gap:10px;padding:0 24px 20px}.filters select{font-size:11px;width:auto;max-width:28%;padding:9px 24px 9px 10px;min-height:39px;background:#fafbf8;border-color:#e2e7dc}.search-box{flex:1;position:relative;min-width:160px}.search-box span{position:absolute;top:3px;left:11px;font-size:23px;font-weight:400;color:#697a6d}.search-box input{font-size:11px;min-height:39px;padding:9px 10px 9px 34px;border-color:#e2e7dc;background:#fafbf8}.active-filters{display:flex;justify-content:space-between;align-items:center;padding:0 24px 10px;gap:10px;font-size:11px;color:var(--muted)}.table-scroll{overflow:auto}.journal-table{width:100%;border-collapse:collapse;text-align:left}.journal-table th{font-weight:500;font-size:10px;color:#6b786d;letter-spacing:.1px;padding:12px 18px;background:#f8faf5;border-top:1px solid #edf0e7;border-bottom:1px solid #edf0e7;white-space:nowrap}.journal-table th:first-child{padding-left:24px;width:45%}.journal-table td{padding:19px 18px;border-bottom:1px solid #edf0e7;font-size:12px;vertical-align:middle}.journal-table td:first-child{padding-left:24px;min-width:200px}.journal-table tr:last-child td{border-bottom:0}.journal-table tbody tr:hover{background:#fafcf7}.subject-title{color:#7a836f;font-size:9px;letter-spacing:.5px;margin-bottom:4px;text-transform:uppercase;overflow-wrap:anywhere}.record-title{font-size:13px;font-weight:550;text-align:left;padding:0;display:block;overflow-wrap:anywhere}.record-title:hover{text-decoration:underline}.record-meta{color:#76816f;font-size:10px;margin-top:3px}.date-value{white-space:nowrap;color:#526250;font-size:11px}.due-date{font-size:10px;display:block;color:#9e5e2a;margin-top:3px}.badge{display:inline-block;font-size:9px;white-space:nowrap;padding:5px 9px;border-radius:6px}.badge.done{background:#eaf1dd;color:#48622c}.badge.planned{background:#edf0ea;color:#697265}.badge.in_progress{background:#fff0d9;color:#8d602b}.result{font-size:20px;font-weight:600;letter-spacing:-.5px;max-width:150px;overflow-wrap:anywhere}.result.text-result{font-size:12px;letter-spacing:0}.result.missing{color:#a7afa0;font-size:16px;font-weight:400}.attachment-button{display:inline-flex;gap:5px;align-items:center;padding:7px 8px;border:1px solid #e4e9de;border-radius:6px;color:#64705b;font-size:10px;white-space:nowrap}.attachment-button:hover{background:#eff3e9}.row-edit{font-size:16px;color:#6d7f6a;min-width:32px;min-height:32px;border-radius:6px}.row-edit:hover{background:#eaf0e1}.journal-footer{display:flex;justify-content:space-between;gap:12px;padding:14px 24px;border-top:1px solid var(--line);font-size:10px;color:#788371}.empty-state{text-align:center;padding:44px 24px 52px}.empty-symbol{display:grid;place-items:center;width:54px;height:54px;background:#f1f4e8;border-radius:17px;font-size:27px;color:#708054;margin:0 auto 15px}.empty-state h3{font-size:18px;letter-spacing:-.3px}.empty-state p{color:var(--muted);font-size:12px;margin:9px auto 20px;max-width:350px}.page-footer{display:flex;justify-content:space-between;margin-top:26px;font-size:10px;color:#7a8474}.page-footer span{font-size:9px}
.login-page{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 30% 20%,#e9eedb,transparent 55%),var(--paper)}.login-card{width:100%;max-width:430px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:42px}.login-card .brand-mark{margin-bottom:30px}.login-card h1{font-size:32px}.login-card .muted{font-size:13px;margin:15px 0 28px}.login-card .eyebrow{font-size:9px}.login-card form button{margin-top:18px;justify-content:space-between}.login-foot{margin-top:25px;border-top:1px solid var(--line);padding-top:20px;font-size:10px;color:var(--muted)}
dialog{border:1px solid var(--line);border-radius:18px;padding:0;width:calc(100% - 32px);max-width:720px;max-height:92dvh;color:var(--ink);box-shadow:0 22px 90px #18352b26;overflow:auto}dialog::backdrop{background:#203f3670;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;padding:22px 26px;border-bottom:1px solid var(--line);gap:12px}.dialog-header .eyebrow{font-size:8px;margin-bottom:5px}.dialog-header h2{font-size:23px}.dialog-content{padding:23px 26px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.span-2{grid-column:span 2}.dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 26px;border-top:1px solid var(--line);background:#fafbf7}.dialog-footer>div{display:flex;gap:9px;margin-left:auto}.dialog-footer .muted{font-size:11px}.subsection-heading{display:flex;justify-content:space-between;align-items:center;margin:24px 0 12px;gap:10px}.subsection-heading h3{font-size:13px}.subsection-heading .muted{font-size:10px}.extra-row{display:grid;grid-template-columns:1fr 1.6fr 36px;gap:8px;margin:8px 0}.extra-row input{font-size:12px}.extra-row button{font-size:20px}.upload-area{border:1px dashed #b6c4a8;border-radius:11px;padding:19px;display:flex;align-items:center;text-align:center;gap:3px;background:#fafcf6;cursor:pointer;font-size:11px;position:relative}.upload-area .upload-plus{font-size:23px;color:#688657}.upload-area span:last-of-type{font-size:10px;color:var(--muted)}.upload-area input{position:absolute;inset:0;opacity:0;cursor:pointer;height:100%}.upload-area:focus-within{outline:2px solid #93afa4}.image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0}.image-card{border:1px solid var(--line);border-radius:9px;overflow:hidden;min-width:0;position:relative}.image-card .image-open{width:100%;display:block;padding:0;background:#edf0e7;height:105px}.image-card img{width:100%;height:105px;object-fit:cover;display:block}.image-card p{padding:7px 9px;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-card .remove-image{position:absolute;top:5px;right:5px;width:26px;height:26px;background:#fff;border-radius:50%;font-size:18px;box-shadow:0 1px 5px #0002}.image-card .pending-label{position:absolute;top:6px;left:6px;padding:2px 5px;background:#fff;border-radius:4px;font-size:8px}.settings-dialog{max-width:600px}.settings-dialog .subsection-heading:first-child{margin-top:0}.settings-list{display:grid;gap:8px}.settings-row{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:9px;padding:10px 12px;gap:15px}.settings-row strong{font-size:12px;font-weight:550;overflow-wrap:anywhere}.settings-row small{color:var(--muted);font-size:10px;display:block}.settings-row .actions{display:flex;gap:8px;flex-shrink:0}.settings-row .actions button{font-size:11px;min-height:34px}.settings-form{margin:12px 0 22px;padding:16px;background:#f5f7ef;border-radius:10px;display:grid;gap:13px}.inline-actions{display:flex;justify-content:flex-end;gap:8px}.settings-empty{font-size:12px;color:var(--muted);padding:10px 0}.image-dialog{max-width:1000px;background:#f6f7f2}.image-toolbar{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;gap:15px;font-size:12px;overflow-wrap:anywhere}.image-dialog>img{display:block;max-height:73dvh;max-width:100%;object-fit:contain;margin:0 auto}.image-pagination{display:flex;align-items:center;justify-content:center;gap:20px;padding:12px;font-size:12px}.image-pagination button{border:1px solid var(--line);padding:6px 15px;background:#fff;border-radius:7px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--green);color:#fff;padding:12px 20px;border-radius:10px;font-size:12px;box-shadow:0 7px 30px #244d4920;z-index:10;max-width:calc(100vw - 32px);width:max-content}.toast.error{background:#8c3838}
@media(min-width:1500px){.workspace{padding-left:65px;padding-right:65px}.stats{gap:20px}.stat{padding:25px}}
@media(max-width:1150px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:28px 15px 20px}.workspace{padding:0 25px 22px}.filters{flex-wrap:wrap}.search-box{flex-basis:100%}.filters select{max-width:none;flex:1;min-width:100px}.journal-table th,.journal-table td{padding-left:11px;padding-right:11px}.stat{padding:17px 15px}.stat-note{font-size:9px}.journal-table th:first-child{width:42%}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;height:auto;padding:18px 20px 10px;display:grid;grid-template-columns:1fr auto;border-right:0;border-bottom:1px solid var(--line);gap:15px 10px}.brand{font-size:15px;gap:9px}.brand-mark{width:35px;height:38px;border-radius:10px;font-size:25px}.sidebar-body{display:contents}.sidebar-body nav{grid-column:1/-1;display:flex;gap:8px;overflow-x:auto;order:3;scrollbar-width:thin;padding-bottom:3px}.nav-caption,.sidebar-separator,.sidebar-note{display:none}.child-button{width:auto;min-width:142px;flex:1;margin:0;padding:9px 11px;gap:9px}.child-button .avatar{width:28px;height:28px;font-size:11px}.child-button small{font-size:10px}.nav-button{grid-column:2;grid-row:1;width:auto;font-size:0;padding:7px}.nav-button span{font-size:23px}.logout{grid-column:2;grid-row:1;margin-right:39px;padding:7px;border:0;align-items:center;font-size:10px;gap:5px;justify-self:end}.workspace{padding:0 20px 20px}.topbar{min-height:64px;font-size:8px;letter-spacing:1px}.topbar-dot{margin:0 6px}.topbar .year-label{max-width:140px}.topbar .year-label select{font-size:11px;padding-left:9px}.page-heading{margin:27px 0 22px;align-items:flex-start;flex-wrap:wrap;gap:18px}.page-heading h1{font-size:31px}.page-heading .muted{font-size:12px;margin-top:8px}.page-heading .primary{padding:10px 14px;font-size:12px}.eyebrow{font-size:9px;letter-spacing:1.2px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:24px}.stat{padding:16px 17px}.stat-label{font-size:10px}.stat-number{font-size:30px;margin-top:8px}.stat-note{font-size:9px}.stat-progress{margin-top:10px}.journal-title{padding:19px 16px 14px}.journal-title h2{font-size:16px;gap:7px}.journal-title .text-button{font-size:10px}.filters{padding:0 16px 15px;gap:7px}.filters select{font-size:10px;min-width:0;flex:1 1 30%;width:30%;padding:9px 18px 9px 7px}.active-filters{padding:0 16px 10px;font-size:10px}.table-scroll{overflow:visible}.journal-table,.journal-table tbody{display:block}.journal-table thead{display:none}.journal-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px 10px;padding:17px 16px;border-top:1px solid #edf0e7}.journal-table td{padding:0!important;border:0!important;min-width:0!important}.journal-table td:first-child{grid-column:1;grid-row:1/3}.journal-table td:nth-child(2){grid-column:1;grid-row:3}.journal-table td:nth-child(3){grid-column:1;grid-row:4}.journal-table td:nth-child(4){grid-column:2;grid-row:1/3;align-self:start;text-align:right}.journal-table td:nth-child(5){grid-column:2;grid-row:3/5;align-self:end}.journal-table td:nth-child(6){grid-column:3;grid-row:1/3}.subject-title{font-size:9px}.record-title{font-size:13px;line-height:1.45}.date-value{font-size:10px}.due-date{display:inline;margin-left:10px}.result{font-size:24px;max-width:100px}.result.text-result{font-size:12px;max-width:90px}.badge{font-size:9px;padding:3px 7px}.record-meta{font-size:10px}.attachment-button{font-size:9px;padding:5px 7px}.journal-footer{padding:12px 16px;font-size:9px}.journal-footer span:last-child{display:none}.page-footer{font-size:9px;gap:10px;margin-top:20px}.page-footer span{font-size:8px}dialog{width:calc(100% - 16px);max-height:96dvh;border-radius:13px}.dialog-header{padding:17px 18px}.dialog-content{padding:18px}.dialog-footer{padding:13px 18px;flex-wrap:wrap;gap:8px}.dialog-footer .primary,.dialog-footer .secondary{font-size:12px;padding:9px 13px}.dialog-footer>div{gap:7px}.form-grid{gap:13px 11px}label{font-size:12px}input,select,textarea{font-size:13px;padding:10px;min-height:43px}.subsection-heading{gap:8px;align-items:baseline}.subsection-heading .muted{font-size:9px}.image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.image-card img,.image-card .image-open{height:110px}.extra-row{grid-template-columns:1fr 1fr 24px;gap:6px}.extra-row input{font-size:11px}.settings-row{padding:9px 10px;gap:7px}.settings-row .actions{gap:6px}.settings-row .actions button{font-size:10px}.login-card{padding:30px;max-width:400px}.login-card h1{font-size:29px}}
@media(max-width:390px){.workspace{padding-left:14px;padding-right:14px}.sidebar{padding-left:14px;padding-right:14px}.page-heading h1{font-size:28px}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.journal-title h2{font-size:15px}.stat{padding:14px}.stat-label{font-size:9px}.subsection-heading{flex-wrap:wrap;gap:1px}.page-footer span{max-width:145px;text-align:right}}
.work-link{display:inline-block;font-size:10px;color:#37664e;margin-top:5px;text-decoration:none}.work-link:hover{text-decoration:underline}.source-ref{display:inline-block;max-width:95px;font-size:9px;color:#6d7668;overflow-wrap:anywhere}.record-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.date-value{white-space:normal;display:inline-block;min-width:72px;max-width:130px}.record-dialog label.span-2:has([name="title"]){grid-column:span 2}
@media(max-width:760px){.sidebar{grid-template-columns:minmax(0,1fr) auto 36px}.nav-button{grid-column:3;justify-self:end;width:36px;height:40px}.logout{grid-column:2;margin-right:0;justify-self:end;min-height:40px}.brand{min-width:0}}
:root{--muted:#59695f}.subject-title{color:#5d6b58}.record-meta{color:#626f5c}.journal-footer,.page-footer{color:#606e5b}.badge.planned{color:#5f6b59}.journal-table th{color:#586951}.stat-note{color:#56634e}input::placeholder,textarea::placeholder{color:#687366}.result.missing{color:#687562}
@media(max-width:390px){.record-dialog label.span-2:has([name="title"]){grid-column:auto}.source-ref{max-width:80px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background .15s ease,color .15s ease}.toast{animation:appear .18s ease-out}@keyframes appear{from{opacity:0;translate:0 7px}to{opacity:1;translate:0 0}}}
