.followup-workspace{max-width:1240px;margin-inline:auto}
.followup-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr));gap:16px;align-items:start;margin-top:18px}
.followup-card{--task-muted:#665e75;--task-accent:#6550ab;--task-fill:#f3f0fa;--task-rule:#e8e4ef;margin:0;min-width:0}
[data-theme=dark] .followup-card{--task-muted:#c6becf;--task-accent:#c8b8ff;--task-fill:#302a40;--task-rule:#48414f}
.followup-card>.card-head{padding:15px 18px;background:var(--task-fill);display:flex;align-items:center;justify-content:space-between;gap:12px}
.followup-card>.card-head h2{font-size:15px;margin:0 0 3px}.followup-card small,.followup-card [data-task-counter]{font-size:11px;color:var(--task-muted)}
.followup-card [data-task-counter]{white-space:nowrap;font-variant-numeric:tabular-nums}
.followup-card>.card-body{padding:0 18px}.followup-card>.card-body>p{padding:14px 0;font-size:13px}
.followup{position:relative;padding:13px 46px 13px 0;display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px}
.followup+.followup{border-top:1px solid var(--task-rule)}
.followup-title{width:100%;font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.followup:has(input:checked) .followup-title{text-decoration:line-through;color:var(--task-muted)}
.followup .followup-toggle{display:grid;place-items:center;position:absolute;right:-6px;top:3px;width:44px;height:44px;cursor:pointer;margin:0}
.followup-toggle input{position:absolute;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}
.followup-toggle span{pointer-events:none;border:1.5px solid #8a8198;width:21px;height:21px;border-radius:7px;display:grid;place-items:center}
.followup-toggle svg{opacity:0;width:14px;height:14px}.followup-toggle input:checked+span{background:#6550ab;border-color:#6550ab;color:white}.followup-toggle input:checked+span svg{opacity:1}.followup-toggle input:focus-visible+span{outline:3px solid #9981e3;outline-offset:3px}
.followup-meta,.followup-meta span,.followup-source summary{display:inline-flex;align-items:center;gap:5px}.followup-meta{flex-wrap:wrap;gap:6px 12px;color:var(--task-muted);font-size:12px}.followup-meta svg,.followup-source svg{width:13px;height:13px}
.followup-source{font-size:12px}.followup-source summary{cursor:pointer;color:var(--task-accent);min-height:26px;font-weight:600}.followup-source summary::-webkit-details-marker{display:none}.followup-source[open]{width:100%}.followup-source>div{background:var(--task-fill);padding:10px 12px;border-radius:8px;line-height:1.65;overflow-wrap:anywhere}.followup-source .btn{display:block;margin-top:8px}
.followup-workspace #task-case{width:100%;max-width:380px}.mobile-mode .followup-card>.card-head{padding:13px}.mobile-mode .followup-card>.card-body{padding:0 13px}

.task-edit-link{color:var(--task-accent);min-height:32px;padding:3px 6px;font-size:12px;font-weight:600}.task-edit-link:hover{text-decoration:underline}
