.focus-panel,.space-work{margin:32px 0;padding:24px 0;border-top:1px solid var(--line,#e7e7e2)}
.progress-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.progress-heading .room-label{margin:0}.focus-row,.work-row,.knowledge-card{padding:16px 0;border-bottom:1px solid var(--line,#e7e7e2)}
.focus-row h3,.work-row h3,.knowledge-card h3{font-size:18px;margin:0 0 8px;font-weight:550}
.focus-row p,.work-row p,.knowledge-card p{margin:8px 0;color:#64645e;line-height:1.6;white-space:pre-wrap}
.focus-row button,.work-row button,.knowledge-card button{margin-right:12px}.progress-meta{font-size:12px;color:#7d7d75}
.progress-dialog{max-width:620px;width:calc(100% - 32px);max-height:85vh;overflow:auto;border:0;border-radius:18px;padding:28px;color:#292924;background:#fafaf8}
.progress-dialog label{display:block;margin:16px 0;font-size:14px}.progress-dialog input:not([type=checkbox]),.progress-dialog textarea,.progress-dialog select{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid #d9d9d0;border-radius:10px;background:white;color:inherit;font:inherit;box-sizing:border-box}
.progress-choice{display:flex!important;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #e7e7e2}.progress-choice input{margin:3px 0 0}.progress-choice span{flex:1}.progress-choice small{display:block;margin-top:6px;color:#74746b;line-height:1.5}
.progress-error{color:#934130;white-space:pre-wrap}.knowledge-state{display:inline-block;padding:4px 9px;border-radius:20px;background:#efefea;font-size:12px;margin-right:8px}
.progress-note{font-size:13px;color:#73736a;line-height:1.6}.knowledge-card .row-copy{max-height:170px;overflow:hidden;white-space:pre-wrap}.knowledge-history{white-space:pre-wrap;font-size:13px;line-height:1.6;color:#66665f}
@media(max-width:600px){.progress-dialog{padding:20px}.focus-panel,.space-work{margin:24px 0}.progress-heading{align-items:flex-start}}

/* Keep mobile grid items within the viewport; navigation scrolls in its own row. */
@media(max-width:800px){.app-shell{grid-template-columns:minmax(0,1fr)}.rail,.workspace{min-width:0}}
