.task-subtasks-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.task-subtasks-head h3{margin:0}.task-subtasks-summary{color:var(--muted);font-size:12px;white-space:nowrap}
.task-subtasks progress{display:block;width:100%;height:7px;margin:0 0 16px;border:0;border-radius:99px;overflow:hidden;accent-color:#ef0038}
.task-subtasks progress::-webkit-progress-bar{background:#f4e9ed;border-radius:99px}.task-subtasks progress::-webkit-progress-value{background:#ef0038;border-radius:99px}
.task-subtasks-list{display:flex;flex-direction:column;gap:8px}.task-subtask-row{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid #e8e3e6;border-radius:11px;background:#fff}
.task-subtask-row.is-done{background:#f7fbf8}.task-subtask-row.is-done .task-subtask-title{color:#53715c;text-decoration:line-through}
.task-subtask-row>input[type=checkbox]{flex:0 0 19px;width:19px;height:19px;accent-color:#ef0038;cursor:pointer;margin:0}
.task-subtask-body{flex:1;min-width:0}.task-subtask-title{border:0;background:none;padding:0;text-align:left;font-size:13px;font-weight:700;line-height:1.45;color:var(--text);overflow-wrap:anywhere}
.task-subtask-title:hover{color:#ef0038}.task-subtask-meta{display:block;margin-top:5px;color:var(--muted);font-size:11px;line-height:1.5}
.task-subtask-action{flex-shrink:0;font-size:11px}.task-subtask-add{margin-top:14px;border:1px dashed #e5d6dc;border-radius:10px}
.task-subtask-add>summary{padding:13px 14px;cursor:pointer;font-weight:700;font-size:13px;color:#ef0038;list-style:none}.task-subtask-add>summary::-webkit-details-marker{display:none}
.task-subtask-form{padding:0 14px 14px;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px}
.task-subtask-form label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:11px;font-weight:700;color:var(--muted)}
.task-subtask-form label:first-child{grid-column:1/-1}.task-subtask-form input,.task-subtask-form select{width:100%;min-width:0;padding:10px 11px;border:1px solid #d5d9df;border-radius:8px;background:#fff;color:var(--text);font:inherit}
.task-subtask-form .primary{grid-column:1/-1;justify-self:start;font-size:12px;padding:10px 15px}.task-subtask-archive{margin-top:15px;font-size:12px;color:var(--muted)}

.task-parent-overview{padding:14px;margin:0 0 18px;border:1px solid #e1e6ef;border-radius:16px;background:linear-gradient(120deg,#fff7fa,#f8faff)}
.task-parent-overview[hidden]{display:none}
.task-parent-heading{display:flex;align-items:center;gap:9px}.task-parent-heading h3{font-size:16px;margin:0;color:#2e3d58}.task-parent-heading>span{padding:3px 7px;border-radius:7px;background:#f3e6ec;color:#ad526f;font-size:11px}
.task-parent-hint{font-size:12px;line-height:1.6;color:#7a87a0;margin:7px 0 15px}
.task-parent-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:12px}
.task-overview-card{min-width:0;display:flex;flex-direction:column;gap:10px;padding:14px 16px;border:1px solid #e0e6f0;border-radius:12px;background:#fff;box-shadow:0 3px 8px #25334e03}
.task-overview-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.task-overview-label{font-size:10px;font-weight:700;letter-spacing:.4px;color:#ba5c7c}.task-overview-status{font-size:11px;line-height:1.3;padding:4px 8px;border-radius:7px;background:#f0f3f9;color:#6c7b96;flex-shrink:0}
.task-overview-card[data-status=done] .task-overview-status{background:#e9f5ef;color:#41835f}.task-overview-card[data-status=review] .task-overview-status{background:#fff5dd;color:#a77c22}
.task-overview-card .task-card-title{font-size:16px;line-height:1.45;overflow-wrap:anywhere;text-align:left}.task-overview-card .task-card-meta{margin:0;flex-wrap:wrap;gap:8px}
.task-overview-card .ui-task-progress{margin:0}.task-overview-card .ui-task-progress small{color:#74839c;font-size:11px}.task-overview-card progress{display:block;width:100%;height:5px;margin:8px 0 0;border:0;border-radius:9px;accent-color:#e9003a}
.task-overview-card progress::-webkit-progress-bar{background:#edf0f6;border-radius:9px}.task-overview-card progress::-webkit-progress-value{background:#e75c83;border-radius:9px}.task-overview-card progress::-moz-progress-bar{background:#e75c83;border-radius:9px}
.task-overview-card .task-card-footer{margin-top:auto;display:flex;flex-wrap:wrap;gap:6px 12px;justify-content:space-between;padding-top:10px;border-top:1px solid #edf0f6;color:#8794ac;font-size:11px}
.task-subtask-badge{max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}
@media(max-width:600px){.task-parent-overview{padding:14px}.task-overview-card{padding:15px}.task-parent-list{grid-template-columns:minmax(0,1fr)}}
.task-subtask-archive>summary{cursor:pointer;padding:8px 0}.task-subtask-archive .task-subtask-row{margin-top:7px;opacity:.8}
.task-subtask-badge{display:inline-block;background:#f4edf0;color:#855b6b;border-radius:6px;padding:3px 7px;margin-bottom:7px;font-size:10px;font-weight:700}
.task-subtask-board-progress{display:block;margin-top:10px;color:var(--muted);font-size:11px}.task-parent-link{display:block;max-width:100%;border:0;background:#fff1f5;color:#bc0030;border-radius:8px;padding:10px 12px;text-align:left;margin:0 0 15px;font-size:12px;overflow-wrap:anywhere}
@media(max-width:600px){.task-subtask-form{grid-template-columns:minmax(0,1fr)}.task-subtask-form label:first-child,.task-subtask-form .primary{grid-column:1}.task-subtask-row{gap:9px;padding:11px}.task-subtasks-head{align-items:flex-start;flex-wrap:wrap}.task-subtask-action{max-width:90px}}
