/* Follow-ups use the current reading size and the approved light/dark palette. */
.followup-dashboard{margin-bottom:24px}
.followup-dashboard .card-head{gap:16px;align-items:flex-start;flex-wrap:wrap}
.followup-dashboard .card-head .button{flex-shrink:0}
.followup-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}
.followup-dashboard .followup-overview{margin:0;padding:18px 24px;border-bottom:1px solid var(--line)}
.followup-count{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:9px;background:var(--surface,var(--white));padding:15px 18px;min-width:0;line-height:1.4}
.followup-count strong{font-size:1.7rem;line-height:1;font-variant-numeric:tabular-nums}
.followup-count span{font-size:.9rem;font-weight:650;overflow-wrap:anywhere}
a.followup-count:hover{outline:2px solid currentColor;outline-offset:1px}
.followup-overdue{color:var(--red);background:var(--red-bg)}
.followup-today{color:var(--orange);background:var(--orange-bg)}
.followup-future{color:var(--blue);background:var(--blue-bg)}
.followup-undated{color:var(--muted);background:var(--surface-2,var(--bg))}
.followup-row{display:flex;gap:22px;padding:20px 24px;border-bottom:1px solid var(--line);color:var(--ink);min-width:0;align-items:flex-start}
.followup-row:last-child{border-bottom:0}
.followup-row:hover{background:var(--hover,var(--bg))}
.followup-row-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px;overflow-wrap:anywhere}
.followup-reference,.followup-reason{font-size:.85rem;color:var(--muted)}
.followup-client{font-size:1rem}
.followup-action{line-height:1.55;white-space:pre-line}
.followup-row-due{display:flex;flex-direction:column;align-items:flex-end;gap:9px;flex-shrink:0;font-size:.85rem;color:var(--muted);max-width:40%}
.followup-badge{display:inline-flex;align-items:center;padding:5px 10px;border:1px solid currentColor;border-radius:6px;font-size:.85rem;font-weight:650;text-align:center;line-height:1.45}
.followup-open{color:var(--blue);font-weight:650;text-align:right}
.followup-empty{padding:25px;text-align:center;color:var(--ink)}
.followup-empty strong{font-size:1.05rem}
.followup-empty p{margin:8px 0 0;color:var(--muted);line-height:1.65}
.followup-tools{padding:22px 24px;border-bottom:1px solid var(--line)}
.followup-search{display:flex;flex-direction:column;max-width:38rem;gap:8px}
.followup-search input{width:100%;min-width:0}
.followup-filters{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.followup-filters .button{min-height:44px;gap:8px;white-space:normal}
.followup-filters .button span{font-variant-numeric:tabular-nums}
.followup-filters .button[aria-pressed="true"]{border-color:var(--accent,var(--blue));background:var(--blue-bg);color:var(--blue);outline:1px solid var(--accent,var(--blue));font-weight:750}
.followup-result-count{padding:14px 24px;color:var(--muted);font-size:.9rem;border-bottom:1px solid var(--line)}
.followup-page .table-foot{line-height:1.6}
.followup-editor .card-head{gap:12px;flex-wrap:wrap}
.followup-editor .card-head h2{margin-bottom:5px}
.followup-editor .form-intro{margin-top:0}
.followup-editor textarea{min-height:6rem;resize:vertical}
.followup-editor .check-label{min-height:44px;align-items:center}
.followup-editor input[type="checkbox"]{flex-shrink:0}
.followup-editor .notice{margin-bottom:0}
.followup-editor .notice[hidden]{display:none}
@media(max-width:1100px){.followup-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.followup-count{padding:14px}}
@media(max-width:760px){.followup-dashboard .followup-overview{padding:16px}.followup-row{padding:18px 16px;gap:14px}.followup-tools{padding:18px 16px}.followup-result-count{padding:13px 16px}.followup-count{padding:12px;gap:10px}.followup-count strong{font-size:1.5rem}.followup-count span{font-size:.85rem}.followup-filters{gap:8px}.followup-filters .button{flex:1 1 auto}.followup-row-due{max-width:42%}}
@media(max-width:480px){.followup-row{flex-direction:column;gap:13px}.followup-row-due{flex-direction:row;align-items:center;flex-wrap:wrap;max-width:100%;width:100%;gap:9px}.followup-open{margin-left:auto;text-align:left}.followup-count{align-items:flex-start;flex-direction:column;gap:8px}.followup-empty{padding:23px 16px}}
