/* Compact outline: indentation belongs to the title, columns stay aligned. */
.compact-tree.task-table{border-radius:5px;overflow:visible;background:#fff}
.compact-tree .task-entry{border-top:1px solid #e9edf1}
.compact-tree>.task-entry:first-child{border-top:0}
.compact-tree .task-entry>.task-row{min-height:50px;padding:7px 14px;gap:12px;grid-template-columns:minmax(170px,1fr) 145px 125px 120px 110px}
.compact-tree .task-title{padding-left:calc(var(--tree-depth,0) * 18px);gap:5px;align-items:center;min-width:0}
.task-tools{flex-direction:row;width:36px;gap:2px;align-items:center}
.child-toggle,.child-spacer{width:16px;min-width:16px;height:20px;display:inline-block}
.child-toggle{background:transparent;border:0;border-radius:3px;color:#9bada5;font-size:14px;padding:0;line-height:20px}
.child-toggle:hover{background:#edf2f6;color:var(--green)}
.child-toggle[aria-expanded=true]{transform:rotate(90deg)}
.task-kind{font-size:17px;line-height:20px;color:#a2b7af;width:18px;text-align:center}
.task-kind.kind-done{color:#5b9470;font-size:13px}
.task-title>a{display:block;flex:1;min-width:0}
.task-name-line{display:flex;align-items:center;gap:7px;min-width:0}
.task-entry .task-name-line strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;font-size:12px;color:#356c55}
.task-name-line .task-progress{flex-shrink:0;font-size:10px;margin:0;color:#729281}
.compact-tree .task-title small{margin-top:2px;font-size:9px;line-height:1.25;color:#9ba6ae}
.compact-tree .badge{font-size:9px;padding:3px 6px}
.compact-tree .my-task-roles,.compact-tree .task-topic{font-size:10px;line-height:1.45}
.compact-tree .due{font-size:10px}.compact-tree .due small{font-size:9px;margin-top:1px}
.compact-tree .task-children{margin:0;border:0;border-radius:0;background:transparent}
.compact-tree .task-children .assignee{display:flex}
.compact-tree .task-children .due,.compact-tree .task-children .task-topic{display:block}
.compact-tree .task-entry .task-row:hover{background:#f6f9fc}
.compact-tree .task-urgent{border:1px solid #d26861;border-left:3px solid #d26861;border-radius:3px;margin:0;background:#fffafa}
.compact-tree .restricted-children{padding:8px 20px;font-size:10px}
@media(max-width:1100px){.compact-tree .task-entry>.task-row{grid-template-columns:minmax(150px,1fr) 125px 105px}.compact-tree .task-row>.assignee{display:none}.compact-tree .task-row>.task-topic{grid-column:1;padding-left:calc(41px + var(--tree-depth,0)*18px);font-size:9px}.compact-tree .task-row>.due{grid-column:3}}
@media(max-width:700px){.compact-tree .task-entry>.task-row{grid-template-columns:minmax(0,1fr) 105px;padding:7px 8px;gap:3px 6px;min-height:60px}.compact-tree .task-title{padding-left:min(calc(var(--tree-depth,0)*12px),72px);grid-row:1/3}.compact-tree .task-entry .task-row>a{margin-left:0}.compact-tree .task-row>.due{grid-column:2;grid-row:2}.compact-tree .task-row>.task-topic{grid-column:1;grid-row:3;padding-left:calc(41px + min(var(--tree-depth,0)*12px,72px))}.compact-tree .task-name-line strong{font-size:11px}.compact-tree .task-tools{width:29px}.compact-tree .child-toggle,.compact-tree .child-spacer{width:13px;min-width:13px}.compact-tree .task-kind{width:14px}.compact-tree .task-name-line{gap:3px}}
