.task-guide-list{display:grid;gap:9px}.task-guide-list>.btn{display:grid;grid-template-columns:28px minmax(0,1fr) 16px;align-items:center;gap:12px;text-align:left;white-space:normal}.task-guide-list small{display:block;color:#587080;font-weight:400}.task-guide-num{color:#157b63}.task-guide-highlight{outline:3px solid #18856b!important;outline-offset:3px;scroll-margin:100px 0 140px}#task-guide-coach{grid-column:1/-1;min-width:0;max-width:100%;background:#eef8f5;color:#183d33;border:1px solid #a9d5c5;border-radius:10px;padding:14px;margin:14px 0;position:relative}#task-guide-coach p{margin:9px 0;line-height:1.5}#task-guide-coach .task-guide-heading{display:flex;align-items:center;gap:10px}#task-guide-coach .task-guide-heading strong{flex:1;min-width:0}#task-guide-coach .task-guide-heading small{white-space:nowrap}#task-guide-coach .task-guide-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}#task-guide-coach [data-guide-error]{color:#9b241c;background:#fff1ed;padding:9px;border-radius:6px}#task-guide-coach [hidden]{display:none!important}.modal-head [data-guide-form]{margin-left:auto}.task-guide-open{white-space:nowrap}@media(max-width:720px){#task-guide-coach{padding:12px}#task-guide-coach .btn{min-height:42px}.modal-head:has([data-guide-form]){flex-wrap:wrap}.modal-head:has([data-guide-form]) h2{flex:1 1 60%}.task-guide-list>.btn{min-height:58px}}@media print{#task-guide-coach,.task-guide-open,[data-guide-form]{display:none!important}.task-guide-highlight{outline:none!important}}


/* Persistent project guide: quiet on desktop, a deliberate drawer on phones. */
#task-guide-dock{display:none}
@media screen and (min-width:900px){
 .main:has(#task-guide-dock){padding-right:300px}
 .main:has(#task-guide-dock) .content{max-width:1850px}
 #task-guide-dock{display:block;position:fixed;z-index:8;right:0;top:0;bottom:0;width:300px;padding:22px 16px 18px;background:#fff;border-left:1px solid var(--line);overflow-y:auto;overscroll-behavior:contain}
 .task-guide-dock-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
 .task-guide-dock-head h2{font-size:20px;margin:0;color:#172f42}
 .task-guide-dock-head [data-guide-dock-close]{display:none}
}
.task-guide-dock-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.task-guide-dock-head h2{margin:0;color:#172f42}
#task-guide-dock-mode{width:100%;min-height:42px;margin:0 0 10px;font-size:14px;font-weight:700}
.task-guide-dock-list{border-top:1px solid #e7edf0}
.task-guide-dock-row{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:9px;width:100%;padding:11px 0;border:0;border-bottom:1px solid #edf1f3;background:transparent;color:#203342;text-align:left}
.task-guide-dock-row:hover{background:#f7faf9}
.task-guide-dock-num{grid-row:1/3;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#eff3f5;color:#526b7c;font-size:12px;font-weight:800}
.task-guide-dock-copy{min-width:0}
.task-guide-dock-copy strong{display:block;overflow:hidden;color:#203342;font-size:13px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.task-guide-dock-copy small{display:block;margin-top:3px;overflow:hidden;color:#718390;font-size:11px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.task-guide-dock-status{grid-column:2;display:block;margin-top:4px;color:#74858f;font-size:10px;font-weight:700}
.task-guide-dock-row.complete .task-guide-dock-num{background:#16805f;color:white}
.task-guide-dock-row.complete .task-guide-dock-status{color:#16805f}
.task-guide-dock-row.active{padding:11px 8px;margin:0 -8px;background:#e9f6f0}
.task-guide-dock-row.active .task-guide-dock-num{background:#16805f;color:white}
.task-guide-dock-row.active .task-guide-dock-copy strong,.task-guide-dock-row.active .task-guide-dock-status{color:#167257}
.task-guide-dock-row.next .task-guide-dock-status{color:#9a711e}
.task-guide-dock-switch{width:100%;margin-top:14px;border:0;background:transparent;color:var(--green);font-size:12px;font-weight:700;text-align:left;text-decoration:underline}
@media screen and (max-width:899px){
 #task-guide-dock{display:block;position:fixed;z-index:70;right:0;bottom:0;left:0;max-height:min(78dvh,680px);padding:18px 16px max(20px,env(safe-area-inset-bottom));background:#fff;border-radius:18px 18px 0 0;box-shadow:0 -12px 42px #12273833;overflow-y:auto;transform:translateY(110%);transition:transform .2s ease}
 #task-guide-dock.open{transform:translateY(0)}
 .task-guide-dock-head h2{font-size:19px}
 .task-guide-dock-head [data-guide-dock-close]{min-width:42px;min-height:42px;padding:6px;font-size:24px;line-height:1}
 .task-guide-dock-row{padding:12px 0}
 .task-guide-dock-copy strong{font-size:14px}
 .task-guide-dock-copy small{white-space:normal}
}
@media print{#task-guide-dock{display:none!important}.main:has(#task-guide-dock){padding-right:0!important}}

#task-guide-mobilebar{display:none}
@media screen and (max-width:899px){
 #task-guide-mobilebar{position:sticky;top:0;z-index:18;display:flex;align-items:center;width:100%;min-height:44px;padding:9px 16px;border:0;border-bottom:1px solid #cfe5da;background:#edf8f3;color:#17664f;font-size:12px;font-weight:800;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #task-guide-mobilebar::after{content:'⌃';margin-left:auto;padding-left:10px;font-size:16px}
}
@media screen and (min-width:900px){#task-guide-mobilebar{display:none!important}}
@media print{#task-guide-mobilebar{display:none!important}}
