/* Scoped operational followups: mobile cards, with no changes to other tables. */
.followup-board,.followup-capture,.followup-overview{min-width:0}
.followup-board [hidden],.followup-capture [hidden]{display:none!important}
.followup-intro{margin-bottom:1rem}.followup-intro h2{margin:.6rem 0}.followup-intro p{margin:.5rem 0}
.followup-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin:1rem 0}
.followup-kpis .stat-card{padding:.75rem 1rem;min-height:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:.5rem}
.followup-kpis .stat-card strong{font-size:1.6rem;line-height:1.2}.followup-kpis .stat-card span{font-size:.8rem}
.followup-date-bar,.followup-date-nav,.followup-date-form{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.followup-date-bar{justify-content:space-between}.followup-date-form label{display:grid;gap:.25rem;font-size:.8rem}.followup-date-form input{min-width:0;width:100%}.followup-date-form{align-items:flex-end}
.followup-chips{display:flex;flex-wrap:wrap;gap:.45rem;margin:.75rem 0}.followup-chip{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.45rem .8rem;border:1px solid #cbd5e1;border-radius:999px;font-size:.82rem;font-weight:600;text-decoration:none;color:var(--primary);background:#fff}.followup-chip.active{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:inset 0 0 0 1px currentColor}.followup-area-chips{padding-top:.6rem;border-top:1px solid #e2e8f0}
.followup-area{margin-top:1.5rem}.followup-area-heading{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.65rem 0;border-bottom:2px solid #e2e8f0;margin-bottom:.8rem}.followup-area-heading h4{margin:0;font-size:1rem;overflow-wrap:anywhere}.followup-area-heading span{font-size:.8rem;white-space:nowrap}
.followup-task-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:.8rem}.followup-task{min-width:0;padding:1rem!important;border-left:4px solid var(--primary);display:flex;flex-direction:column;gap:.75rem}.followup-task.followup-confirmation{border-left-color:var(--accent)}.followup-task-top{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem}.followup-task-top .eyebrow{overflow-wrap:anywhere}.followup-task h4{font-size:1rem;line-height:1.4;margin:0;overflow-wrap:anywhere}.followup-task p{font-size:.83rem;line-height:1.5;margin:0}.followup-task-bottom{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-top:auto}.followup-badges{display:flex;gap:.35rem;flex-wrap:wrap}.followup-badges .pill{font-size:.65rem;padding:.3rem .5rem;letter-spacing:.03em}.followup-phase{background:#eef2f6!important;color:#334155!important}.followup-task .btn,.followup-overview>.section-heading>.btn{width:auto!important;min-height:44px;padding:.55rem .85rem;font-size:.82rem;flex:none}.followup-task .status{white-space:nowrap;font-size:.72rem}
.followup-area-summary{margin:.75rem 0 1rem;border:1px solid #e2e8f0;border-radius:12px;padding:.7rem .9rem}.followup-area-summary summary{cursor:pointer;font-weight:600;min-height:28px}.followup-area-links{display:grid;gap:.5rem;margin-top:.75rem}.followup-area-links a{display:flex;justify-content:space-between;gap:.5rem;flex-wrap:wrap;padding:.7rem;border-radius:8px;background:#f8fafc;text-decoration:none;color:inherit}.followup-area-links span{font-size:.8rem;color:#475569}.followup-priority-title{margin:1rem 0 .75rem}.followup-overview{margin-bottom:1rem}
.followup-capture-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.followup-capture-heading h2{font-size:clamp(1.25rem,3vw,1.8rem);margin:.75rem 0;overflow-wrap:anywhere}.followup-capture-heading .pill{margin-right:.35rem}.followup-capture-heading p{font-size:.9rem;overflow-wrap:anywhere}
.followup-items{display:grid;gap:1rem;min-width:0}.followup-item{min-width:0;margin:0;padding:1rem;border:1px solid #dbe3ed;border-radius:12px;background:#fbfcfe;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.followup-item legend{padding:0 .4rem;font-weight:700;font-size:.9rem;max-width:100%;overflow-wrap:anywhere}.followup-item label{display:flex;flex-direction:column;gap:.4rem;min-width:0;font-size:.85rem}.followup-item input{width:100%;min-width:0;min-height:44px;font-size:1rem}.followup-item-name,.followup-item-note{grid-column:1/-1}.followup-remove{justify-self:start;min-height:44px}.followup-item p{margin:.5rem 0 0;overflow-wrap:anywhere}.followup-planned strong{display:block;font-size:1.15rem;margin:.5rem 0}.followup-result{grid-column:1/-1;display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.followup-result output{white-space:nowrap}.followup-read-item h4{grid-column:1/-1;margin:0;overflow-wrap:anywhere}.followup-read-item dl{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:0}.followup-read-item dt{font-size:.75rem;color:#64748b}.followup-read-item dd{margin:.35rem 0 0;overflow-wrap:anywhere}.followup-save-bar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;padding-top:1rem;border-top:1px solid #e2e8f0}.followup-save-bar .btn{min-height:48px}.followup-save-bar .muted{font-size:.85rem}.followup-note{white-space:pre-wrap;overflow-wrap:anywhere}.followup-completion{padding:1rem;margin-bottom:1rem;border-radius:12px;background:#fff}.followup-completion .checklist-progress-track{margin:.7rem 0}
.followup-chip:focus-visible,.followup-area-summary summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(min-width:700px){.followup-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.followup-task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.followup-area-links{grid-template-columns:repeat(2,minmax(0,1fr))}.followup-plan-item{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) auto}.followup-item-name{grid-column:1/2}.followup-plan-item .followup-item-note{grid-column:1/4;grid-row:2}.followup-remove{grid-column:4;grid-row:2;align-self:end}.followup-confirm-item{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr)}.followup-confirm-item .followup-result{grid-column:auto;align-content:start}.followup-read-item dl{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:699px){.followup-board .section-card,.followup-capture .section-card,.followup-overview{padding:1rem}.followup-date-form{width:100%}.followup-date-form label{flex:1}.followup-capture .section-heading{align-items:flex-start;gap:.75rem}.followup-overview>.section-heading{align-items:flex-start}.followup-date-nav .btn{width:auto}.followup-save-bar .btn{width:100%}.followup-item{padding:.85rem}.followup-item .eyebrow{font-size:.65rem}.followup-overview>.section-heading{flex-wrap:wrap}}
.followup-task .sr-only,.followup-capture .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}
.followup-overview>.section-heading>.btn{justify-self:start;align-self:flex-start}
