/* Scoped task infographic; existing shell fonts, controls, colours and spring engine. */
.tb-board{display:flex;flex-direction:column;gap:16px;min-width:0}
.tb-board .m85-head h2{font-size:21px}
.tb-total,.tb-help{font:400 12px/1.5 var(--ds-font);color:var(--ds-text-subtle)}
.tb-summary{border:1px solid var(--ds-border);border-radius:12px;background:var(--ds-panel);padding:6px}
.tb-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.tb-kpi{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;padding:12px;border:0;border-radius:8px;background:transparent;color:var(--ds-fg);font:inherit;cursor:pointer;text-align:left;transition:scale .15s var(--ds-ease)}
.tb-kpi:active{scale:.98}.tb-kpi:focus-visible{outline:2px solid var(--ds-ring);outline-offset:-2px}
.tb-kpi>span{font-size:12px;color:var(--ds-text-muted)}
.tb-kpi b{font:500 27px/1.2 var(--ds-mono);color:var(--tb-tone,var(--ds-fg))}
.tb-kpi small{font-size:11px;color:var(--ds-text-subtle)}
.tb-board .accent{--tb-tone:var(--ds-accent)}.tb-board .danger{--tb-tone:var(--ds-danger)}.tb-board .success{--tb-tone:var(--ds-success)}.tb-board .neutral{--tb-tone:var(--ds-text-subtle)}
.tb-distribution{display:flex;align-items:center;gap:16px;margin:8px 12px 10px;font-size:11px;color:var(--ds-text-muted)}
.tb-distribution>span{flex:none}.tb-meter{display:flex;gap:3px;height:6px;flex:1;min-width:0;border-radius:999px;background:var(--ds-muted);overflow:hidden}
.tb-meter i{display:block;height:100%;background:var(--tb-tone);border-radius:999px}
.tb-board .filters{margin:0}.tb-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tb-search{display:flex;align-items:center;gap:8px;flex:1;min-width:220px;height:36px;padding:0 10px;border-radius:6px;background:var(--ds-control);box-shadow:var(--ds-control-shadow);color:var(--ds-text-subtle)}
.tb-search:focus-within{box-shadow:var(--ds-control-shadow),0 0 0 2px var(--ds-ring)}
.tb-search svg{width:15px;height:15px;flex:none}.tb-search input{width:100%;min-width:0;border:0;background:none;outline:none;font:400 13px var(--ds-font);color:var(--ds-fg)}
.tb-select{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--ds-text-subtle)}
.tb-select select,.tb-pagination select{height:32px;max-width:240px;border:0;border-radius:6px;padding:0 8px;background:var(--ds-control);color:var(--ds-fg);font:400 12px var(--ds-font);box-shadow:var(--ds-control-shadow)}
.tb-card{padding:0;overflow:hidden;border-radius:12px}
.tb-table-scroll{overflow-x:auto;overscroll-behavior-x:auto;scrollbar-gutter:stable}
.tb-table-scroll:focus-visible{outline:2px solid var(--ds-ring);outline-offset:-2px}
.tb-grid{min-width:1000px}.tb-grid>.ds-hl{border-radius:0}
#main .tb-table{display:table;position:relative;width:100%;table-layout:fixed;background:transparent}
#main .tb-table th{font-size:11px;padding:10px 12px;background:var(--ds-panel)}
#main .tb-table th:first-child{width:34px}#main .tb-table th:nth-child(2){width:28%}#main .tb-table th:nth-child(3){width:15%}#main .tb-table th:nth-child(4){width:14%}#main .tb-table th:nth-child(5){width:13%}#main .tb-table th:nth-child(6){width:12%}#main .tb-table th:nth-child(7){width:9%}#main .tb-table th:last-child{width:80px}
#main .tb-table tbody td{height:60px;padding:8px 12px;font-size:12px;overflow:hidden}
#main .tb-table tbody tr:hover{background:transparent}
#main .tb-table .ds-cbc{padding-left:10px;padding-right:0}
.tb-title{display:block;width:100%;text-align:left;border:0;padding:0;background:none;font:600 13px/1.4 var(--ds-font);color:var(--ds-fg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.tb-title:focus-visible{outline:2px solid var(--ds-ring);border-radius:3px}
.tb-task>small{display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--ds-text-subtle)}
.tb-person{display:flex;align-items:center;gap:7px}.tb-person>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ds-text-muted)}
.tb-avatar{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;flex:none;background:var(--ds-muted);font:500 10px var(--ds-font);color:var(--ds-text-muted)}
.tb-deadline,.tb-history{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}.tb-deadline small,.tb-history small{font-size:10px;white-space:nowrap;color:var(--ds-text-subtle)}
.tb-priority{display:flex;flex-direction:column;gap:4px}.tb-priority>span{display:flex;gap:3px}.tb-priority i{width:16px;height:5px;border-radius:2px;background:var(--ds-muted)}.tb-priority i.on{background:var(--tb-tone)}.tb-priority small{font:400 10px var(--ds-font);color:var(--ds-text-muted)}
.tb-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-top:1px solid var(--ds-border);font-size:11px;color:var(--ds-text-muted)}
.tb-pagination>div,.tb-pagination>label{display:flex;align-items:center;gap:8px}.tb-pagination .ds-btn:disabled{opacity:.35;cursor:default}.tb-pagination>div>span{font-family:var(--ds-mono)}
.tb-help{margin:0}.tb-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:640px){.tb-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.tb-kpi{padding:10px}.tb-kpi b{font-size:23px}.tb-distribution{gap:8px;margin:8px 8px}.tb-search{flex-basis:100%;min-width:0}.tb-pagination{padding:10px;gap:8px}.tb-pagination select{max-width:56px}.tb-total{width:100%}}
@media(prefers-reduced-motion:reduce){.tb-kpi{transition:none}.tb-kpi:active{scale:1}}

/* Main-menu goals use their own six-column layout and genuine linked-step counts. */
.tb-goals .tb-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
#main .gb-table th:first-child{width:34%}#main .gb-table th:nth-child(2){width:17%}#main .gb-table th:nth-child(3){width:17%}#main .gb-table th:nth-child(4){width:15%}#main .gb-table th:nth-child(5){width:9%}#main .gb-table th:last-child{width:90px}
.gb-progress{display:flex;flex-direction:column;gap:7px;font-size:11px;color:var(--ds-text-muted)}
.gb-progress b{font-family:var(--ds-mono);font-weight:500;color:var(--ds-fg)}
.gb-track{height:5px;border-radius:999px;background:var(--ds-muted);overflow:hidden;width:110px;max-width:100%}
.gb-track i{display:block;height:100%;border-radius:inherit;background:var(--ds-accent)}
.gb-motion{display:flex;flex-direction:column;gap:5px;min-width:0}
.gb-motion>span{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;color:var(--ds-fg)}
.gb-motion i{width:6px;height:6px;border-radius:50%;background:var(--tb-tone);flex:none}
.gb-motion small{font-size:10px;color:var(--ds-text-subtle)}
@media(max-width:640px){.tb-goals .tb-kpi>span{font-size:11px;min-height:30px}.tb-goals .tb-kpi small{font-size:10px}.tb-goals .tb-distribution>span{font-size:10px}}
