/* A quest reads as one page: introduction, ranked rows, then details in place. */
.chief-shell .main-footer{justify-content:flex-end}
.main-footer .save-indicator.review-accessible-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.workspace-save-status{display:grid;place-items:center;width:22px;height:20px;color:#968ca2;flex-shrink:0}
.workspace-save-status svg{width:20px;height:20px}
.workspace-save-status.is-saving{color:var(--accent);animation:save-pulse 1s ease-in-out infinite alternate}
.workspace-save-status.is-error{color:#b34343}
.workspace-save-status.is-unsaved{color:#ad7c22}
@keyframes save-pulse{to{opacity:.35}}
.chief-shell .quest-page .compact-quest>.group-heading{display:grid;grid-template-columns:minmax(0,1fr) 72px 42px;column-gap:12px;align-items:center}
.quest-list-tools{display:flex;align-items:center;gap:9px;min-width:0}
.quest-list-collapse{width:18px;height:24px;padding:0;font-size:17px;color:#8e819e;flex-shrink:0}
.quest-list-tools .quest-tasks-heading{margin:0;font-size:13px;font-weight:550}
.importance-column-label{text-align:center;font-size:10px;color:#70657d;white-space:nowrap}
.quest-sort{position:relative;display:flex;align-items:center}
.quest-sort-toggle{display:grid;place-items:center;width:24px;height:24px;padding:3px;color:#796c88}
.quest-sort-toggle svg{width:17px;height:17px}
.quest-sort-toggle:hover,.quest-sort-toggle[aria-expanded=true]{background:#f0eaf8;color:var(--accent)}
.quest-sort-menu{position:absolute;z-index:15;top:29px;left:0;width:155px;padding:5px;background:#fff;border:1px solid #e2dbea;border-radius:5px;box-shadow:0 7px 20px #200b4b16}
.quest-sort-menu button{display:flex;justify-content:space-between;gap:12px;width:100%;padding:7px 9px;font-size:12px;text-align:left;color:var(--ink)}
.quest-sort-menu button:hover,.quest-sort-menu button[aria-checked=true]{background:#f4effc;color:var(--accent)}
.task-importance{grid-column:4;display:flex;align-items:center;justify-content:center}
.importance-badge{display:inline-grid;place-items:center;min-width:30px;height:21px;padding:1px 7px;font-size:11px;line-height:1;font-weight:550;border-radius:6px}
.importance-high{background:#ffdee5;color:#ad2443}
.importance-middle{background:#ffedbd;color:#835500}
.importance-low{background:#eeebf2;color:#6e637c}
.importance-empty{color:#b5aabe;font-size:11px}
.quest-page .quest-task-row .task-title-edit{grid-column:2;padding:1px 0;border:0;background:none;color:var(--ink);font-size:14px;line-height:1.45;text-align:left;cursor:text}
.quest-page .quest-task-row .task-title-edit:hover{color:var(--accent)}
.quest-page .quest-task-row:not([data-chat-sort]) .task-open{cursor:text}
.quest-page .quest-task-row .task-expander{width:42px}
.quest-page .quest-task-row.is-expanded .task-importance{align-self:start;margin-top:2px}
.quest-page .new-task-heading{gap:12px}
.quest-page .new-task-marker{width:18px;min-width:18px}
@media(max-width:760px){
 .chief-shell .quest-page .compact-quest>.group-heading{grid-template-columns:minmax(0,1fr) 44px 36px;column-gap:9px}
 .quest-list-tools{gap:5px}
 .quest-list-tools .quest-tasks-heading{font-size:12px;white-space:nowrap}
 .quest-list-collapse{width:15px}
 .quest-sort-toggle{width:22px}
 .importance-column-label{font-size:9px}
 .importance-badge{min-width:27px;height:20px;font-size:10px;padding:1px 6px}
 .quest-page .quest-task-row .task-title-edit{font-size:13px;line-height:1.45}
 .quest-page .quest-task-row .task-expander{width:36px}
 .quest-page .task-importance{grid-column:4;grid-row:1;margin-top:2px}
 .quest-page .new-task-marker{width:15px;min-width:15px}
 .quest-page .new-task-heading{gap:9px}
}
.chief-shell .quest-page{--task-inset:30px;--task-detail:#faf9fc}
.chief-shell .quest-page .page-heading{height:auto;min-height:86px;padding:17px 28px 6px;border:0;align-items:center;gap:20px}
.quest-page .heading-name{align-items:center;gap:12px}
.quest-heading-copy{min-width:0}
.quest-page .quest-parent{display:block;padding:0;margin-bottom:7px;color:var(--muted);font-size:12px;font-weight:400;text-align:left}
.quest-page .quest-parent:hover{color:var(--accent);text-decoration:underline}
.chief-shell .quest-page .page-heading h1{font-size:29px;font-weight:600;line-height:1.15;letter-spacing:-.6px;overflow-wrap:anywhere}
.chief-shell .quest-page .quest-add-task{padding:7px 12px;white-space:nowrap;font-size:12px;min-height:33px}
.chief-shell .quest-page .page-content{padding:0 28px 28px}
.quest-page .compact-quest{margin:0;border:0}
.quest-page .quest-brief{position:relative;padding-right:0;margin:0 0 14px}
.chief-shell .quest-page .quest-synopsis{display:block;width:100%;min-height:25px;padding:2px 0;margin:0;border:0;border-radius:0;background:transparent;color:#6c6578;font-size:14px;line-height:1.5;resize:none;overflow:hidden;box-shadow:none}
.quest-page .quest-synopsis:hover{color:var(--ink)}
.quest-page .quest-synopsis:focus-visible{outline:0;box-shadow:0 1px 0 var(--accent);color:var(--ink)}
.quest-page .quest-description-actions{padding-top:10px;display:flex;gap:14px;align-items:center}
.quest-page .quest-description-actions[hidden]{display:none}
.quest-page .quest-description-actions .primary{min-height:28px;padding:5px 10px;font-size:11px}
.chief-shell .quest-page .compact-quest>.group-heading{padding:6px 0 9px;margin:0;gap:12px;align-items:center;min-height:31px}
.quest-page .quest-tasks-heading{font-size:13px;font-weight:550;line-height:1.4}
.quest-task-count{display:inline-block;margin-left:5px;font-size:11px;font-weight:400;color:var(--muted)}
.quest-page .group-rows{border:0;border-top:1px solid var(--line);border-radius:0}
.chief-shell .quest-page .compact-quest .quest-task-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto 72px 42px;column-gap:12px;align-items:center;padding:8px 0;min-height:43px;border:0;border-bottom:1px solid var(--line);background:#fff;box-shadow:none;border-radius:0}
.quest-page .quest-task-row .priority-rank{grid-column:1;text-align:left;padding-left:2px;font-size:10px;color:#9b92a8;line-height:1.4;width:auto}
.quest-page .quest-task-row .check{grid-column:1;width:15px;height:15px;margin:0;border:1px solid #bcb4c8;background:#fff;color:var(--accent);border-radius:3px}
.quest-page .quest-task-row.finished .check{background:var(--accent);color:#fff;border-color:var(--accent)}
.chief-shell .quest-page .quest-task-row .task-open,.chief-shell .quest-page .quest-task-row .task-title-input{grid-column:2;padding:1px 0;border:0;background:transparent;border-radius:0;box-shadow:none;color:var(--ink);font-size:14px;font-weight:400;line-height:1.45;min-height:23px;width:100%;resize:none;text-align:left}
.quest-page .quest-task-row .task-open{cursor:grab}
.quest-page .quest-task-row .task-title{display:block;white-space:normal;overflow:visible;text-overflow:clip;line-height:inherit}
.quest-page .quest-task-row .task-title-input:focus-visible{outline:0;box-shadow:0 1px 0 var(--accent)}
.quest-page .quest-task-row.finished .task-open{cursor:pointer;color:#8b8394}
.quest-page .task-row-meta{grid-column:3;display:flex;align-items:center;justify-content:flex-end;gap:9px;font-size:10px;white-space:nowrap;padding:0 0 0 10px}
.quest-page .task-row-meta:empty{display:none}
.quest-page .task-row-meta .follow-up-label{font-size:10px;color:#70657d;background:none;padding:0;margin:0;border:0}
.quest-page .task-row-meta .task-status-label{display:inline;font-size:10px;color:#70657d;padding:0}
.quest-page .task-row-meta .star{font-size:11px;color:#8a70b5}
.quest-page .quest-task-row .task-expander{grid-column:5;width:42px;min-height:25px;padding:1px;font-size:14px;color:#766a84;border-radius:3px;line-height:1;opacity:1}
.quest-page .quest-task-row:hover .task-expander,.quest-page .quest-task-row:focus-within .task-expander,.quest-page .quest-task-row.is-expanded .task-expander{opacity:1;color:var(--accent)}
.quest-page .quest-task-row .task-expander:hover{background:#eee8f7}
.chief-shell .quest-page .compact-quest .quest-task-row:hover{background:#fcfbfe}
.chief-shell .quest-page .compact-quest .quest-task-row.is-expanded{background:var(--task-detail);border-bottom-color:transparent}
.chief-shell .quest-page .task-expansion{position:relative;background:var(--task-detail);padding:0 20px 8px var(--task-inset);border:0;border-bottom:1px solid var(--line);border-radius:0;margin:0;box-shadow:none;color:var(--ink)}
.quest-page .task-direct-form{display:flex;flex-direction:column;align-items:stretch;gap:4px;max-width:720px;margin:0}
.chief-shell .quest-page .task-notes{display:block;padding:5px 7px;margin:0;min-height:31px;border:1px solid #e2dce9;background:#fff;border-radius:3px;font-size:13px;line-height:1.45;color:#655d70;resize:none;overflow:hidden;box-shadow:none;width:100%;cursor:text}
.quest-page .task-notes:hover{border-color:#bcb0ce}
.quest-page .task-notes::placeholder{color:#776b84}
.quest-page .task-notes:focus-visible{outline:0;border-color:var(--accent);box-shadow:0 0 0 1px #5a2dcc18;color:var(--ink)}

.quest-page .task-detail-controls{position:relative;display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:3px 17px;padding:2px 0 0;min-height:25px}
.quest-page .task-detail-actions{display:flex;align-items:center;gap:14px}
.quest-page .task-expanded-title{color:var(--ink);font-size:14px;line-height:1.45;padding:1px 0;overflow-wrap:anywhere}
.quest-page .quest-task-row.is-expanded .task-expander{width:42px;font-size:11px;color:var(--accent);opacity:1;padding:3px 0}
.chief-shell .quest-page .compact-quest .quest-task-row.is-expanded{grid-template-columns:18px minmax(0,1fr) auto 72px 42px}
.quest-page .follow-up-control{display:flex;align-items:center;gap:9px;font-size:11px;line-height:1.5;color:#8d819a}
.quest-page .follow-up-control input[type=date]{padding:3px 4px;border:0;background:transparent;border-radius:3px;color:#756a83;font-size:11px;min-height:25px;max-width:140px;min-width:0}
.quest-page .follow-up-control input[type=date]:hover{background:#eee9f5}
.quest-page .task-detail-controls .task-more{position:static;font-size:11px;margin:0;padding:0;color:#8c7a9d}
.quest-page .task-more>summary{padding:3px 0;color:#8c7a9d}
.quest-page .task-detail-controls .task-more>div{left:0;right:auto;top:100%;min-width:min(230px,100%);max-width:100%;padding:8px 10px;gap:4px}
.quest-page .task-more button{font-size:11px}
.quest-page .task-timeline{border:0;padding:12px 0 0;margin:12px 0 0;border-top:1px solid var(--line);background:none}
.quest-page .task-timeline h3{font-size:12px}
.quest-page .version-entry,.quest-page .imported-text{border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none;background:none;padding:8px 0}
.quest-page .inline-new-task{margin:0;padding:12px 32px 14px 0;border:0;border-bottom:1px solid var(--line);background:var(--task-detail);border-radius:0}
.quest-page .new-task-fields{border:0;padding:0;margin:0;min-width:0}
.quest-page .new-task-heading{display:flex;gap:12px;align-items:flex-start;padding:0}
.quest-page .new-task-marker{width:24px;min-width:24px;text-align:center;color:#b7acc5;font-size:16px}
.quest-page .new-task-heading>.priority-rank{width:18px;min-width:18px;margin:3px 0 0;font-size:10px;color:#958ba0}
.chief-shell .quest-page .new-task-title{background:none;border:0;border-radius:0;box-shadow:none;font-size:14px;line-height:1.45;padding:0;min-height:24px}
.quest-page .new-task-body{padding:7px 0 0 var(--task-inset);margin:0}
.quest-page .new-task-body>.notes-label{font-size:10px;color:#958ba0;margin-bottom:3px}
.quest-page .new-task-actions{display:flex;gap:15px;align-items:center;margin-top:10px}
.quest-page .new-task-actions .primary{min-height:29px;font-size:11px;padding:5px 12px}
.quest-page .quest-empty{font-size:13px;color:var(--muted);padding:15px 0}
/* The lifted row is outside main while dragging, so keep its grid on the ghost. */
.quest-task-row.chat-sort-ghost{display:grid;grid-template-columns:18px minmax(0,1fr) auto 72px 42px;column-gap:12px;align-items:center;padding:8px 0;font-size:14px;border-radius:4px!important;pointer-events:none}
.quest-task-row.chat-sort-ghost .task-open{font-size:14px;line-height:1.45;padding:1px 0;text-align:left;grid-column:2}
.quest-task-row.chat-sort-ghost .task-title{white-space:normal;line-height:1.45}
.quest-task-row.chat-sort-ghost .task-row-meta{display:flex;gap:9px;align-items:center;grid-column:3}
.quest-task-row.chat-sort-ghost .task-expander{grid-column:5}
.quest-task-row.chat-sort-ghost .priority-rank{font-size:10px;color:#9b92a8;grid-column:1}
.quest-page .quest-task-row>.priority-rank,.quest-page .quest-task-row>.task-expander{margin-top:0}
@media(max-width:760px){
 .chief-shell .quest-page{--task-inset:24px}
 .chief-shell .quest-page .page-heading{padding:14px 14px 7px;min-height:86px;gap:9px}
 .chief-shell .quest-page .heading-name{gap:9px}
 .chief-shell .quest-page .page-heading h1{font-size:23px;line-height:1.2}
 .quest-page .quest-parent{font-size:10px;margin-bottom:5px}
 .chief-shell .quest-page .quest-add-task{font-size:10px;padding:6px 8px;min-height:30px}
 .chief-shell .quest-page .page-content{padding:0 14px 24px}
 .quest-page .quest-brief{display:grid;grid-template-columns:minmax(0,1fr);padding:0;margin-bottom:15px}
 .chief-shell .quest-page .quest-synopsis{grid-row:1;font-size:14px;line-height:1.45}
 .quest-page .quest-description-actions{grid-row:2}
 .chief-shell .quest-page .compact-quest>.group-heading{padding:6px 0 9px;gap:9px}
 .chief-shell .quest-page .compact-quest .quest-task-row{grid-template-columns:15px minmax(0,1fr) 0 44px 36px;column-gap:9px;row-gap:3px;min-height:45px;padding:10px 0;align-items:start}
 .quest-page .quest-task-row .priority-rank{margin-top:4px;font-size:9px;padding-left:0}
 .quest-page .quest-task-row .check{margin-top:4px;width:14px;height:14px}
 .chief-shell .quest-page .quest-task-row .task-open,.chief-shell .quest-page .quest-task-row .task-title-input{font-size:13px;padding:1px 0;line-height:1.45}
 .quest-page .quest-task-row .task-title-input{font-size:16px!important}
 .quest-page .task-row-meta{grid-column:2;grid-row:2;justify-content:flex-start;gap:8px;padding:0;white-space:normal}
 .quest-page .quest-task-row .task-expander{grid-column:5;grid-row:1;min-height:25px;width:18px;opacity:1}
 .chief-shell .quest-page .task-expansion{padding:0 12px 8px var(--task-inset)}
 .quest-page .task-notes{font-size:16px!important;line-height:1.4}
 .quest-page .task-expanded-title{font-size:13px;line-height:1.45}
 .chief-shell .quest-page .compact-quest .quest-task-row.is-expanded{grid-template-columns:15px minmax(0,1fr) 0 44px 36px}
 .quest-page .quest-task-row.is-expanded .task-expander{width:36px;font-size:10px}
 .quest-page .task-detail-controls{gap:3px 8px}
 .quest-page .follow-up-control{font-size:10px;gap:5px}
 .quest-page .follow-up-control input[type=date]{font-size:11px;width:96px;max-width:96px}
 .quest-page .inline-new-task{padding-right:18px}
 .quest-page .new-task-heading{gap:9px}
 .quest-page .new-task-marker{width:18px;min-width:18px}
 .quest-page .new-task-heading>.priority-rank{width:15px;min-width:15px}
 .chief-shell .quest-page .new-task-title{font-size:16px}
 .quest-task-row.chat-sort-ghost{grid-template-columns:15px minmax(0,1fr) 0 44px 36px;column-gap:9px;row-gap:3px;align-items:start;padding:10px 0}
 .quest-task-row.chat-sort-ghost .task-open{font-size:13px;line-height:1.45}
 .quest-task-row.chat-sort-ghost .task-row-meta{grid-column:2;grid-row:2}
 .quest-task-row.chat-sort-ghost .task-expander{grid-column:5;grid-row:1}
}

/* Each quest inside a hat uses the same working canvas and task controls. */
.quest-page .hat-quest{margin:24px 0 0;border:0}
.quest-page .hat-quest-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 8px}
.quest-page .hat-quest-heading h2{margin:0;min-width:0;font-size:16px;line-height:1.35;font-weight:600}
.quest-page .hat-quest-toggle{display:flex;align-items:center;gap:8px;padding:2px 0;color:var(--ink);text-align:left;font-weight:600}
.quest-page .hat-quest-toggle>span{overflow-wrap:anywhere}
.quest-page .hat-quest-toggle svg{width:16px;height:16px;transform:rotate(0deg);color:#70657d}
.quest-page .hat-quest-toggle[aria-expanded=true] svg{transform:rotate(90deg)}
.quest-page .hat-quest-toggle small{font-size:11px;font-weight:400;color:var(--muted);margin-left:3px}
.quest-page .hat-quest-heading .group-add{color:var(--accent);white-space:nowrap;font-size:12px;padding:4px 0;flex-shrink:0}
.quest-page .hat-quest .quest-brief{margin-bottom:8px}
.quest-page .hat-quest .quest-list-tools{padding-left:0}
@media(max-width:760px){
 .quest-page .hat-quest{margin-top:22px}
 .quest-page .hat-quest-heading{gap:8px}
 .quest-page .hat-quest-heading h2{font-size:15px}
 .quest-page .hat-quest-heading .group-add{font-size:11px}
}

/* The same editing and reminder controls are used wherever a task appears. */
.reminder-time-control{display:flex;align-items:center;gap:4px;font-size:11px;color:#70657d}
.reminder-time-control[hidden]{display:none}
.reminder-time-control input{padding:3px 4px;border:0;border-radius:3px;background:transparent;color:#70657d;font-size:11px;min-height:25px;width:85px}
.reminder-time-control input:hover{background:#eee9f5}
.unsaved-prompt{z-index:100}
.unsaved-dialog{max-width:460px}
.unsaved-dialog h2{margin:0 0 12px;font-size:22px;letter-spacing:-.3px}
.unsaved-dialog p{font-size:14px;color:var(--muted)}
.unsaved-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}
.unsaved-actions .discard-edits{margin-left:auto;padding:8px 0;color:#a32b47;font-size:12px}
.unsaved-actions .primary{font-size:12px;min-height:34px;padding:8px 14px}
.reminder-default-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:13px;margin-bottom:18px}
.reminder-default-form input{border:1px solid var(--line);border-radius:4px;background:#fff;padding:5px 7px;color:var(--ink)}
.reminder-default-form p{width:100%;margin:0;color:var(--muted);font-size:12px}
.reminders-intro{font-size:12px;color:var(--muted);margin:12px 0 20px}
.chief-shell .quest-page.reminders-page .compact-quest .reminder-row,.chief-shell .quest-page.reminders-page .compact-quest .reminder-row.is-expanded{grid-template-columns:18px minmax(0,1fr) 150px 58px 42px}
.reminder-task-copy{grid-column:2;min-width:0}
.reminder-task-copy .task-title-edit,.reminder-task-copy .task-open{display:block;width:100%}
.reminder-location{display:block;margin-top:4px;color:var(--muted);font-size:11px}
.reminder-when{grid-column:3;display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;padding:4px 0;color:#70657d;text-align:left;font-size:12px}
.reminder-when:hover{color:var(--accent);text-decoration:underline}
.reminder-due{background:#ffdee5;color:#ad2443;padding:1px 5px;font-size:10px;border-radius:3px}
.reminder-due[hidden]{display:none}
.reminder-dismiss{grid-column:4;font-size:11px;color:#70657d;padding:4px 0}
.reminder-dismiss:hover{color:#a32b47}
@media(max-width:760px){
 .reminder-time-control input{width:77px}
 .chief-shell .quest-page.reminders-page .compact-quest .reminder-row,.chief-shell .quest-page.reminders-page .compact-quest .reminder-row.is-expanded{grid-template-columns:15px minmax(0,1fr) 54px 36px;column-gap:9px;row-gap:6px}
 .reminders-page .reminder-task-copy{grid-column:2/4;grid-row:1}
 .reminders-page .reminder-row .task-expander{grid-column:4;grid-row:1}
 .reminders-page .reminder-when{grid-column:2;grid-row:2;font-size:11px}
 .reminders-page .reminder-dismiss{grid-column:3;grid-row:2}
 .reminders-page .reminder-location{font-size:10px}
 .unsaved-actions{gap:10px}
 .unsaved-actions .discard-edits{margin-left:0}
}
.quest-page .task-row-meta .follow-up-label{order:1}
.chief-shell .page-content{overflow-anchor:none}
.task-closing{pointer-events:none}
.scroll-stability-space{flex-shrink:0;pointer-events:none}
@media(max-width:760px){
 .quest-page .task-row-meta .follow-up-label{order:1}
}

/* Proposed versions use the task row itself, with a quiet, consistent change marker. */
.changes-inbox{width:100%;margin:0;max-width:none}
.inbox-intro{margin:0 0 15px;padding:5px 0;color:var(--muted);font-size:12px;line-height:1.5}
.quest-page .review-task-group{margin:0 0 24px}
.review-location-heading{display:grid;grid-template-columns:minmax(0,1fr) 72px 42px;gap:12px;align-items:center;padding:6px 0 9px}
.review-location-heading h2{font-size:13px;font-weight:550;line-height:1.4;margin:0;color:#5c516d}
.inbox-row{border-bottom:1px solid var(--line)}
.chief-shell .quest-page .review-task-group .inbox-row>.quest-task-row{border-bottom:0}
.chief-shell .quest-page .review-task-group .inbox-row>.task-expansion{border-bottom:0;padding-bottom:4px}
.quest-page .review-task-group .task-title-input{cursor:text}
.quest-page .review-task-group .review-changed-title{box-shadow:0 1px 0 #bca5ec}
.quest-page .review-task-group .review-changed-note{border-color:#bca5ec}
.review-change-mark{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;border-radius:3px;font-size:10px;line-height:1.3;color:#633c9d;background:#f0eafb;order:3}
.review-change-mark>span{font-size:12px;font-weight:600;line-height:1}
.review-change-mark.is-removal{color:#a82d49;background:#fff0f3}
.review-task-actions{display:flex;align-items:center;flex-wrap:wrap;gap:5px 14px;padding:0 0 9px var(--task-inset);font-size:11px;line-height:1.4;color:#7b6e88}
.review-task-actions>.primary,.review-task-actions>.outline{min-height:27px;padding:5px 10px;font-size:11px;line-height:1.3}
.review-task-actions>.text-link{font-size:11px;color:#766881;padding:3px 0}
.review-before{font-size:11px;color:#766881}
.review-before>summary,.review-more-options>summary{cursor:pointer;padding:3px 0}
.review-before[open]{flex-basis:100%;order:5}
.review-before[open]>summary{margin-bottom:5px}
.review-version{margin:0 0 8px;padding:7px 10px;background:#f7f6fa;border-radius:3px}
.review-version-label{font-size:10px;color:#80748e;margin:0 0 2px}
.chief-shell .quest-page .review-task-group .review-version>.quest-task-row{background:transparent;border:0;padding:5px 0;min-height:35px}
.chief-shell .quest-page .review-version .task-expansion{background:transparent;border:0;padding-right:0;padding-bottom:2px}
.chief-shell .quest-page .review-snapshot-note{border:0;background:transparent;white-space:pre-wrap;overflow-wrap:anywhere;padding:3px 0;min-height:0}
.review-more-options{position:relative;font-size:11px;color:#766881}
.review-more-options>summary{list-style:none}
.review-more-options>summary::-webkit-details-marker{display:none}
.review-more-options>div{position:absolute;z-index:10;right:0;top:100%;min-width:140px;display:flex;flex-direction:column;align-items:stretch;gap:3px;padding:5px;border:1px solid var(--line);border-radius:4px;background:#fff;box-shadow:0 5px 18px #200b4b12}
.review-more-options button{text-align:left;font-size:11px;padding:6px 8px}
.review-more-options button:hover{background:#f4effc}
.review-explanation,.review-alternatives{margin:4px 0 7px var(--task-inset);font-size:12px;color:#766881;line-height:1.5}
.review-alternatives summary{cursor:pointer;font-size:11px}
.review-alternatives>div{padding:5px 0}
.review-question{display:flex;align-items:center;gap:16px;border-top:1px solid var(--line);padding:12px 0;font-size:13px}
.review-question p{margin:0}
.review-question button{font-size:11px;flex-shrink:0}
.review-task-group .inline-problem{margin-left:var(--task-inset)}
@media(max-width:760px){
 .review-location-heading{grid-template-columns:minmax(0,1fr) 44px 36px;gap:9px}
 .review-location-heading h2{font-size:12px}
 .review-task-actions{gap:5px 10px}
 .review-task-actions>.primary,.review-task-actions>.outline{font-size:10px;padding:5px 8px}
 .quest-page .review-task-group .quest-task-row .task-title-input{font-size:13px!important}
 .quest-page .review-task-group .quest-task-row .task-title-input:focus{font-size:16px!important}
 .review-version{padding:5px 6px}
 .review-change-mark{font-size:9px}
 .review-draft-hint{flex-basis:100%;font-size:11px}
 .review-question{align-items:flex-start;flex-direction:column;gap:6px}
}

.quest-page .review-version .task-title{overflow-wrap:anywhere}

/* Shared draft rows have three columns, including when hosted on the Changes page.
   Notebook rows above have five; their title/meta placement must not leak into this view. */
.chief-shell .quest-page .grouped-work-plan .quest-task-row{grid-template-columns:minmax(0,1fr) auto 62px;align-items:center}
.chief-shell .quest-page .grouped-work-plan .quest-task-row>.task-title-input{grid-column:1;grid-row:1;min-width:0;width:100%;margin:0;padding:3px 5px;border:1px solid transparent;border-radius:3px;min-height:26px;font-size:13px;line-height:1.45;text-align:left}
.chief-shell .quest-page .grouped-work-plan .quest-task-row>.task-row-meta{grid-column:2;grid-row:1;min-width:0;padding:0;margin:0;justify-content:flex-end;align-self:center;white-space:nowrap}
.chief-shell .quest-page .grouped-work-plan .quest-task-row>.task-importance{grid-column:3;grid-row:1;min-width:0;margin:0;align-self:center}
.chief-shell .quest-page .grouped-work-plan .quest-task-row>.task-title-input:hover{border-color:#e2daf2}
.chief-shell .quest-page .grouped-work-plan .quest-task-row>.task-title-input:focus{border-color:var(--accent);background:#fff;outline:none}
@media(max-width:760px){.chief-shell .quest-page .grouped-work-plan .quest-task-row{grid-template-columns:minmax(0,1fr) auto 35px}}

/* A quiet heading band marks each quest without enclosing the task list. */
.chief-shell .quest-page .hat-quest-heading{
 background:#f3f0fb;
 border-top:1px solid #ded6ed;
 padding:5px 8px;
}

/* Finished work stays near its quest, with one quiet disclosure instead of cards. */
.quest-completed{margin-top:8px}
.quest-completed>summary{font-size:12px;color:#685c76;cursor:pointer;padding:5px 0;width:fit-content}
.quest-completed[open]>summary{margin-bottom:4px}
.completed-rows .task-row.finished .task-title,.progress-page .task-row.finished .task-title{color:#6b6177}
.completion-date{font-size:11px;line-height:1.35;color:#6b6177;white-space:nowrap}
.completion-day-group{margin:12px 0 20px}
.completion-day-heading{font-size:12px;color:#6b6177;font-weight:500;margin:12px 0 8px}
.archive-page .completion-day-group .hat-quest-heading{background:transparent;border-top:0}
.notebook-tabs{margin:0 0 16px}
.progress-summary{display:flex;justify-content:space-between;align-items:center;gap:15px}
.progress-summary h2{font-size:20px;letter-spacing:-.3px;margin:6px 0}
.progress-summary p,.progress-total{font-size:12px;color:#6b6177;margin:5px 0}
.progress-summary label{font-size:12px;color:#6b6177;display:flex;align-items:center;gap:8px}
.progress-summary select{font:inherit;max-width:200px;padding:7px;border:1px solid #ded6ed;border-radius:4px;background:white;color:var(--ink)}
.progress-bars{display:grid;grid-template-columns:repeat(28,minmax(0,1fr));gap:4px;height:155px;margin:18px 0 2px;align-items:stretch}
.progress-day{padding:0;min-width:0;border:0;background:transparent;display:flex;flex-direction:column;gap:7px;align-items:stretch;border-radius:3px}
.progress-bar-track{height:125px;background:#f4f0fb;display:flex;align-items:flex-end;border-radius:3px;overflow:hidden}
.progress-bar-track>span{width:100%;background:#7750d6;border-radius:3px;min-height:0}
.progress-day.selected .progress-bar-track{outline:2px solid #592ccb;outline-offset:1px}
.progress-day.selected .progress-bar-track>span{background:#592ccb}
.progress-day small{font-size:10px;height:14px;color:#6b6177}
.progress-day-tasks{margin-top:22px}
.progress-day-tasks h2{font-size:15px;margin-bottom:10px;display:flex;gap:8px;align-items:center}
.progress-day-tasks h2 small{font-size:12px;color:#6b6177;font-weight:400}
.progress-task-location{font-size:11px;color:#6b6177;margin:12px 0 4px}
.progress-legend{display:flex;flex-wrap:wrap;gap:18px;margin-top:17px;font-size:12px;color:var(--ink)}
.progress-legend>span{display:flex;align-items:center;gap:6px}.progress-legend i{width:9px;height:9px;border-radius:2px;background:#7750d6}.progress-legend .progress-updated-key{background:#27836f}
.progress-bar-pair{display:flex;gap:2px;height:125px}.progress-bar-pair>.progress-bar-track{flex:1;min-width:0}
.progress-update-track{background:#eef6f3}.progress-update-track>span,.progress-day.selected .progress-update-track>span{background:#27836f}
.progress-day.selected .progress-bar-track{outline:0}.progress-day.selected .progress-bar-pair{outline:2px solid #592ccb;outline-offset:2px;border-radius:3px}
.progress-item-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:15px 0 5px}.progress-item-heading .progress-task-location{margin:0}.progress-work-kind{font-size:11px;color:#63566f}
.progress-update-notes{list-style:none;padding:0 0 0 30px;margin:6px 0 16px;color:var(--ink);font-size:12px}.progress-update-notes li{margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:760px){.progress-summary{align-items:flex-start;flex-direction:column;gap:8px}.progress-summary h2{font-size:18px}.progress-bars{gap:2px}.progress-summary select{max-width:220px}.completion-date{font-size:10px}}

.archive-page .completion-day-group .compact-quest{margin-top:8px}

/* Dated actions sit beneath the background note, with no extra card or status. */
.task-updates{list-style:none;padding:0;margin:7px 0 3px;font-size:12px}
.task-updates li{display:grid;grid-template-columns:var(--task-info-label-width,95px) minmax(0,1fr);gap:var(--task-info-gap,10px);padding:3px 0;line-height:1.5}
.task-updates time{color:#6b6177;font-size:11px;white-space:nowrap}
.task-updates li>span{white-space:pre-wrap;overflow-wrap:anywhere}
.task-update-dialog{max-width:440px}
.task-update-dialog>p{font-size:13px;color:#6b6177;line-height:1.5;margin:0 0 14px}
.task-update-date{display:flex;align-items:center;gap:12px;font-size:12px;color:#6b6177;margin-bottom:10px}
.task-update-date input{width:auto;max-width:180px}
.task-update-dialog textarea{width:100%;font:inherit;font-size:14px;line-height:1.5;padding:8px;resize:vertical;min-height:65px}
@media(max-width:760px){.task-updates li{--task-info-label-width:84px;--task-info-gap:7px}.task-updates{font-size:12px}.task-updates time{font-size:10px}}

/* Context shares the date/text columns of the activity rows. Editing is explicit. */
.task-context-row{display:grid;grid-template-columns:var(--task-info-label-width,95px) minmax(0,1fr);gap:var(--task-info-gap,10px);align-items:start}
.task-context-label{font-size:11px;color:#6b6177;line-height:18px;padding:3px 0}
.task-context-content{min-width:0}
.chief-shell .task-context-text{display:block;width:100%;font:inherit;font-size:12px;line-height:18px;white-space:pre-wrap;overflow-wrap:anywhere;text-align:left;padding:3px 0;min-height:24px;border:0;border-radius:2px;background:transparent;color:var(--ink);cursor:text}
.chief-shell .task-context-text:hover{background:transparent;text-decoration:underline;text-decoration-color:#c6bbd9;text-underline-offset:3px}
.chief-shell .task-context-text:focus-visible{outline:1px solid var(--accent);outline-offset:3px}
.task-context-placeholder{color:#776b84}
.chief-shell .quest-page .task-context-row .task-notes{font-size:12px;line-height:18px;padding:3px 0;margin:0;min-height:24px;border:0;background:transparent;border-radius:2px;outline:0;box-shadow:none}
.chief-shell .quest-page .task-context-row .task-notes:focus{outline:1px solid #b8a8d2;outline-offset:3px;background:#fff}
@media(max-width:760px){.task-context-row{--task-info-label-width:84px;--task-info-gap:7px}.task-context-label{font-size:10px}.chief-shell .task-context-text{font-size:12px}.chief-shell .quest-page .task-context-row .task-notes{line-height:1.5}}

/* A clear context label, with the update action directly under the date column. */
.task-context-label,.task-context-placeholder{font-weight:600}
.task-update-action{margin:3px 0 5px;display:flex;justify-content:flex-start}
.chief-shell .task-update-action>.text-link{padding:3px 0;margin:0;text-align:left;font-size:11px;line-height:18px}

/* The task menu belongs to its title; Save & Close anchors the editing footer. */
.quest-page .task-direct-form{max-width:none}
.quest-page .quest-task-row>.task-menu{grid-column:5;grid-row:1;position:relative;justify-self:center;align-self:start;margin:0;z-index:4}
.quest-page .task-menu>summary{display:flex;justify-content:center;align-items:center;list-style:none;width:32px;min-height:26px;padding:0;color:var(--ink);font-size:24px;line-height:1;cursor:pointer;border-radius:3px}
.task-menu>summary::-webkit-details-marker{display:none}
.quest-page .task-menu>summary:hover,.quest-page .task-menu[open]>summary{background:#e8e0f4}
.quest-page .task-menu>div{position:absolute;top:100%;right:0;left:auto;min-width:205px;max-width:min(240px,75vw);background:#fff;border:1px solid var(--line);box-shadow:0 6px 20px #21113c20;border-radius:5px;padding:6px;z-index:20}
.quest-page .task-detail-actions{margin-left:auto}
.chief-shell .task-done{background:#251044;color:#fff;border:1px solid #251044;border-radius:4px;font:inherit;font-size:12px;font-weight:600;padding:6px 15px;line-height:18px;cursor:pointer}
.chief-shell .task-done:hover{background:#3a1b61;color:#fff}
.chief-shell .task-done:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.chief-shell .task-update-edit{display:inline-block;border:0;background:transparent;padding:0;margin:0;color:inherit;font:inherit;line-height:inherit;white-space:pre-wrap;overflow-wrap:anywhere;text-align:left;cursor:text;border-radius:2px;max-width:100%}
.chief-shell .task-update-edit:hover{background:#eee8f8}
.chief-shell .task-update-edit:focus-visible{outline:1px solid var(--accent);outline-offset:2px}
.task-update-dialog .delete-task-update{margin-right:auto;color:#9d2842}
@media(max-width:760px){.reminders-page .reminder-row>.task-menu{grid-column:4}.quest-page .task-menu>summary{width:26px}.quest-page .task-detail-controls .task-detail-actions{margin-left:auto}.chief-shell .task-done{padding:5px 12px}}

/* Make context visibly stronger than the dated activity beneath it. */
.chief-shell .task-context-label,.chief-shell .task-context-text,.chief-shell .task-context-placeholder,.chief-shell .task-context-row .task-notes{font-weight:700;color:var(--ink)}

/* One compact editor: context, dated activity, then reminder and Save & Close. */
.chief-shell .task-context-label{font-weight:600;color:#65596f}
.chief-shell .task-context-text,.chief-shell .task-context-placeholder,.chief-shell .task-context-row .task-notes{font-weight:400;color:var(--ink);font-size:13px;line-height:20px}
.chief-shell .task-context-placeholder{color:#776b84;font-size:12px}
.chief-shell .task-update-action>.text-link{font-size:12px}
.task-updates{margin:0 0 4px;font-size:13px}
.task-updates li{padding:4px 0;align-items:start}
.task-updates time{font-size:12px;line-height:20px}
.task-update-editor input,.task-update-editor textarea{box-sizing:border-box;min-width:0;max-width:100%;font:inherit;font-size:13px;line-height:20px;color:var(--ink);background:white;border:1px solid #c6b9dd;border-radius:3px;padding:4px 6px}
.task-update-editor input{width:100%;font-size:11px;padding:4px 0}
.task-update-writing{min-width:0}
.task-update-editor textarea{width:100%;display:block;resize:vertical;min-height:32px}
.chief-shell .task-update-writing .update-remove{font-size:11px;padding:3px 0;color:#74647f}
.chief-shell .task-reminder-summary{font:inherit;font-size:12px;line-height:20px;background:transparent;border:0;border-radius:3px;color:#63516f;padding:4px 0;cursor:pointer}
.chief-shell .task-reminder-summary:hover{color:var(--accent);text-decoration:underline}
.task-reminder-editor{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.task-reminder-editor .follow-up-control,.task-reminder-editor .reminder-time-control{margin:0}
.task-reminder-editor input{font-size:13px;min-height:30px}
.task-reminder-editor .text-link{font-size:11px}
@media(max-width:760px){.task-update-editor input{font-size:12px}.task-update-editor textarea{font-size:16px;line-height:22px}.task-context-text{line-height:20px}.task-reminder-editor{gap:4px}.task-reminder-editor input{font-size:16px}}

/* The name is editable; the adjacent arrow only controls disclosure. */
.quest-page .hat-quest-heading h2{display:flex;align-items:center;gap:8px;flex:1;min-width:0}
.quest-page .hat-quest-toggle{flex-shrink:0}
.chief-shell .quest-name-button{font:inherit;font-weight:inherit;text-align:left;padding:2px 0;border:0;background:transparent;color:var(--ink);overflow-wrap:anywhere;min-width:0}
.chief-shell .quest-name-button:hover{text-decoration:underline;text-decoration-color:#b6a8d0;text-underline-offset:3px}
.quest-name-editor{display:flex;flex-direction:column;min-width:0;max-width:100%;flex:1}
.chief-shell .quest-name-input{font:inherit;font-weight:inherit;color:var(--ink);background:transparent;padding:2px 0;border:0;border-bottom:1px solid var(--accent);border-radius:0;width:100%;min-width:0;outline:0}
.quest-name-error{font-size:12px;font-weight:400;line-height:1.4;color:#a82a3b;padding:3px 0}
.quest-collapsed-count{font-size:11px;font-weight:400;color:var(--muted)}

/* One reminder language across the notebook, editor and reminder list. */
.reminder-summary{--reminder-ink:#51339a;--reminder-fill:#eee7ff;display:inline-flex;align-items:center;gap:5px;line-height:1.45;color:var(--reminder-ink);white-space:nowrap}
.reminder-summary.reminder-due{--reminder-ink:#754400;--reminder-fill:#fff0c6;background:none;padding:0;font-size:inherit}
.reminder-summary.reminder-overdue{--reminder-ink:#a02845;--reminder-fill:#ffe1e8}
.reminder-bell{display:inline-block;flex:0 0 15px;vertical-align:middle}
.reminder-state-label{background:var(--reminder-fill);color:var(--reminder-ink);padding:1px 5px;border-radius:4px;font-size:10px;font-weight:600}
.chief-shell .task-reminder-summary{display:inline-flex;align-items:center;gap:5px}
.quest-page .task-row-meta .follow-up-label{display:inline-flex;align-items:center}
.reminder-group-heading{display:flex;align-items:center;gap:8px;font-size:14px;margin:0;padding:8px 0;border-bottom:1px solid var(--line);color:var(--ink)}
.reminder-group-heading:before{content:'';width:7px;height:7px;border-radius:50%;background:#6842b1}
.reminder-group-overdue:before{background:#a02845}.reminder-group-today:before{background:#885000}
.reminder-group-count{font-size:11px;font-weight:400;color:var(--muted)}
.reminder-list[hidden]{display:none}
.reminder-list{margin-bottom:22px}
.chief-shell .quest-page.reminders-page .compact-quest .reminder-row,.chief-shell .quest-page.reminders-page .compact-quest .reminder-row.is-expanded{grid-template-columns:18px minmax(0,1fr) 205px 104px 30px}
.reminder-when .reminder-summary{flex-wrap:wrap;white-space:normal}
.reminder-dismiss{font-size:11px;text-align:left;line-height:1.4}
@media(max-width:760px){
 .chief-shell .quest-page.reminders-page .compact-quest .reminder-row,.chief-shell .quest-page.reminders-page .compact-quest .reminder-row.is-expanded{grid-template-columns:15px minmax(0,1fr) 92px 26px}
 .reminders-page .reminder-row .task-menu{grid-column:4;grid-row:1}
 .reminders-page .reminder-when{grid-column:2/3;grid-row:2}
 .reminders-page .reminder-dismiss{grid-column:3/5;grid-row:2}
 .task-row-meta .reminder-summary{white-space:normal;flex-wrap:wrap;justify-content:flex-end;gap:3px}
}

/* Every rendered quest uses the same section band, including chat matches and drafts. */
.chief-shell{--quest-heading-fill:#f2eef9;--quest-heading-line:#dfd5ef}
.chief-shell .quest-page .hat-quest-heading,.chief-shell .comparison-quest-heading,.chief-shell .chat-quest-group .chat-quest-heading,.chief-shell .grouped-work-plan .work-plan-heading{background:var(--quest-heading-fill);border-top:1px solid var(--quest-heading-line);border-radius:0;color:var(--ink)}
.chief-shell .chat-hat-name,.chief-shell .work-plan-parent{font-size:12px;line-height:1.5;color:#62566e}
.chief-shell .chat-hat-name{margin:14px 0 6px;font-weight:600}
.chief-shell .work-plan-parent strong{font-weight:600}
.chief-shell .chat-quest-group{margin:0 0 16px}
.chief-shell .chat-quest-group .chat-quest-heading{margin:0;min-height:34px;font-size:14px;font-weight:650;line-height:1.45}
.chief-shell .chat-quest-heading .chat-location-link{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:6px 8px;color:var(--ink);font:inherit;text-align:left}
.chat-quest-heading .chat-location-link>span:first-child{min-width:0;overflow-wrap:anywhere}
.chat-quest-open{flex-shrink:0;font-size:13px;color:#665675;font-weight:400}
.chief-shell .chat-quest-records{gap:0}
.chief-shell .chat-quest-records>.chat-match{border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;min-height:40px;padding:8px;align-items:center;font-size:13px}
.chief-shell .chat-quest-records>.chat-match:hover{box-shadow:none;background:#faf8ff}
.chief-shell .chat-matches>h3,.chief-shell .chat-matches>.chat-priority-help{display:inline-block;margin:0 10px 6px 0;vertical-align:baseline}
.chief-shell .grouped-work-plan .work-plan-heading{min-height:34px;padding:4px 8px}
@media(max-width:760px){.chief-shell .chat-quest-heading .chat-location-link{padding:6px}.chief-shell .chat-quest-records>.chat-match{padding:7px 4px;font-size:13px}.chief-shell .chat-quest-group .chat-quest-heading{font-size:14px}}

.quest-merge-plan{margin:14px 0 20px;color:var(--ink)}.quest-merge-heading{margin:0 0 8px;padding:6px 8px;background:var(--quest-heading-fill,#f2eef9);border-top:1px solid var(--quest-heading-line,#dfd5ef);font-size:14px;line-height:1.45;color:var(--ink)}.quest-merge-plan p{font-size:13px;margin:8px 0;line-height:1.5}.quest-merge-plan summary{font-size:12px;color:#62566e;cursor:pointer}.quest-merge-plan ul{padding-left:20px;font-size:13px;line-height:1.7}.quest-merge-plan .inline-proposal-actions{margin-top:12px}.quest-merge-plan small{font-size:11px;color:var(--muted)}

.chat-current-merge{margin:10px 0 12px}.chat-current-merge .quest-merge-plan{margin:0}.chat-earlier-merge{margin:8px 0 0}.chat-earlier-merge>summary{font-size:12px;line-height:1.5;color:#62566e;cursor:pointer;padding:4px 0}.chat-earlier-merge[open]>summary{margin-bottom:8px}

/* One visible next action, in the same position whether filing or saving. */
.chief-shell .work-next-step{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:14px 0 4px}
.work-next-step .inline-error{flex-basis:100%;margin:0}
.work-next-detail{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.chat-current-draft{margin:12px 0 4px}
.chat-current-ready{border-top:1px solid var(--line,#e5dfef);padding-top:10px}
.chat-current-ready>.work-next-detail{font-size:13px;line-height:1.5;margin:0}

/* Approved simpler actions: one group, one outcome, one current control. */
.chief-logo{display:inline-flex;align-items:center;letter-spacing:0!important}
.chief-logo .chief-mark-svg{width:28px;height:28px;display:block}
.message-avatar .chief-mark-svg{width:22px;height:22px;display:block}
.chat-welcome-mark .chief-mark-svg{width:52px;height:52px;display:block}
.work-location-picker{width:min(370px,100%);border:1px solid #cfc0e5;border-radius:4px;margin:8px 0 12px;background:#fff;box-shadow:0 4px 14px #25104e10;overflow:hidden}
.work-location-picker header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;background:#faf8fd;font-size:12px}
.work-place-option{display:block;width:100%;text-align:left;border:0;border-top:1px solid #eee8f4;background:#fff;color:var(--ink);font:inherit;font-size:13px;padding:11px 12px}
.work-place-option:hover,.work-place-option:focus-visible{background:#f0e9fb}
.work-place-note,.work-picker-back{font-size:11px;color:var(--muted);padding:7px 12px;margin:0}
.work-location-picker .inline-error{padding:8px 12px}
.grouped-task-move{margin:12px 0 18px}.operation-task-row{font-size:14px;line-height:1.5;padding:8px 10px;border-bottom:1px solid var(--line)}
.operation-path{font-size:12px;color:var(--muted);margin:10px 10px 0}.grouped-task-move .inline-proposal-actions{margin:12px 10px}
.chat-current-moves{margin-bottom:14px}
.work-place-new{padding:10px 12px;border-top:1px solid #eee8f5;display:flex;gap:8px;align-items:end;flex-wrap:wrap}.work-place-new label{flex:1;min-width:130px;font-size:11px;color:#64566f}.work-place-new input{width:100%;display:block;margin-top:4px;font:inherit;font-size:13px;padding:7px;border:1px solid #cfc0e5;border-radius:3px}.work-place-new .outline{font-size:12px;min-height:32px}
.grouped-task-move>.work-plan-heading{background:#f2eefb;border-top:1px solid #ded4ef;padding:8px 10px;color:#282133;font-size:14px}.grouped-task-move>.work-plan-parent{padding:0 10px;margin:8px 0 5px;font-size:12px;color:#655870}

.progress-bar-plot{display:block;position:relative;margin-top:24px}.progress-bar-value{position:absolute;left:0;width:100%;text-align:center;font-size:12px;font-weight:700;line-height:18px;color:var(--ink);font-variant-numeric:tabular-nums;pointer-events:none}.progress-bar-stack{height:120px;width:100%;display:flex;flex-direction:column-reverse;justify-content:flex-start;background:#f6f3fa;border-radius:3px;overflow:hidden}.progress-bar-stack>span{display:block;width:100%;flex-shrink:0}.progress-completion-units{background:#582dce}.progress-update-units{background:#26836c}

.progress-day.selected .progress-bar-stack{outline:2px solid #592ccb;outline-offset:2px}.progress-legend .progress-completed-key{background:#582dce}

.progress-activity{border-bottom:1px solid #e4dfed}.progress-activity>summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:13px 4px;cursor:pointer;list-style:none}.progress-activity>summary::-webkit-details-marker{display:none}.progress-activity>summary:hover{background:#f8f6fc}.progress-activity>summary:focus-visible{outline:2px solid #592ccb;outline-offset:-2px}.progress-activity-title{font-size:14px;line-height:1.5;color:var(--ink);overflow-wrap:anywhere}.progress-activity-kind{font-size:11px;color:#63566f}.progress-activity-points{white-space:nowrap;min-width:44px;text-align:right;color:#4b268e;font-size:16px;font-variant-numeric:tabular-nums}.progress-activity-detail{padding:0 4px 14px;font-size:12px;line-height:1.6}.progress-activity-detail ul{list-style:none;margin:0 0 10px;padding:0}.progress-activity-detail li{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0}@media(max-width:600px){.progress-activity>summary{grid-template-columns:minmax(0,1fr) auto;gap:2px 12px}.progress-activity-title{grid-row:1;grid-column:1}.progress-activity-kind{grid-row:2;grid-column:1}.progress-activity-points{grid-column:2;grid-row:1/3}}

.progress-week-nav{display:flex;align-items:center;gap:10px;margin-top:9px;font-size:12px;color:#63566f}.progress-week-nav button{display:grid;place-items:center;padding:4px;border-radius:3px;color:#4b268e}.progress-week-nav button:hover:not(:disabled){background:#eee8f8}.progress-week-nav button:focus-visible{outline:2px solid #592ccb}.progress-week-nav button:disabled{opacity:.3;cursor:default}.progress-week-nav svg{width:16px;height:16px}.progress-comparison{font-size:12px;line-height:1.5;margin-top:5px!important}.progress-comparison.is-up{color:#21634f}.progress-comparison.is-down{color:#873f2b}.progress-comparison.is-flat{color:#63566f}.progress-week-bars{grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}.progress-week-bars .progress-day small{font-size:11px;white-space:nowrap}.progress-day.future{opacity:.4}@media(max-width:600px){.progress-week-bars{gap:4px}.progress-week-bars .progress-day small{font-size:9px}.progress-week-nav{gap:7px}}

.grouped-work-plan .quest-task-row>.proposed-task-updates{grid-column:1/-1;grid-row:2;min-width:0;margin:4px 5px 8px}.proposed-task-updates li{grid-template-columns:100px minmax(0,1fr);font-size:13px;line-height:1.5}.proposed-task-updates span{overflow-wrap:anywhere}
