/* Team task workspace: a continuous left-to-right flow. */
.kb-topline{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.kb-topline h1{font-size:34px;letter-spacing:-1px;margin:7px 0}.kb-topline p{color:#63798d;margin:0}.kb-live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#3a9a80;margin:0 0 5px 12px}.kb-create{white-space:nowrap;box-shadow:0 6px 18px #075a9922}.kb-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:26px}.kb-overview button{text-align:left;background:#ffffffb8;border:1px solid #fff;border-radius:14px;padding:16px 21px;display:grid;grid-template-columns:1fr auto;gap:3px 12px;color:#27435a;cursor:pointer;box-shadow:0 4px 14px #213c5404}.kb-overview button>span{font-size:12px;color:#60788d;align-self:center}.kb-overview button strong{grid-column:2;grid-row:1/3;font-size:29px;font-weight:600;line-height:1.4;letter-spacing:-1px}.kb-overview button small{font-size:11px;color:#8291a0}.kb-overview button.selected{border-color:#4883ab;background:#fff}.kb-overview .kb-overdue-stat strong{color:#b96945}.kb-workspace{background:#fff9;border:1px solid #fff;border-radius:19px;box-shadow:0 14px 35px #24476c08;min-width:0;overflow:hidden}.kb-command{display:flex;align-items:center;gap:16px;padding:17px 20px;border-bottom:1px solid #e0e8ef;background:#fff9}.kb-view-switch{display:flex;gap:4px;background:#e9eff5;border-radius:9px;padding:4px}.kb-view-switch button{background:transparent;border:0;border-radius:6px;padding:9px 14px;font-size:13px;color:#60788a;white-space:nowrap;cursor:pointer}.kb-view-switch button.selected{background:white;color:#203d54;box-shadow:0 2px 7px #233c5312;font-weight:600}#kb-sync{margin-left:auto;font-size:11px;color:#708697}.kb-command>.quiet{font-size:12px;padding:8px 11px}.kb-filterbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px 10px;flex-wrap:wrap}.kb-scope{display:flex;gap:4px;flex-wrap:wrap}.kb-scope button{border:0;background:transparent;color:#6a8091;font-size:12px;border-radius:6px;padding:7px 10px;cursor:pointer}.kb-scope button.selected{background:#dfeaf4;color:#245b80;font-weight:600}.kb-filter-inputs{display:flex;gap:8px;flex:1;justify-content:flex-end}.kb-filter-inputs input,.kb-filter-inputs select{font:12px 'Segoe UI',sans-serif;border:1px solid #dce5ed!important;border-radius:7px!important;background:#fff!important;padding:9px 10px!important;width:auto;min-width:0;max-width:180px;box-shadow:none!important}.kb-filter-inputs input{min-width:130px;max-width:220px;flex:1}.kb-meta{display:flex;justify-content:space-between;padding:7px 22px 14px;font-size:11px;color:#8797a5}.kb-meta span:last-child{letter-spacing:.3px}.kb-board-scroll{overflow-x:auto;overscroll-behavior-x:contain;padding:0 17px 18px;scrollbar-width:thin;scrollbar-color:#bccbd8 transparent}.kb-board{display:grid;grid-template-columns:repeat(6,minmax(245px,1fr));gap:13px;min-width:1545px;align-items:start}.kb-column{background:#e9eff5a6;border:1px solid #dfe7ef;border-radius:12px;min-height:430px;padding:12px 9px 8px;transition:background .15s,border-color .15s}.kb-col-head{padding:0 5px!important;background:none!important;display:flex;justify-content:space-between;gap:4px}.kb-col-head>div{display:flex;align-items:center;gap:8px}.kb-col-head i{width:8px;height:8px;border-radius:50%;background:var(--stage)}.kb-col-head h2{font-size:13px;font-weight:650;margin:0;color:#345065}.kb-col-head span{font-size:11px;color:#718698;background:#dae4ee;border-radius:5px;padding:1px 6px}.kb-col-head>button{font-size:21px;line-height:1;padding:0 4px;border:0;background:transparent;color:#8295a5;cursor:pointer}.kb-col-hint{font-size:10px;color:#8698a6;margin:7px 6px 15px}.kb-column-cards{min-height:285px;display:flex;flex-direction:column;gap:10px}.kb-card{position:relative;border-radius:9px;background:#fff;border:1px solid #dce5ed;padding:13px 13px 11px;box-shadow:0 2px 3px #233c5305;transition:border-color .15s,box-shadow .15s;min-width:0;overflow-wrap:anywhere}.kb-card:hover{border-color:#a6bed2;box-shadow:0 4px 12px #2142650a}.kb-card[draggable=true]{cursor:grab}.kb-card[draggable=true]:active{cursor:grabbing}.kb-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.kb-project{font-size:10px;font-weight:600;color:#6a76a1;background:#f0f0f9;border-radius:4px;padding:3px 6px;max-width:85%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.kb-no-project{background:#edf3f7;color:#748b9d}.kb-menu{font-size:11px!important;color:#8295a6!important;letter-spacing:1px;line-height:1.4;background:transparent!important;border:0!important;padding:3px!important;cursor:pointer;min-width:23px}.kb-card-title{font-size:13px;font-weight:600;line-height:1.5;color:#2b455a;text-decoration:none;display:block}.kb-card-title:hover{color:#0767ad}.kb-reference{font-size:10px;color:#4c7a98;margin:6px 0 0}.kb-excerpt{font-size:11px;line-height:1.5;color:#8493a0;margin:8px 0 0}.kb-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:12px 0 8px;font-size:10px;color:#7f91a0}.kb-tags:empty{margin:7px 0}.kb-urgent{background:#fff1e7;color:#ae7447;padding:2px 5px;border-radius:4px;font-size:10px}.kb-date{font-size:10px;border:1px solid #e3eaf0;border-radius:4px;padding:2px 5px}.kb-date-late{color:#b55d49;background:#fff1ec;border-color:#f5d8ce}.kb-date-today{background:#eaf4fc;color:#2479ab;border-color:#cce1ef}.kb-card-late{border-top:2px solid #c98062}.kb-check-progress{padding:2px}.kb-progress{height:3px;background:#eaf0f5;border-radius:2px;margin:10px 0 12px;overflow:hidden}.kb-progress i{height:100%;background:#509e8c;display:block}.kb-card-foot{display:flex;align-items:center;gap:6px;font-size:10px;color:#6c8192;border-top:1px solid #f0f3f6;padding-top:9px;min-height:22px}.kb-avatar{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#e8eff7;color:#53718b;font-size:8px;font-weight:650;flex-shrink:0}.kb-grip{margin-left:auto;color:#a8b5c0;font-size:16px}.kb-card-done .kb-card-title{color:#7d8e99}.kb-card-done{background:#fcfefd}.kb-add-card{border:0;background:none;color:#7e93a4;font-size:11px;padding:12px 5px;width:100%;text-align:left;cursor:pointer}.kb-add-card:hover{color:#276b99}.kb-empty-drop{border:1px dashed #cad7e2;border-radius:8px;padding:25px 10px;text-align:center;font-size:11px;color:#99a8b4;margin:0}.kb-instruction{font-size:11px;color:#8b9caa;padding:0 24px 15px;margin:0}.kb-dragging{opacity:.38;transform:rotate(-1deg)}.kb-drop-active{background:#dbeaf6!important;border-color:#7ca8ca!important}.kb-drop-before{box-shadow:0 -3px 0 #418ebc!important}.kb-week-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 22px 20px}.kb-week-toolbar h2{font-size:19px;margin:0 0 5px;font-weight:600}.kb-week-toolbar p{font-size:11px;color:#7c90a0;margin:0}.kb-week-toolbar .actions{flex-shrink:0;gap:5px}.kb-week-toolbar button{font-size:12px;padding:7px 11px}.kb-week-scroll{overflow:auto;padding:0 18px 18px;scrollbar-width:thin}.kb-week-grid{display:grid;grid-template-columns:repeat(7,minmax(190px,1fr));min-width:1400px;gap:10px}.kb-day{padding:10px 7px;min-height:310px;background:#edf2f6b5;border-radius:10px;border:1px solid #e0e8ee}.kb-day>header{display:grid;grid-template-columns:1fr auto;gap:3px;background:none!important;padding:3px 5px 15px!important;box-shadow:none}.kb-day>header>span{text-transform:uppercase;font-size:10px;color:#7e94a5;letter-spacing:1px}.kb-day>header>strong{grid-row:2;grid-column:1;font-size:25px;font-weight:500;line-height:1.2}.kb-day>header>small{grid-row:3;font-size:10px;color:#90a0ad}.kb-day>header>button{grid-row:1/3;grid-column:2;align-self:center;background:none;border:0;color:#71899c;font-size:23px;cursor:pointer}.kb-day .kb-card{margin-bottom:9px;padding:10px}.kb-day .kb-card-title{font-size:12px}.kb-today{background:#e4eff8;border-color:#aac9e0}.kb-today>header>strong{color:#2474a3}.kb-backlog{border-top:1px solid #e1e8ef;padding:22px;min-height:100px}.kb-backlog h2{font-size:15px;margin:0}.kb-backlog h2 span{font-size:12px;color:#7e91a1;margin-left:7px}.kb-backlog>div>p{font-size:11px;color:#8295a5;margin:6px 0 15px}.kb-backlog-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.kb-list-table{overflow-x:auto;padding:0 18px 18px}.kb-list-table table{width:100%;min-width:780px;border-collapse:collapse;font-size:12px}.kb-list-table th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#7e92a3;padding:12px;border-bottom:1px solid #dce5ed;background:#eff4f8}.kb-list-table td{padding:16px 12px;border-bottom:1px solid #e6ecf2}.kb-list-table td a{color:#34536b;text-decoration:none}.kb-list-table td small{display:block;color:#8b9ba8;font-size:10px;margin-top:4px}.kb-list-stage{white-space:nowrap;display:inline-flex;gap:6px;align-items:center}.kb-list-stage:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--stage)}.kb-empty-results{text-align:center;padding:35px;color:#8297a7}.kb-empty-results h2{font-size:18px}.kb-move-dialog{width:470px;max-width:calc(100vw - 36px);padding:27px;max-height:90dvh;overflow:auto}.kb-move-dialog form{display:grid;gap:17px}.kb-move-dialog h2{font-size:21px;line-height:1.4;margin:0}.kb-move-dialog .eyebrow{font-size:9px}.kb-move-dialog label{font-size:12px}.kb-check-edit{display:grid;grid-template-columns:20px 1fr 28px;gap:10px;align-items:center;margin-bottom:8px}.kb-check-edit input[type=checkbox],.kb-detail-check input{width:17px!important;height:17px;accent-color:#3d927f}.kb-check-edit input[data-check-text]{font-size:13px;padding:9px 10px!important}.task-checklist-section h2{font-size:17px}.kb-detail-check{display:flex;align-items:flex-start;gap:10px;font-size:14px;font-weight:400;margin:12px 0}.kb-detail-check input{margin-top:4px;flex-shrink:0}.kb-detail-check:has(input:checked) span{text-decoration:line-through;color:#80958e}#task-detail-checklist{margin:24px 0}#task-detail-checklist h2{font-size:19px}#task-detail-checklist h2 small{font-size:12px;color:#759085;font-weight:400}.kb-workspace button:focus-visible,.kb-card-title:focus-visible{outline:2px solid #2785b7;outline-offset:3px}
@media(min-width:1750px){.kb-board{min-width:1545px;grid-template-columns:repeat(6,minmax(245px,1fr))}}
@media(max-width:1050px){.kb-overview{gap:9px}.kb-overview button{padding:14px}.kb-filterbar{align-items:stretch}.kb-filter-inputs{justify-content:flex-start}.kb-command{flex-wrap:wrap}#kb-sync{display:none}.kb-command>.quiet{margin-left:auto}}
@media(max-width:650px){.kb-topline{align-items:flex-start;gap:12px;margin-bottom:20px;flex-wrap:wrap}.kb-topline h1{font-size:28px}.kb-topline p{font-size:12px}.kb-create{font-size:12px;padding:10px 13px}.kb-overview{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}.kb-overview button{padding:12px 14px}.kb-overview button strong{font-size:26px}.kb-overview button span{font-size:11px}.kb-overview button small{font-size:10px}.kb-workspace{border-radius:13px}.kb-command{padding:12px;gap:7px}.kb-view-switch{flex:1;justify-content:space-between}.kb-view-switch button{font-size:11px;padding:8px 9px}.kb-command>.quiet{font-size:10px;padding:5px}.kb-filterbar{padding:10px 12px;gap:10px}.kb-scope button{font-size:10px;padding:7px}.kb-filter-inputs{width:100%;flex-wrap:wrap;gap:6px}.kb-filter-inputs input{flex-basis:100%;max-width:none}.kb-filter-inputs select{flex:1;max-width:50%;font-size:11px}.kb-meta{padding:0 14px 12px}.kb-meta span:last-child{display:none}.kb-board-scroll{padding:0 10px 12px;scroll-snap-type:x proximity}.kb-board{grid-template-columns:repeat(6,260px);min-width:1620px;gap:10px}.kb-column{scroll-snap-align:start;min-height:400px}.kb-instruction{padding:4px 14px 14px;font-size:10px}.kb-week-toolbar{padding:12px 14px;align-items:flex-start;flex-wrap:wrap}.kb-week-toolbar h2{font-size:17px}.kb-week-scroll{padding:0 10px 12px}.kb-week-grid{grid-template-columns:repeat(7,240px);min-width:1740px}.kb-backlog{padding:17px}.kb-list-table{padding:0 10px 12px}}
/* Keep each lane usable as the workload grows. */
.kb-board{grid-template-columns:repeat(6,minmax(200px,1fr));min-width:1265px}.kb-column{display:flex;flex-direction:column;height:calc(100dvh - 450px);min-height:390px;max-height:850px}.kb-column-cards{overflow-y:auto;overscroll-behavior-y:contain;min-height:120px;flex:1;padding:2px 2px 7px;scrollbar-width:thin}.kb-column-cards>.kb-card{flex-shrink:0}.kb-col-head,.kb-day>header{min-height:0;height:auto;position:static;box-shadow:none;border:0;backdrop-filter:none;flex-wrap:nowrap}.kb-col-head{margin-bottom:0}.kb-col-hint{flex-shrink:0}.kb-add-card{flex-shrink:0}.kb-board-nav{display:flex;align-items:center;gap:8px}.kb-board-nav button{border:1px solid #d7e3ee;background:#fff;border-radius:5px;padding:0 7px;line-height:20px;color:#6c8ca5;font-size:13px;cursor:pointer}.kb-board-nav small{font-size:10px}.kb-week-grid{align-items:start}.kb-day{max-height:640px;overflow-y:auto;scrollbar-width:thin}.kb-day>header{position:sticky;top:-10px;background:#edf2f6!important;z-index:1}.kb-today>header{background:#e4eff8!important}@media(min-width:1750px){.kb-board{min-width:1265px;grid-template-columns:repeat(6,minmax(200px,1fr))}}@media(max-width:650px){.kb-board{grid-template-columns:repeat(6,260px);min-width:1620px}.kb-column{height:510px;min-height:400px;max-height:none}.kb-board-nav small{display:none}.kb-meta .kb-board-nav{display:flex}.kb-day{max-height:570px}}
@media(max-width:650px){.kb-meta #kb-direction{display:inline}}

/* Three stages; full instructions live in the task detail. */
.kb-board{grid-template-columns:repeat(3,minmax(220px,1fr));min-width:0}.kb-mobile-stages{display:none}.kb-card-title{font-size:14px}.kb-substatus{padding:3px 7px;border-radius:5px;background:#fff2d8;color:#815b19;font-size:11px}.kb-menu{min-width:44px!important;min-height:36px!important}.task-detail details>summary{cursor:pointer;font-weight:600;padding:10px 0}.kb-column{height:calc(100dvh - 410px);min-height:400px}
@media(min-width:1750px){.kb-board{grid-template-columns:repeat(3,minmax(220px,1fr));min-width:0}}
@media(max-width:760px){.kb-mobile-stages{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:0 10px 12px}.kb-mobile-stages button{border:1px solid #d2e0eb;border-radius:8px;background:white;padding:12px 5px;font-size:13px;color:#31536c;min-height:44px}.kb-mobile-stages button.selected{background:#245f89;color:white}.kb-board{display:block;min-width:0}.kb-board-scroll{overflow:visible;padding:0 10px 12px}.kb-column{display:none;height:auto;min-height:160px;max-height:none}.kb-column.kb-mobile-active{display:flex}.kb-column-cards{overflow:visible;min-height:60px}.kb-card-title{font-size:16px;line-height:1.5}.kb-card{padding:14px}.kb-overview{display:none}.kb-topline{margin-bottom:14px}.kb-topline p,.kb-instruction,.kb-col-hint,#kb-direction{display:none!important}.kb-grip{display:none}.kb-filterbar{gap:8px}.kb-view-switch button{min-height:40px}.kb-menu{min-height:44px!important}.task-detail{display:block}.task-facts{grid-template-columns:1fr 1fr}.task-text{font-size:15px;line-height:1.6;overflow-wrap:anywhere}}

/* Task conversations and stable employee colours. */
.kb-staff-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--staff-color);border-left:5px solid var(--staff-color);background:color-mix(in srgb,var(--staff-color) 13%,var(--panel,#fff));color:var(--text,#183044);padding:5px 9px;border-radius:9px;font-weight:700;min-width:0;overflow-wrap:anywhere}.kb-staff-pill .kb-avatar{background:var(--staff-color);color:#fff;flex-shrink:0}.kb-inline-comments{border-top:1px solid var(--border,#d3dce5);padding-top:10px;margin-top:10px;font-size:12px;cursor:auto}.kb-comment-preview{border-left:3px solid #7b8fa8;padding-left:8px}.kb-inline-comments small{opacity:.8}.kb-comment-preview p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 8px}.kb-inline-comments summary{cursor:pointer;font-weight:600;padding:7px 0}.kb-inline-comments summary span{font-weight:400;opacity:.7}.kb-comment-entry{padding:8px 0;border-bottom:1px solid var(--border,#d3dce5)}.kb-comment-entry p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0}.kb-inline-comments [data-comment-entries]{max-height:300px;overflow:auto}.kb-inline-comments textarea{width:100%;min-height:54px;resize:vertical;margin-top:8px;box-sizing:border-box;font:inherit}.kb-inline-comments form>div{display:flex;justify-content:space-between;gap:6px;align-items:center;margin-top:5px}.kb-inline-comments button{font-size:12px;padding:6px 10px}.kb-no-comments{opacity:.65;margin:0 0 4px}.kb-inline-comments .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.kb-staff-pill{background:var(--staff-color)!important;color:#fff!important}.kb-staff-pill span{color:#fff!important}.kb-staff-pill .kb-avatar{background:rgba(255,255,255,.18)!important;color:#fff!important}
.kb-card .kb-card-foot{min-height:0!important;padding:3px 0!important;margin-top:6px!important;gap:6px!important}.kb-staff-pill{padding:2px 6px!important;gap:4px!important;border-left-width:3px!important;border-radius:5px!important;font-size:11px!important;line-height:16px!important;max-width:calc(100% - 22px);white-space:nowrap;overflow:hidden}.kb-staff-pill>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kb-staff-pill .kb-avatar{width:16px!important;height:16px!important;min-width:16px!important;font-size:8px!important;line-height:16px!important;border-radius:4px!important}.kb-inline-comments{margin-top:6px}

.kb-inline-comments{padding-top:6px!important;margin-top:5px!important;font-size:11px}.kb-comment-preview p{margin:3px 0 4px!important;-webkit-line-clamp:2}.kb-inline-comments summary{padding:4px 0!important;font-size:11px}.kb-inline-comments .kb-add-comment{font-size:11px;padding:3px 0!important;min-height:0!important;border:0;background:transparent;margin-top:2px}.kb-inline-comments form[hidden]{display:none!important}.kb-no-comments{display:none}.kb-inline-comments textarea{min-height:44px;margin-top:5px}.kb-comment-entry{padding:5px 0}.kb-inline-comments small{font-size:10px}
.kb-task-author{display:block;margin:6px 0;color:var(--muted);font-size:11px;overflow-wrap:anywhere}
