/* Same Apple-style tokens as the rest of the proposal, with a compact hierarchy. */
.task-tree-content .page-heading{margin-bottom:22px}.task-tree-content .page-heading>span{font-size:12px;color:var(--muted)}
.task-tree{display:flex;flex-direction:column;gap:14px}.task-tree>.tree-branch{background:#fff;border-radius:22px;padding:8px 12px 10px;overflow:hidden}
.tree-node{display:flex;align-items:center;gap:8px;width:100%;min-height:50px;padding:5px 0;text-align:left;position:relative}.tree-level-0>.tree-node{min-height:58px}.tree-chevron{display:inline-flex;width:20px;height:26px;align-items:center;justify-content:center;color:#AEAEB2;flex-shrink:0}.tree-chevron svg{height:12px;width:12px;transition:transform .15s}.tree-branch.is-open>.tree-node>.tree-chevron svg{transform:rotate(90deg)}
.tree-node-icon{display:inline-flex;align-items:center;justify-content:center;width:23px;height:26px;color:var(--blue);flex-shrink:0}.tree-node-icon svg{width:19px;height:19px;stroke-width:1.65}.tree-level-0>.tree-node .tree-node-icon{height:32px;width:32px;border-radius:10px;background:#EFF5FF}.tree-level-0>.tree-node .tree-node-icon svg{height:18px;width:18px}.tree-level-2 .tree-node-icon{color:#8E8E93;width:18px}.tree-level-2 .tree-node-icon svg{height:16px;width:16px}
.tree-node-title{font-size:14px;font-weight:500;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}.tree-level-0>.tree-node .tree-node-title{font-size:16px;font-weight:600;letter-spacing:-.3px}.tree-level-2>.tree-node .tree-node-title{font-size:13px}.tree-node-meta{font-size:11px;color:#9A9AA0;white-space:nowrap;font-variant-numeric:tabular-nums;padding-right:3px}.tree-node-meta.progress{color:var(--blue)}
.tree-children{position:relative;margin-left:10px;padding-left:12px;border-left:1px solid #E8E8ED}.tree-level-0>.tree-children{margin-left:10px;margin-top:0;margin-bottom:4px}.tree-level-1>.tree-children{padding-left:9px;margin-left:10px}.tree-level-2>.tree-children{padding-left:10px;margin-left:10px}.tree-children>.tree-branch>.tree-node:before,.tree-children>.tree-leaf:before{content:'';position:absolute;left:-12px;top:50%;width:10px;height:1px;background:#E8E8ED}.tree-level-1>.tree-children>.tree-branch>.tree-node:before{left:-9px;width:8px}.tree-level-2>.tree-children>.tree-leaf:before{left:-10px;width:9px}
.tree-leaf{position:relative;display:flex;align-items:center;gap:8px;min-height:57px;padding:5px 0 5px 2px}.tree-leaf+.tree-leaf{border-top:1px solid #F3F3F6}.tree-point-mark{display:flex;align-items:center;justify-content:center;width:18px;height:18px;flex-shrink:0;color:#B9B9C0}.tree-point-mark>i{display:block;border:1.3px solid currentColor;width:9px;height:9px;border-radius:50%}.tree-point-mark>svg{width:14px;height:14px}.tree-leaf.is-done .tree-point-mark{color:#34A853}.tree-leaf.is-saved .tree-point-mark{color:#007AFF}.tree-point-body{flex:1;min-width:0}.tree-point-body>div{display:flex;align-items:baseline;gap:6px;min-width:0}.tree-point-body strong{font-size:13px;font-weight:500;white-space:nowrap}.tree-point-body>div>span{font-size:10px;color:#929299;white-space:nowrap}.tree-point-body small{display:block;font-size:10px;color:#A0A0A7;line-height:1.4;margin-top:3px}.tree-leaf.is-done .tree-point-body small{color:#6B9D77}.tree-point-action{color:var(--blue);font-size:12px;min-width:44px;min-height:44px;border-radius:10px;flex-shrink:0;text-align:right;padding:5px 3px}.tree-leaf:not(.is-done):not(.is-saved) .tree-point-action{font-weight:500}.tree-point-action:active{background:#EDF5FF}.tree-empty{font-size:12px;color:#A0A0A7;padding:12px 12px 16px}.tree-detail-summary{display:flex;justify-content:space-between;align-items:center;color:#86868B;margin:15px 3px 18px;font-size:12px}.tree-detail-summary strong{font-size:15px;font-weight:500;color:#1D1D1F;font-variant-numeric:tabular-nums}.task-tree-focused>.tree-branch{padding-top:5px;padding-bottom:7px}.task-tree-focused .tree-level-0>.tree-node{min-height:53px}
@media(max-width:370px){.task-tree>.tree-branch{padding-left:10px;padding-right:10px}.tree-node{gap:6px}.tree-node-title{font-size:13px}.tree-level-0>.tree-node .tree-node-title{font-size:15px}.tree-level-0>.tree-node .tree-node-icon{width:28px;height:28px}.tree-children{padding-left:10px}.tree-point-body>div{gap:4px}.tree-point-body strong{font-size:12px}.tree-point-action{font-size:11px}.tree-node-meta{font-size:10px}.tree-leaf{gap:6px}.tree-point-mark{width:15px}.tree-level-2>.tree-children{padding-left:8px}}
@media(prefers-reduced-motion:reduce){.tree-chevron svg{transition:none}}
