:root{--ink:#253c36;--muted:#68736d;--faint:#89928b;--paper:#f7f8f4;--white:#fff;--line:#e1e6de;--green:#325b48;--green-dark:#254736;--soft:#eaf0e7;--orange:#b87832;--red:#a34236;--red-soft:#fbede8;--radius:14px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.55;cursor:wait}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #bb8a3e;outline-offset:3px}button{border:0;background:none}button,input,select{min-height:40px}input,select,textarea{border:1px solid #d4ddd2;background:white;color:var(--ink);border-radius:8px;padding:10px 12px;max-width:100%}textarea{resize:vertical;line-height:1.6}input::placeholder,textarea::placeholder{color:#778079;opacity:1}input:focus,textarea:focus,select:focus{border-color:#5b7e69}kbd{font:11px ui-monospace,monospace;border:1px solid var(--line);border-radius:4px;padding:2px 5px;color:var(--muted)}[hidden]{display:none!important}.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}.skip-link{position:fixed;top:-60px;left:20px;background:white;padding:12px;z-index:100}.skip-link:focus{top:10px}
.app-shell{display:grid;grid-template-columns:238px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#f0f3ed;border-right:1px solid var(--line);padding:30px 20px 22px;display:flex;flex-direction:column;gap:25px}.brand{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:700;letter-spacing:-.4px}.brand small{display:block;font-size:11px;color:var(--muted);font-weight:400;letter-spacing:.2px;margin-top:5px}.brand-mark{display:flex;align-items:center;justify-content:center;background:var(--green);color:white;border-radius:12px;width:39px;height:41px;font-size:31px;font-family:Georgia,serif;padding-bottom:5px}.brand-mark span{color:#d7b475}.primary{background:var(--green);color:white;border-radius:9px;padding:11px 19px;font-weight:600;min-height:42px}.primary:hover{background:var(--green-dark)}.secondary{border:1px solid #d6ddd1;background:white;border-radius:9px;padding:10px 15px;font-weight:500}.secondary:hover{background:#f0f4ed}.capture-button{display:flex;align-items:center;gap:10px;text-align:left;box-shadow:0 3px 6px #263c3610}.capture-button>span{font-size:20px;font-weight:400}.capture-button kbd{margin-left:auto;color:#d2e2d6;border-color:#668372;background:#ffffff0b}nav{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;align-items:center;gap:11px;width:100%;text-align:left;font-size:13px;font-weight:500;padding:11px 12px;border-radius:8px;color:#5b665e;min-height:44px}.nav-item:hover{background:#e5eadd}.nav-item.active{background:#dfe8da;color:var(--green-dark);font-weight:650}.nav-icon{font-size:19px;line-height:1;width:20px;text-align:center}.nav-count{margin-left:auto;font-size:11px;font-weight:600;background:#ffffff70;border-radius:5px;padding:3px 6px}.section-label{text-transform:uppercase;font-size:10px;font-weight:650;letter-spacing:1.3px;color:#697769;display:flex;align-items:center;justify-content:space-between;padding-left:12px}.section-label button{font-size:20px;min-width:32px;min-height:32px}.sidebar-projects{min-height:0;overflow-y:auto;flex:1}.project-nav{display:flex;align-items:center;gap:9px;text-align:left;padding:9px 12px;width:100%;font-size:12px;color:#5c695e;line-height:1.4}.project-nav span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-nav.selected{background:#e1eadd;border-radius:8px}.project-dot{width:7px;height:7px;border-radius:50%;background:#80967a;flex:none}.area-teaching .project-dot{background:#b3874a}.area-administration .project-dot{background:#7987a3}.area-personal .project-dot{background:#a38699}.area-other .project-dot{background:#8b8e88}.sidebar-bottom{border-top:1px solid #dce3d8;padding-top:15px}.file-icon{font-size:11px;font-weight:750;border:1px solid #62816d;padding:3px 5px;border-radius:3px}.backup-indicator{display:flex;align-items:flex-start;gap:8px;margin:18px 10px 0;font-size:10px;color:#606e61;line-height:1.6}.dot{display:inline-block;width:6px;height:6px;background:#65855d;border-radius:50%;flex:none;margin-top:5px}.dot.pending{background:#b77a36}.dot.problem{background:var(--red)}.workspace{min-width:0}.topbar{height:78px;display:flex;gap:24px;align-items:center;padding:0 44px;background:#fff9;border-bottom:1px solid var(--line)}.breadcrumb{font-size:12px;color:var(--muted);white-space:nowrap}.breadcrumb>span{margin-left:12px}.breadcrumb>span:last-child{color:var(--ink);font-weight:500}.search{margin-left:auto;display:flex;align-items:center;gap:8px;width:260px;max-width:45%;font-size:23px}.search input{border:0;background:transparent;padding:8px 2px;min-width:0;width:100%;font-size:12px;outline-offset:0}.search kbd{background:white}.avatar{height:31px;width:31px;border-radius:50%;background:#e5eadf;color:#52614f;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;flex:none}main{max-width:1500px;margin:auto;padding:38px 44px 50px;outline:0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.eyebrow{text-transform:uppercase;letter-spacing:1.5px;font-size:10px;font-weight:650;color:#778071;margin:0 0 12px}h1{font:500 36px/1.14 Georgia,"Times New Roman",serif;letter-spacing:-1px;margin:0;overflow-wrap:anywhere}h2,h3,p{margin-top:0}.page-description{color:var(--muted);font-size:13px;margin:12px 0 0;line-height:1.7;max-width:680px}.stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:var(--radius);background:white;padding:20px 8px;margin-bottom:25px}.stat{padding:0 22px;border-right:1px solid var(--line);text-align:left;min-height:61px}.stat:last-child{border-right:0}.stat-label{display:block;font-size:11px;color:var(--muted);margin-bottom:10px}.stat-value{font:500 28px/1 Georgia,serif;letter-spacing:-.7px}.stat-note{font-size:10px;color:var(--muted);margin-left:9px}.stat.overdue .stat-value{color:var(--red)}.quick-capture{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #d4decc;border-radius:10px;padding:6px 10px 6px 16px;margin-bottom:24px;box-shadow:0 2px 4px #243e2703}.quick-capture>span{font-size:23px;color:#789269}.quick-capture input{flex:1;min-width:0;border:0;background:none;padding:10px 4px;outline-offset:-2px;font-size:13px}.quick-capture button{font-size:11px;padding:0 12px;background:#f1f5ed;border-radius:6px;color:#51664d;white-space:nowrap}.quick-capture button span{margin-left:8px}.filterbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.segmented{display:flex;gap:3px}.segmented button{font-size:11px;min-height:32px;padding:6px 12px;border-radius:6px;color:var(--muted)}.segmented button.selected{background:#e7eddf;color:#355432;font-weight:600}.sort-label{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:4px}.sort-label select{font-size:11px;border:0;background:none;padding:5px;min-height:32px}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:26px}.section-heading{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600;margin:0 0 14px}.section-heading .count{font-size:10px;background:#e8ede2;border-radius:5px;padding:3px 6px;color:#69745e}.section-heading button{margin-left:auto;color:var(--muted);font-size:11px;min-height:28px}.action-group{margin-bottom:27px}.action-list{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.action-row{display:flex;align-items:flex-start;gap:13px;padding:18px 18px;border-bottom:1px solid #edf0e8;position:relative}.action-row:last-child{border-bottom:0}.action-row:hover{background:#fafcf7}.check-action{width:21px;height:21px;min-height:21px;flex:none;border:1.5px solid #cbd6c7;border-radius:50%;margin-top:2px;display:grid;place-items:center;font-size:12px}.check-action:hover{border-color:var(--green);background:#f0f5ed}.check-action.checked{background:#dceadb;color:#41633d;border-color:#bdcfb8}.action-main{min-width:0;flex:1}.action-name{display:block;font-size:13px;line-height:1.5;font-weight:550;text-align:left;padding:0;min-height:0;overflow-wrap:anywhere}.action-row.done .action-name{text-decoration:line-through;color:#768070}.action-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:10px;color:var(--muted);margin-top:9px}.status{padding:3px 7px;border-radius:5px;font-size:9px;background:#eff2eb;color:#67765d;line-height:1.4;display:inline-block}.status.in-progress{background:#e8edf5;color:#486385}.status.waiting{background:#fcf0d8;color:#8b6229}.status.done{background:#e6f0e3;color:#4c7041}.status.cancelled{background:#efefed;color:#73766d}.due{font-size:10px;color:#6e7869}.due.overdue{color:#a24a38;background:#fbefea;padding:3px 5px;border-radius:4px}.due.today{color:#8b602d}.priority-high{font-size:9px;color:#a35738}.next-step{font-size:11px;color:#6f7a69;line-height:1.6;margin:10px 0 0;overflow-wrap:anywhere}.next-step strong{font-weight:500;color:#516149}.pin{font-size:19px;min-width:32px;min-height:32px;color:#9da695;margin:-4px -7px 0 0}.pin.pinned{color:#b48238}.mini-card{padding:22px;background:#edf2e7;border:1px solid #dde5d4;border-radius:12px;margin-bottom:18px}.mini-card h3{font:500 21px/1.2 Georgia,serif;letter-spacing:-.2px;margin-bottom:12px}.mini-card p{font-size:12px;color:#67735f;line-height:1.8}.mini-card .secondary{width:100%;font-size:11px;margin-top:5px;background:#f8fbf4}.mini-project{padding:15px 0;border-bottom:1px solid var(--line)}.mini-project:last-child{border-bottom:0}.mini-project button{font-size:12px;padding:0;min-height:0;text-align:left;font-weight:600;line-height:1.5}.progress-track{display:flex;gap:12px;align-items:center;margin-top:9px}.progress-track progress{appearance:none;height:4px;width:100%;border:0;border-radius:4px;overflow:hidden}.progress-track progress::-webkit-progress-bar{background:#e2e8dc}.progress-track progress::-webkit-progress-value{background:#7c9470}.progress-track progress::-moz-progress-bar{background:#7c9470}.progress-track span{font-size:10px;white-space:nowrap;color:#76816e}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(275px,1fr));gap:19px}.project-card{background:white;border:1px solid var(--line);border-radius:13px;padding:25px;display:flex;flex-direction:column;align-items:flex-start;min-height:220px}.project-card .area-label{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin:0 0 17px;display:flex;gap:7px;align-items:center}.project-card h3{font:500 24px/1.25 Georgia,serif;letter-spacing:-.3px;margin-bottom:12px;overflow-wrap:anywhere}.project-card h3 button{text-align:left;font:inherit;padding:0;min-height:0}.project-card p{font-size:12px;line-height:1.7;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.project-card .progress-track{width:100%;margin-top:auto;padding-top:12px}.project-footer{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:15px;font-size:10px;color:var(--muted)}.project-footer button{min-height:27px;font-size:10px;color:#526c4b}.project-summary{display:flex;gap:20px;align-items:flex-start;border:1px solid var(--line);background:white;border-radius:12px;padding:22px;margin-bottom:24px}.project-summary div{flex:1;min-width:0}.project-summary h3{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-bottom:10px}.project-summary p{font-size:14px;line-height:1.7;white-space:pre-wrap;margin-bottom:0;overflow-wrap:anywhere}.project-summary small{display:block;margin-top:12px;color:var(--muted)}.empty-state{border:1px dashed #d1dccb;border-radius:14px;text-align:center;padding:55px 24px;background:#ffffff80}.empty-symbol{margin:0 auto 22px;background:#e8efe0;border-radius:50%;height:57px;width:57px;font-size:27px;color:#708463;display:grid;place-items:center}.empty-state h2{font:500 28px/1.2 Georgia,serif;margin-bottom:13px;letter-spacing:-.5px}.empty-state p{color:var(--muted);font-size:13px;line-height:1.8;max-width:410px;margin:0 auto 22px}.empty-state .secondary,.empty-state .primary{font-size:12px}.empty-state.compact{padding:34px 20px}.empty-state.compact h2{font-size:23px}.workspace>footer{font-size:10px;color:#7d8776;max-width:1500px;margin:0 auto;padding:0 44px 25px}.notice{padding:14px 18px;background:#fff2d8;color:#785329;border:1px solid #ecd7b4;border-radius:9px;font-size:12px;line-height:1.6;margin-bottom:24px}.notice button{text-decoration:underline;font-weight:600;margin-left:8px}.notice.error{background:#fcf0ed;color:#9e4437;border-color:#efcfc8}
dialog{border:0;color:var(--ink);padding:0;box-shadow:0 20px 100px #172b3440;background:white}dialog::backdrop{background:#26352f65;backdrop-filter:blur(3px)}.editor-dialog{width:min(620px,calc(100% - 30px));max-height:90vh;border-radius:18px}.editor-dialog form{display:flex;flex-direction:column;max-height:90vh}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:26px 30px 20px;border-bottom:1px solid var(--line);background:#f9fbf6}.dialog-header .eyebrow{margin-bottom:8px}.dialog-header h2{font:500 28px Georgia,serif;letter-spacing:-.6px;margin:0}.icon-button{font-size:27px;color:var(--muted);width:38px;height:38px;min-height:38px;border-radius:50%;line-height:1}.icon-button:hover{background:#e9eee3}.dialog-body{padding:24px 30px;overflow:auto;flex:1}.field{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:600;margin-bottom:20px;position:relative}.field input,.field textarea,.field select{font-size:13px;font-weight:400;width:100%}.field .optional{position:absolute;right:0;top:0;font-size:10px;font-weight:400;color:var(--muted)}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}.check-field{display:flex;align-items:center;gap:10px;font-size:12px;margin:0 0 23px}.check-field input{min-height:0;accent-color:var(--green);width:16px;height:16px}.dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 30px;background:#f9fbf6;border-top:1px solid var(--line)}.dialog-footer>div{display:flex;gap:9px;margin-left:auto}.dialog-footer button{font-size:12px}.text-button{padding:7px 0;color:var(--muted);font-size:11px;text-decoration:underline;text-underline-offset:3px}details{border-top:1px solid var(--line);padding-top:18px}summary{cursor:pointer;font-size:12px;color:#5d7155;padding-bottom:6px}.details-body{padding-top:18px}.details-body .field:last-child{margin-bottom:0}.form-error{font-size:12px;color:var(--red);line-height:1.7;margin:16px 0 0}.form-error:empty{display:none}.record-history{font-size:10px;color:var(--muted);line-height:1.7;margin-top:22px}.record-history h3{font-size:10px;text-transform:uppercase;letter-spacing:1px;margin-bottom:8px}.record-history ul{list-style:none;padding:0;margin:0}.record-history li{padding:5px 0}.record-history time{color:#52634c;margin-right:6px}.backup-block{border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:20px}.backup-block:last-child{border-bottom:0;margin-bottom:0}.backup-block h3{font-size:14px;margin-bottom:10px}.backup-block p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:8px;overflow-wrap:anywhere}.backup-block code{font-size:10px;overflow-wrap:anywhere;white-space:normal;color:#5a6952}.backup-block .problem{color:var(--red)}.confirm-dialog{max-width:430px;width:calc(100% - 35px);border-radius:15px;padding:28px}.confirm-dialog h2{font-size:19px;line-height:1.5}.confirm-dialog p{font-size:13px;color:var(--muted);line-height:1.7}.confirm-dialog>div{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.toast{position:fixed;bottom:27px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:15px 22px;border-radius:11px;font-size:12px;line-height:1.5;box-shadow:0 5px 20px #172d2925;max-width:calc(100% - 35px);z-index:20}.toast button{color:#e9c787;margin-left:14px;font-size:12px;min-height:25px}.subtle-note{font-size:12px;color:var(--muted);line-height:1.7;margin:0 0 20px}.archive-project-row{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:17px;background:white;border:1px solid var(--line);border-radius:9px;margin-bottom:9px;font-size:13px}.archive-project-row small{color:var(--muted)}#local-file{max-width:650px;padding:50px;margin:70px auto;background:white;border:1px solid var(--line);border-radius:18px}#local-file p{font-size:15px;line-height:1.8}
@media(min-width:1600px){main{padding-top:48px}.content-grid{grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:1200px){.app-shell{grid-template-columns:210px 1fr}.sidebar{padding:25px 13px}.topbar{padding:0 28px}main{padding:30px 28px 40px}.content-grid{grid-template-columns:minmax(0,1fr) 220px;gap:20px}.stat{padding:0 15px}.stat-note{display:block;margin:5px 0 0}.workspace>footer{padding:0 28px 25px}.search{width:220px}}
@media(max-width:1000px){.content-grid{grid-template-columns:1fr}.right-rail{display:grid;grid-template-columns:1fr 1fr;gap:20px}.right-rail>.mini-card{margin-bottom:0}.brand small{font-size:10px}.topbar{height:65px}.stats{padding:17px 0}.stat{padding:0 13px}.page-heading{align-items:flex-start}h1{font-size:31px}.search{max-width:55%}.breadcrumb{font-size:11px}.breadcrumb>span{margin-left:6px}.sidebar{gap:19px}}
@media(max-width:740px){.app-shell{display:block}.sidebar{position:relative;height:auto;padding:17px 18px 10px;border-right:0;border-bottom:1px solid var(--line);gap:13px}.brand{font-size:16px}.brand-mark{height:34px;width:33px;font-size:26px}.brand small{display:none}.capture-button{position:absolute;top:17px;right:18px;font-size:11px;padding:6px 12px;min-height:35px}.capture-button kbd{display:none}.capture-button>span{font-size:17px}nav{flex-direction:row;overflow-x:auto;gap:3px}.nav-item{white-space:nowrap;width:auto;font-size:11px;min-height:36px;padding:7px 10px;gap:6px}.nav-icon{font-size:15px;width:15px}.nav-count{font-size:9px}.sidebar-projects{display:none}.sidebar-bottom{border:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}.sidebar-bottom .nav-item{padding:4px 8px;font-size:10px;min-height:28px}.backup-indicator{margin:6px 0 6px auto;font-size:9px;align-items:center}.backup-indicator .dot{margin-top:0}.topbar{padding:0 20px;height:57px;gap:12px}.breadcrumb{font-size:10px}.search{max-width:60%;font-size:20px}.search input{font-size:11px}.search kbd,.avatar{display:none}main{padding:26px 20px 35px}.page-heading{gap:12px;margin-bottom:22px}.page-heading>.secondary{font-size:10px;padding:8px 10px;min-height:36px;white-space:nowrap}.page-description{font-size:12px;margin-top:9px}h1{font-size:31px}.eyebrow{font-size:9px;letter-spacing:1px}.stats{grid-template-columns:repeat(2,1fr);padding:0;margin-bottom:20px}.stat{padding:16px 20px}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.stat-label{font-size:10px;margin-bottom:8px}.stat-value{font-size:26px}.stat-note{display:inline;margin-left:6px;font-size:9px}.quick-capture{padding:4px 7px 4px 10px;gap:5px}.quick-capture input{font-size:11px}.quick-capture button{font-size:10px;padding:0 8px}.quick-capture button span{display:none}.filterbar{align-items:flex-start;flex-wrap:wrap;gap:8px}.segmented{gap:2px}.segmented button{font-size:10px;padding:5px 10px}.sort-label{margin-left:auto}.sort-label select{font-size:10px}.action-row{padding:16px 13px;gap:10px}.action-name{font-size:12px}.action-meta{font-size:9px;gap:6px}.right-rail{grid-template-columns:1fr}.right-rail>.mini-card{display:none}.empty-state{padding:38px 20px}.empty-state h2{font-size:25px}.empty-state p{font-size:12px}.workspace>footer{padding:0 20px 24px;font-size:9px;line-height:1.6}.dialog-header{padding:21px}.dialog-body{padding:21px}.dialog-footer{padding:16px 21px;gap:8px}.dialog-footer button{font-size:11px;padding-left:11px;padding-right:11px}.dialog-footer .text-button{font-size:10px;padding:0}.two-col{gap:12px}.project-grid{grid-template-columns:1fr}.editor-dialog{max-height:94vh}.editor-dialog form{max-height:94vh}.project-summary{flex-direction:column}.project-summary .secondary{align-self:flex-end}}
@media(prefers-reduced-motion:no-preference){button{transition:background .12s,color .12s}dialog[open]{animation:appear .15s ease-out}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}
/* Project groups and the single next-action view. */
.sidebar-groups{border:0;padding:0}.sidebar-groups>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;min-height:44px;font-size:11px;font-weight:650;color:#53634e;border-radius:8px}.sidebar-groups>summary::-webkit-details-marker{display:none}.sidebar-groups>summary:hover{background:#e5eadd}.sidebar-groups>summary>span{font-size:17px;transform:rotate(-90deg)}.sidebar-groups[open]>summary>span{transform:none}.group-add{font-size:11px;color:var(--green);padding:8px 12px;text-align:left}.sidebar-empty{font-size:11px;line-height:1.7;color:var(--muted);padding:0 12px}.breadcrumb{display:flex;flex-direction:row;align-items:center;gap:8px;min-width:0;max-width:65%;white-space:normal;line-height:1.5}.breadcrumb button{font-size:12px;padding:0;text-align:left;min-height:28px;overflow-wrap:anywhere}.breadcrumb>span{margin:0}.breadcrumb>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breadcrumb-divider{color:#9aa295}.page-tools{display:flex;gap:9px;flex:none}.group-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px;margin-bottom:30px}.group-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:14px;padding:25px;display:flex;flex-direction:column;min-height:245px;transition:box-shadow .12s,border-color .12s}.group-card:has(h2 button:hover){border-color:#a6b89c;box-shadow:0 5px 18px #263c3608}.group-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px;margin-bottom:22px}.group-symbol{display:grid;place-items:center;font-size:24px;width:43px;height:43px;background:#edf2e6;border-radius:11px;color:#5c7750}.group-card h2{font:500 26px/1.2 Georgia,serif;letter-spacing:-.4px;margin-bottom:12px;overflow-wrap:anywhere}.group-card h2 button{font:inherit;text-align:left;padding:0;min-height:0;display:flex;gap:15px;align-items:center}.group-card h2 button::after{content:'';position:absolute;inset:0;border-radius:14px}.group-card h2 button span{font:16px -apple-system,sans-serif;color:#7b8c71}.group-card>p{color:var(--muted);font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:20px}.group-card-footer{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted)}.group-card-footer button{position:relative;z-index:1}.group-toolbar{display:flex;align-items:center;justify-content:space-between;margin:-9px 0 20px;color:var(--muted);font-size:12px}.project-grid{margin-bottom:30px}.project-next-preview{width:100%;background:#f6f8f2;border-radius:8px;padding:12px 13px;margin-bottom:15px}.project-next-preview>span{font-size:9px;font-weight:650;letter-spacing:.7px;text-transform:uppercase;color:#6f8065}.project-next-preview p{font-size:12px;margin:6px 0 0;color:#41583a}.next-board{max-width:1040px}.next-group{margin-bottom:34px}.next-group-heading{display:flex;align-items:center;gap:14px;margin-bottom:14px}.next-group-heading h2{font:500 25px Georgia,serif;letter-spacing:-.4px;margin:0}.next-group-heading button{font:inherit;min-height:32px;padding:0;text-align:left;overflow-wrap:anywhere}.next-group-heading>span{font-size:10px;border-radius:20px;padding:5px 9px;background:#e9eee2;color:#6b795f;white-space:nowrap}.next-project-list{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff}.next-project+.next-project{border-top:1px solid var(--line)}.next-project>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 20px 9px}.next-project h3{margin:0;font-size:12px;min-width:0}.next-project h3 button{padding:0;text-align:left;min-height:30px;font-size:13px;font-weight:650;overflow-wrap:anywhere}.next-project>header>.text-button{font-size:10px;white-space:nowrap;min-height:30px}.next-project .action-row{padding-top:7px;padding-bottom:22px}.next-choice{font-size:10px;white-space:nowrap;color:#657b5a;border:1px solid #dce6d3;border-radius:6px;padding:5px 9px;min-height:30px;flex:none}.next-choice.chosen{background:#e9f1e2;border-color:#d3e2c7;font-weight:600;color:#426337}.chosen-action{margin-bottom:27px}.field-help{font-size:11px;line-height:1.7;color:var(--muted);margin:-13px 0 21px}.action-row.is-next:not(.done){background:#fcfdf9}.section-heading:not(:first-child){margin-top:24px}
@media(max-width:740px){.sidebar-projects{display:block;overflow:visible;flex:none}.sidebar-groups>summary{padding:4px 8px;min-height:36px;font-size:11px}.sidebar-groups[open] #group-links{display:flex;flex-wrap:wrap;gap:5px}.sidebar-groups .project-nav{width:auto;max-width:100%;min-height:36px;border-radius:6px;padding:5px 10px;background:#e6eddf}.group-add{min-height:36px}.breadcrumb{max-width:52%;gap:5px}.breadcrumb button{font-size:10px}.page-tools>button{font-size:11px;padding:9px 12px}.group-grid{grid-template-columns:1fr;gap:15px}.group-card{padding:22px;min-height:220px}.next-group-heading h2{font-size:23px}.next-project>header{padding:13px 13px 7px;align-items:flex-start;gap:8px}.next-project>header>.text-button{font-size:9px}.next-project h3 button{font-size:12px}.next-project .action-row{padding-bottom:18px}.next-choice{font-size:9px;padding:5px 7px;white-space:normal;max-width:70px}.action-meta{font-size:10px}.action-name{font-size:13px}.group-toolbar{margin-top:0}.page-heading{align-items:center}.project-grid{grid-template-columns:minmax(0,1fr)}.two-col{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}

/* Fast capture stays compact and uses the same focus and button language. */
.capture-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 14px;color:var(--muted)}
.inbox-list{border:1px solid var(--line,#deded8);border-radius:12px;overflow:hidden}
.inbox-row{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;text-align:left;background:var(--surface,#fff);border:0;border-bottom:1px solid var(--line,#deded8);padding:14px 18px;color:var(--ink,#293329)}
.inbox-row:last-child{border-bottom:0}.inbox-row:hover{background:#f5f5ef}.inbox-row span:last-child{font-size:12px;color:#596657;white-space:nowrap}
#action-placement{margin-bottom:18px}#batch-preview li{padding:4px 0}#date-shortcut-result{min-height:1.4em}

.action-drawer .dialog-body>details{border-top:1px solid var(--line);padding:12px 0;margin:0}
.action-drawer .dialog-body>details>summary{font-size:14px;font-weight:600;cursor:pointer;padding:4px 0}
.action-drawer .dialog-body>details .details-body{padding-top:14px}
.action-drawer .dialog-body>details .dependency-fieldset{margin:0;border:0;padding:0}
.action-drawer #dependency-summary{font-size:12px;font-weight:400;color:var(--muted)}
#action-estimate{margin-top:16px}#project-classification{margin-bottom:18px}

.review-list{display:grid;gap:14px;margin-bottom:24px}.review-card{background:white;border:1px solid var(--line);border-left:4px solid var(--group-colour);border-radius:12px;padding:16px 20px}.review-card-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.review-card h2{font-size:19px;margin:4px 0 12px}.review-card h2 button{text-align:left;padding:0}.review-reasons{display:flex;gap:8px;flex-wrap:wrap}.review-reason{font-size:12px;background:#f0f3ed;border-radius:5px;padding:5px 8px}.review-reason.deadline{background:#fff1d3;color:#715118}.review-reason.followup{background:#eef1f8;color:#40536c}.review-availability{font-size:13px;color:var(--muted);margin:12px 0}.review-tools{display:flex;gap:20px;border-top:1px solid var(--line);padding-top:6px}.review-followups{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:8px}.review-followups button{text-align:left;min-height:36px}

.capacity-summary{display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;align-items:center;background:#edf2e8;border:1px solid var(--line);border-radius:12px;padding:16px 20px;margin-bottom:20px}.capacity-summary strong{font-size:20px}.capacity-summary span{font-size:13px}.capacity-summary .capacity-warning{display:block;color:#8a422c;margin-top:6px}.capacity-summary p{width:100%;font-size:12px;color:var(--muted);margin:0;line-height:1.6}.today-add{display:flex;gap:10px;align-items:center;margin-bottom:18px;font-size:13px}.today-add select{flex:1;min-width:0}.today-list{border:1px solid var(--line);border-radius:12px;overflow:hidden}.today-row{background:white;padding:12px 16px;display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line);flex-wrap:wrap}.today-row:last-child{border:0}.today-row.unavailable{background:#f0f0ed}.today-action{flex:1;min-width:220px}.today-action p{font-size:12px;color:var(--muted);margin:5px 0 0}.today-tools{display:flex;align-items:center;gap:5px}.today-tools input{font-size:12px;max-width:140px}.today-tools .icon-button{min-width:30px}.plan-today-button{font-size:11px;border:1px solid var(--line);padding:4px 8px;border-radius:6px;min-height:32px;white-space:nowrap}.plan-today-button.selected{background:#e4eedd}.carry-over{margin-top:22px}.carry-over summary{cursor:pointer;font-weight:600}.carry-over p{font-size:12px;margin-top:12px;color:var(--muted)}.carry-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);font-size:13px}.carry-row>button:first-child{flex:1;text-align:left}.working-days{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 20px;border:1px solid var(--line);border-radius:8px;padding:12px}.working-days label{display:flex;align-items:center;font-size:13px;gap:4px}.working-days input{min-height:0}
@media(max-width:740px){.today-add{flex-wrap:wrap}.today-add label{width:100%}.today-tools{flex-wrap:wrap}.capacity-summary strong{font-size:18px}}

.calendar-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:20px}.calendar-toolbar>span{font-size:12px;color:var(--muted);margin-right:auto}.calendar-toolbar input,.calendar-toolbar select{font-size:13px}.calendar-grid{display:grid;gap:8px;overflow-x:auto;padding-bottom:10px}.calendar-grid.week{grid-template-columns:repeat(7,minmax(145px,1fr))}.calendar-grid.day{grid-template-columns:minmax(260px,680px)}.calendar-day{border:1px solid var(--line);border-radius:10px;background:white;min-height:240px;padding:12px 8px}.calendar-day.is-today{border-top:3px solid var(--green);padding-top:10px}.calendar-day header h2{font-size:14px;margin:0 0 6px}.calendar-day header p{font-size:11px;color:var(--muted);line-height:1.5}.calendar-session{display:flex;flex-direction:column;gap:5px;width:100%;padding:10px;text-align:left;margin:8px 0;background:#eaf0e4;border-radius:7px;border-left:3px solid var(--group-colour);font-size:12px}.calendar-session strong{font-size:12px}.calendar-session small{font-size:11px;line-height:1.5}.calendar-session.unavailable{background:#eeece8;border-left-color:#87857f}.calendar-session:hover{box-shadow:0 0 0 2px #71856f}.calendar-warning{color:#8a422c;font-size:12px;line-height:1.6}.calendar-empty{font-size:12px;color:var(--muted);padding:12px 0}.calendar-note{margin-top:14px}#session-preview{font-size:13px;line-height:1.6;margin-top:16px}#session-folds{margin-bottom:18px}

/* Keep groups and backup controls reachable as navigation grows. */
.sidebar{gap:16px;padding:22px 18px 18px;overflow-y:auto}.sidebar .nav-item{min-height:38px;padding:8px 10px}.sidebar nav{gap:3px}.sidebar-projects{flex:1 0 70px;min-height:70px}.sidebar-bottom{padding-top:8px}.backup-indicator{margin:10px 10px 0}

#reminders-dialog{width:min(720px,94vw)}.reminder-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--border,#dbe3dd)}.reminder-row p{font-size:13px;margin:4px 0;color:#52645d}.reminder-row>div:last-child{display:flex;gap:8px;flex-shrink:0}#repeat-controls{border:0;padding:0;margin:0}.reminder-row .action-name{text-align:left}@media(max-width:740px){.reminder-row{align-items:flex-start;flex-direction:column}.topbar{flex-wrap:wrap}}

.outcome-summary{border:1px solid #dbe3dd;padding:12px 16px;border-radius:10px;margin:12px 0}.outcome-summary p{white-space:pre-wrap;line-height:1.5}.outcome-summary summary{font-weight:600;cursor:pointer}
/* Shared reading, focus and card spacing. */
:root{--muted:#56655d;--faint:#59685f}
input::placeholder,textarea::placeholder{color:#637168}
button:disabled{cursor:not-allowed}main[aria-busy="true"] button:disabled{cursor:wait}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #235c91;outline-offset:3px}
.group-grid,.project-grid{gap:14px}.group-card,.project-card{padding:18px;min-height:0;border-radius:12px}.group-card-top{margin-bottom:12px;font-size:12px}.group-card h2{font-size:24px;margin-bottom:8px}.group-card>p{font-size:13px;line-height:1.5;margin-bottom:12px}.group-card-footer{font-size:12px}.group-card .group-symbol{width:34px;height:34px;font-size:20px}.project-card .area-label{font-size:11px;margin-bottom:10px;text-transform:none;letter-spacing:0}.project-card h3{font-size:23px;margin-bottom:8px}.project-card p{font-size:13px;line-height:1.5}.project-card>p:not(.area-label){display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.project-next-preview{margin-top:4px}.project-next-preview p{margin:4px 0 8px}.project-footer{gap:12px;flex-wrap:wrap;font-size:12px}.project-card .progress-track{padding-top:8px}.group-card h2 button:focus-visible::after{outline:3px solid #235c91;outline-offset:2px}
.field-help,.dependency-help,.subtle-note{font-size:13px;line-height:1.5;color:var(--muted)}.backup-indicator{font-size:11px}.search input{font-size:13px}.topbar{height:auto;min-height:58px;gap:16px;padding-top:8px;padding-bottom:8px}.breadcrumb{white-space:normal;min-width:0;overflow-wrap:anywhere}.breadcrumb button{white-space:normal;text-align:left}.next-compact-meta{font-size:12px}.next-compact-top h2{min-width:0}.compact-action-name{overflow-wrap:anywhere}.next-compact-controls{flex-wrap:wrap}.calendar-session{overflow-wrap:anywhere}.calendar-grid:focus-visible{outline:3px solid #235c91;outline-offset:3px}.calendar-day header p,.calendar-session small{font-size:12px}.review-tools{flex-wrap:wrap;gap:12px}.review-card h2{margin-bottom:8px}.review-card{padding:14px 16px}.review-availability{margin:9px 0}.today-tools{flex-wrap:wrap}.today-action{min-width:0}.reminder-row>div:first-child{min-width:0}.reminder-row .action-name{overflow-wrap:anywhere}#reminders-dialog .dialog-body>details{margin:12px 0}#reminders-dialog summary{cursor:pointer;font-size:14px;font-weight:600;padding:6px 0}.deferred-work{margin-top:18px;border-top:1px solid var(--line);padding-top:12px;font-size:13px}.deferred-work summary{cursor:pointer;font-weight:600}.deferred-work p{margin:10px 0;color:var(--muted)}.deferred-work button{display:block;text-align:left;min-height:36px}
@media(max-width:1000px){main{padding-left:22px;padding-right:22px}.topbar{padding-left:22px;padding-right:22px}.group-grid,.project-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}.next-compact-top{flex-wrap:wrap}.next-compact-controls{margin-left:0}}
@media(max-width:740px){.sidebar{padding:14px 16px;gap:10px;overflow:visible}.sidebar-projects{min-height:0;flex:none}.sidebar nav{overflow-x:auto;flex-wrap:nowrap}.sidebar .nav-item{font-size:13px;flex:none}.sidebar-bottom .nav-item{font-size:12px}.backup-indicator{font-size:11px}.topbar{gap:8px;padding:8px 16px}.topbar .breadcrumb{width:100%;font-size:12px}.search{max-width:none;flex:1;margin-left:0}.search input{font-size:14px}.group-card,.project-card{padding:16px;min-height:0}.today-add button{min-height:38px}.today-tools input{max-width:150px}.page-heading{align-items:flex-start;flex-wrap:wrap}.page-tools{flex-wrap:wrap}.calendar-toolbar{gap:7px}main{padding-left:16px;padding-right:16px}.project-completion{width:100px;padding-left:10px}.project-page .project-overview{gap:10px}.next-actions-page .next-dropdown-controls{gap:8px}.compact-next .next-compact-controls{width:100%;justify-content:flex-start}.quick-capture button{font-size:12px}.quick-capture input{font-size:13px}.reminder-row>div:last-child{flex-wrap:wrap;flex-shrink:1}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

#mobile-menu{display:none}@media(max-width:740px){.sidebar .brand{padding-right:128px}.sidebar #mobile-menu{display:inline-flex;margin-left:auto;font-size:13px;min-height:34px;align-items:center;padding:5px 10px}.sidebar:not(.menu-open) #navigation,.sidebar:not(.menu-open) .sidebar-projects,.sidebar:not(.menu-open) .sidebar-bottom{display:none}.sidebar .capture-button{top:14px;right:16px}}

#calendar-files-dialog{width:min(760px,94vw)}#calendar-files-dialog details{padding:12px 0;border-bottom:1px solid var(--line)}#calendar-files-dialog summary{font-size:15px;font-weight:600;cursor:pointer}#calendar-files-dialog .details-body{padding-top:14px}#calendar-import-result,#calendar-source-list,#imported-meeting-content{font-size:13px;line-height:1.5;overflow-wrap:anywhere}#calendar-import-result{margin:14px 0}#calendar-export-choices{max-height:300px;overflow:auto;margin:12px 0}#imported-meeting-dialog{width:min(650px,94vw)}
