/* R6.16.46 task-card checkbox layout, version identity and compact-view closure */
.r61646-section-title{align-items:center}.r61646-view-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.r61646-view-switch{display:flex;gap:4px;padding:3px;border:1px solid var(--fp-border);border-radius:10px;background:var(--fp-surface-2)}.r61646-view-switch .btn{border:0!important;background:transparent!important;box-shadow:none!important}.r61646-view-switch .btn.active{background:var(--fp-surface)!important;color:var(--fp-primary-strong)!important;box-shadow:0 1px 5px rgba(15,23,42,.08)!important}.r61646-view-tools label{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--fp-muted)}.r61646-view-tools select{min-width:92px;padding-block:6px}
.r61638-progress-list .r61646-task-card{position:relative!important;padding:11px 12px!important;display:grid!important;grid-template-columns:28px minmax(0,1fr) auto!important;grid-template-areas:"select title actions" "select exception exception" "select numbers numbers" "select meter meter" "select quality quality" "history history history" "correction correction correction"!important;gap:7px 11px!important;align-items:center!important;min-height:0!important}
.r61638-progress-list .r61646-task-card.is-pending{padding-left:12px!important}.r61646-task-card>.r61646-task-select{grid-area:select;position:static!important;inset:auto!important;transform:none!important;align-self:start!important;justify-self:start!important;width:28px!important;height:32px!important;padding:7px 4px!important;border:0!important;background:transparent!important;display:grid!important;place-items:center!important;cursor:pointer}.r61646-task-select input{width:18px!important;height:18px!important;margin:0!important;accent-color:var(--fp-primary)}.r61646-task-select span{position:absolute!important;width:1px!important;height:1px!important;clip:rect(0,0,0,0)!important;overflow:hidden!important}
.r61646-task-card>.r6157-progress-title{grid-area:title;min-width:0;padding-right:4px}.r61646-product-ref{display:flex!important;align-items:center;gap:7px;flex-wrap:wrap;margin-top:1px}.r61646-product-ref b{font-size:11px;color:var(--fp-text);font-weight:800}.r61646-product-ref em{font-style:normal;font-size:9px;font-weight:750;color:var(--fp-primary-strong);background:var(--fp-primary-soft);border-radius:999px;padding:2px 6px}
.r61646-task-card>.r61645-exception-badge{grid-area:exception!important;margin:0}.r61646-task-card>.r6157-progress-numbers{grid-area:numbers}.r61646-task-card>.r6157-meter{grid-area:meter}.r61646-task-card>.r6157-quality{grid-area:quality;margin:0!important}.r61646-task-card>.r61646-card-actions{grid-area:actions;display:flex;align-items:center;justify-content:flex-end;gap:5px;align-self:start;min-width:max-content}.r61646-card-actions .r6157-record-action,.r61646-card-actions>.badge{justify-self:auto!important;grid-column:auto!important}.r61646-card-actions .r61643-more-toggle{justify-self:auto;margin:0}.r61646-task-card>.r61512-event-history,.r61646-task-card>.r61643-history-link{grid-area:history}.r61646-task-card>.r61512-correction{grid-area:correction!important}
/* Selected and exception are two independent states. */
.r61638-progress-list .r61646-task-card.is-selected{transform:none!important;background:var(--fp-surface)!important;border-color:var(--fp-primary)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--fp-primary) 22%,transparent),inset 3px 0 0 var(--fp-primary)!important}.r61638-progress-list .r61646-task-card.is-exception{background:color-mix(in srgb,#fff7ed 45%,var(--fp-surface))!important;border-color:color-mix(in srgb,#f59e0b 58%,var(--fp-border))!important;box-shadow:inset 3px 0 0 #f59e0b,0 5px 14px rgba(245,158,11,.08)!important}.r61638-progress-list .r61646-task-card.is-exception.is-selected{background:color-mix(in srgb,#fff7ed 45%,var(--fp-surface))!important;border-color:var(--fp-primary)!important;box-shadow:inset 3px 0 0 #f59e0b,0 0 0 2px color-mix(in srgb,var(--fp-primary) 30%,transparent)!important}
/* Compact list reduces the repeated zero-progress card height without removing business data. */
.r61646-task-board.is-compact .r61638-progress-list{grid-template-columns:1fr!important}.r61646-task-board.is-compact .r61646-task-card{grid-template-columns:28px minmax(230px,1.25fr) minmax(205px,.8fr) minmax(100px,.45fr) auto!important;grid-template-areas:"select title numbers quality actions" "select exception exception exception exception" "history history history history history" "correction correction correction correction correction"!important;padding-block:8px!important;gap:6px 10px!important}.r61646-task-board.is-compact .r61646-task-card>.r6157-meter{display:none!important}.r61646-task-board.is-compact .r61646-task-card>.r6157-progress-title small{display:none}.r61646-task-board.is-compact .r61646-task-card>.r6157-progress-numbers{gap:4px}.r61646-task-board.is-compact .r61646-task-card>.r6157-progress-numbers span{padding:4px 6px!important}.r61646-task-board.is-compact .r61646-task-card>.r6157-progress-numbers b{font-size:12px!important}.r61646-task-board.is-compact .r61646-task-card>.r6157-quality{white-space:nowrap}.r61646-task-board.is-compact .r61646-card-actions{align-self:center}
.r61646-version-warning{position:sticky;top:6px;z-index:80;margin:8px 0;padding:9px 12px;border:1px solid #f59e0b;border-radius:10px;background:#fff7ed;color:#9a3412;font-size:12px;font-weight:700}
@media(max-width:1180px){.r61646-task-board.is-compact .r61646-task-card{grid-template-columns:28px minmax(0,1fr) auto!important;grid-template-areas:"select title actions" "select numbers numbers" "select quality quality" "select exception exception" "history history history" "correction correction correction"!important}.r61646-section-title{align-items:flex-start;flex-direction:column}.r61646-view-tools{width:100%;justify-content:space-between}}
@media(max-width:720px){.r61638-progress-list .r61646-task-card,.r61646-task-board.is-compact .r61646-task-card{grid-template-columns:26px minmax(0,1fr)!important;grid-template-areas:"select title" "select actions" "numbers numbers" "meter meter" "quality quality" "exception exception" "history history" "correction correction"!important;padding:10px!important}.r61646-task-card>.r61646-task-select{width:26px!important;padding-left:0!important}.r61646-task-card>.r61646-card-actions{justify-content:flex-start;align-self:auto}.r61646-view-tools{align-items:flex-start;flex-direction:column}.r61646-task-board.is-compact .r61646-task-card>.r6157-meter{display:block!important}}
