.work-todos { margin-block: 1.25rem; }
.work-todos .section-heading { align-items: start; gap: 1rem; }
.work-todos h2 { margin: .2rem 0; }
.work-todo-total { color: #334155; font-size: .875rem; white-space: nowrap; }
.work-todo-create { display: grid; grid-template-columns: minmax(0, 1fr) minmax(9rem, 11rem) minmax(7rem, 9rem) auto; gap: .75rem; align-items: end; margin: 1.25rem 0 1rem; }
.work-todo-create label { display: grid; gap: .375rem; margin: 0; font-size: .875rem; min-width: 0; }
.work-todo-create label span { color: #526176; font-size: .75rem; }
.work-todo-create input, .work-todo-create select { width: 100%; min-width: 0; min-height: 44px; margin: 0; }
.work-todo-create button { min-height: 44px; white-space: nowrap; }
.work-todo-filters { display: flex; flex-wrap: wrap; gap: .375rem; border-bottom: 1px solid #dce3ec; padding-bottom: .75rem; }
.work-todo-filters a { display: inline-flex; align-items: center; min-height: 40px; padding: .4rem .75rem; border-radius: .5rem; color: #41516b; font-size: .875rem; text-decoration: none; }
.work-todo-filters a[aria-current] { background: #eaf0ff; color: #1946bf; font-weight: 700; }
.work-todo-list { list-style: none; margin: 0; padding: 0; }
.work-todo-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .875rem 0; border-bottom: 1px solid #e7ecf2; }
.work-todo-row:last-child { border: 0; }
.work-todo-check form { margin: 0; }
.work-todo-check button { width: 44px; min-height: 44px; padding: 0; font-size: 1.5rem; color: #354865; }
.work-todo-done { display: grid; width: 44px; height: 44px; place-items: center; color: #166534; font-size: 1.25rem; }
.work-todo-content { min-width: 0; }
.work-todo-content strong { display: block; overflow-wrap: anywhere; line-height: 1.5; text-align: left; color: #172033; }
.work-todo-row.is-done .work-todo-content strong { color: #526176; text-decoration: line-through; }
.work-todo-meta { display: flex; flex-wrap: wrap; gap: .375rem .75rem; font-size: .8125rem; color: #526176; margin-top: .25rem; }
.work-todo-priority.is-high { color: #a52921; font-weight: 700; }
.work-todo-actions { display: flex; gap: .25rem; }
.work-todo-actions a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem; color: #254b99; font-size: .875rem; white-space: nowrap; }
.work-todo-empty { padding: 1.25rem .25rem; color: #526176; }
.work-todo-pagination { border-top: 1px solid #e7ecf2; margin-top: .5rem; }
.work-todo-pagination a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .75rem; }
@media (max-width: 980px) { .work-todo-create { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .work-todo-new-title { grid-column: 1 / -1; } .work-todo-create button { grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 520px) { .work-todo-row { grid-template-columns: 44px minmax(0, 1fr); column-gap: .5rem; } .work-todo-actions { grid-column: 2; justify-self: end; } .work-todo-total { display: none; } .work-todo-create { gap: .75rem .5rem; } }
.work-dashboard-priority .work-priority-card { display: block; padding: 1rem 0; }
.work-priority-card-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem .75rem; }
.work-priority-card-heading strong { color: #172033; overflow-wrap: anywhere; min-width: 0; }
.work-priority-card-heading small { color: #526176; }
.work-priority-excerpts { margin-block: .5rem; }
.work-priority-excerpts p { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: .5rem; margin: .25rem 0; font-size: .875rem; line-height: 1.5; }
.work-priority-excerpts p span:first-child { color: #526176; }
.work-priority-excerpts p span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; white-space: normal; color: #334155; }
.work-priority-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.work-priority-card-footer .work-origin { margin: 0; }
.work-priority-card-footer .work-current-actions { margin: 0; gap: .5rem; }
.work-priority-card-footer .button, .work-priority-card-footer .record-link { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .75rem; font-size: .875rem; }
.work-priority-card-footer .work-current-actions .button { width: auto; justify-content: center; }
.work-priority-full > summary { display: flex; align-items: center; min-height: 44px; color: #254b99; font-size: .875rem; cursor: pointer; }
.work-priority-full > summary::before { content: '＋'; margin-right: .375rem; }
.work-priority-full[open] > summary::before { content: '−'; }
.work-priority-more { border-top: 1px solid #dce3ec; margin-top: .5rem; }
.work-priority-more > summary { min-height: 44px; padding: .75rem .25rem; color: #254b99; font-weight: 600; cursor: pointer; }
