.task-workspace{display:grid;gap:20px;align-items:start}
.task-filter-grid{display:flex;flex-wrap:wrap;gap:14px;align-items:end}.task-filter-grid label{flex:1;min-width:150px}.task-filter-grid label:first-child{flex:2}.task-filters{margin-bottom:20px}
.task-edit{display:grid;gap:14px}.task-edit label,.task-filter-grid label,.task-two-col label{display:grid;gap:6px;font-weight:600}.task-edit input,.task-edit textarea,.task-edit select,.task-filter-grid input,.task-filter-grid select{width:100%;min-width:0;box-sizing:border-box}.task-edit .muted{font-size:.85rem;margin:0}
.task-two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.task-group{margin-bottom:18px}.task-group h2{font-size:1.1rem}.task-row{padding:16px 10px;border-top:1px solid #e2e8f0}.task-selected{background:#eff6ff;border-radius:8px}.task-overdue{border-left:3px solid #dc2626;padding-left:12px}.task-row-heading{display:flex;justify-content:space-between;gap:12px;align-items:start}.task-title{font-weight:650;font-size:1.05rem;overflow-wrap:anywhere}.task-priority{font-size:.75rem;padding:3px 8px;border-radius:12px;background:#f1f5f9;white-space:nowrap}.priority-high{background:#fff0ce;color:#854d0e}.priority-urgent{background:#fee2e2;color:#991b1b}.task-meta{font-size:.85rem;margin:8px 0;overflow-wrap:anywhere}.task-alert{color:#9a3412;font-size:.85rem;margin:6px 0}.task-progress{display:flex;gap:10px;align-items:center;font-size:.8rem;flex-wrap:wrap;margin:10px 0}.task-progress progress{width:110px;height:8px;accent-color:#2563eb}.task-quick{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.task-quick select,.task-quick input{width:auto;max-width:170px;font-size:.85rem;padding:6px}.task-detail{min-width:0}.task-detail-section{border-top:1px solid #e2e8f0;margin-top:24px;padding-top:18px}.task-step,.task-inline,.task-attachment{display:flex;gap:10px;align-items:center;margin:12px 0}.task-step span,.task-attachment>div{flex:1;min-width:0;overflow-wrap:anywhere}.task-checkbox{font-size:1.5rem;cursor:pointer;border:0;background:transparent;color:#2563eb}.task-done{text-decoration:line-through;color:#64748b}.task-inline input{flex:1;min-width:0}.task-note{margin-top:14px;padding:12px;background:#f8fafc;border-radius:8px}.task-note p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0}.task-attachment small{display:block}.task-detail summary{cursor:pointer;font-weight:600}.task-summary{margin-bottom:20px}.task-summary-list{display:grid;gap:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.task-page{max-width:1000px;margin:0 auto}.task-page-heading,.task-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.task-page-heading h1{margin:0;overflow-wrap:anywhere}.task-instructions{display:grid;gap:8px}.task-instructions textarea{resize:vertical;min-height:140px;overflow:auto}.task-instructions textarea.is-expanded{overflow:hidden;resize:none}.task-text-dialog{border:1px solid #ded3e8;border-radius:14px;padding:24px;width:min(850px,calc(100vw - 48px));max-height:85vh;box-sizing:border-box;box-shadow:0 20px 70px #0004;color:inherit}.task-text-dialog::backdrop{background:#0008}.task-text-dialog[open]{display:flex;flex-direction:column}.task-dialog-heading{flex-shrink:0}.task-dialog-heading h2{margin:0}.task-full-text{white-space:pre-wrap;overflow-wrap:anywhere;overflow-y:auto;min-height:0;line-height:1.6;padding:4px 12px 12px 4px}.task-page .task-edit>.button{justify-self:start;width:auto}.task-page .task-detail-section .muted{margin:8px 0 14px}
.task-instructions textarea{border-width:2px}
.task-email-options{border:1px solid #ded3e8;border-radius:8px;padding:16px;display:grid;gap:12px;min-width:0}.task-email-options legend{font-weight:600}.task-edit label.task-email-checkbox{display:flex;align-items:center;gap:10px}.task-edit .task-email-checkbox input{width:auto;flex:0 0 auto}
@media(max-width:1100px){.task-filter-grid label{min-width:180px}}
@media(max-width:550px){.task-page-heading{align-items:start;flex-direction:column}.task-page-heading .button,.task-dialog-heading .button{width:auto}.task-text-dialog{padding:16px;width:calc(100vw - 24px)}.task-dialog-heading h2{font-size:1.1rem}.task-dialog-heading{gap:10px}.task-instructions .actions{flex-wrap:wrap}.task-instructions .button{width:auto}}
@media(max-width:550px){.task-two-col{grid-template-columns:1fr}.task-row-heading{flex-wrap:wrap}.task-quick input,.task-quick select{max-width:100%;flex:1}.task-attachment{align-items:start}.task-step button,.task-inline button,.task-attachment button{width:auto;flex:0 0 auto}.task-step span{flex:1 1 auto}.task-step .task-checkbox{padding:2px}.task-inline{flex-wrap:wrap}.task-inline input{flex-basis:150px}}
