.finance-toolbar--followups{grid-template-columns:minmax(14rem,1fr) minmax(9rem,.55fr) minmax(11rem,.65fr) auto}
.followups-row{cursor:pointer}.followups-row:focus,.followups-card:focus{outline:.1875rem solid var(--color-focus);outline-offset:.125rem}
.followups-card{cursor:pointer;padding:var(--space-5)}.followups-row.is-readonly,.followups-card.is-readonly{cursor:default}
.followups-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-4)}
.followups-card__head strong,.followups-card__head small{display:block}.followups-card__head small{margin-top:var(--space-1);color:var(--color-text-muted)}
.followups-detail-meta{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);margin-top:var(--space-4);color:var(--color-text-muted);font-size:var(--font-size-sm)}
.followups-detail-actions{position:sticky;bottom:0;margin-top:var(--space-6);padding-top:var(--space-4);background:var(--color-surface)}
[data-opening-account][hidden]{display:none}
[data-opening-help]{display:block;margin-top:var(--space-2);color:var(--color-text-muted)}
@media(max-width:47.99rem){.finance-toolbar--followups{grid-template-columns:1fr}.followups-card__head,.followups-detail-meta{align-items:flex-start;flex-direction:column}.followups-detail-actions .btn{width:100%}}

/* P018-R6 — workflow piloté par les libellés configurés */
.followup-operations{margin-bottom:1rem;padding:1rem}.followup-operations__head h2{margin:.15rem 0}.followup-operations__head p{margin:.25rem 0 0;color:var(--color-text-muted)}.followup-type-tabs{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}.followup-operation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.followup-operation-card{appearance:none;border:1px solid var(--color-border);background:var(--color-surface);border-radius:14px;padding:1rem;text-align:left;display:flex;flex-direction:column;gap:.45rem;cursor:pointer;color:inherit}.followup-operation-card:hover,.followup-operation-card:focus-visible{border-color:var(--color-focus);outline:.125rem solid var(--color-focus);outline-offset:.125rem}.followup-operation-card strong{font-size:1rem}.followup-operation-card small{color:var(--color-text-muted);line-height:1.4}.followup-operation-list{display:grid;gap:.65rem;margin-top:1rem}.finance-drawer--targets{max-width:720px}.followup-target-list{display:grid;gap:.55rem;margin:1rem 0}.followup-target{appearance:none;width:100%;border:1px solid var(--color-border);background:var(--color-surface);border-radius:12px;padding:.85rem 1rem;display:flex;justify-content:space-between;gap:1rem;text-align:left;cursor:pointer;color:inherit}.followup-target:hover,.followup-target:focus-visible{border-color:var(--color-focus);outline:.125rem solid var(--color-focus);outline-offset:.125rem}.followup-target span{display:flex;flex-direction:column;gap:.2rem}.followup-target span:last-child{text-align:right;align-items:flex-end}.followup-target small{color:var(--color-text-muted)}
@media (max-width:45rem){.followup-operation-grid{grid-template-columns:1fr}.followup-type-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.followup-target{align-items:flex-start}.finance-drawer--targets{width:100%}}

/* P018-R8 — sélection directe des dossiers existants */
.followup-target-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-top:1rem;padding:.85rem 0;border-top:1px solid var(--color-border)}
.followup-target-heading>div{display:grid;gap:.2rem}.followup-target-heading small{color:var(--color-text-muted);line-height:1.45}
.followup-target__amount em{margin-top:.25rem;color:var(--color-amber-700);font-size:var(--font-size-xs);font-style:normal;font-weight:800}
.followup-target-filter{margin-top:1rem;border-top:1px solid var(--color-border);padding-top:.85rem}.followup-target-filter summary{cursor:pointer;font-weight:800}.followup-target-filter summary span{color:var(--color-text-muted);font-size:var(--font-size-xs);font-weight:600}.followup-target-filter .finance-toolbar{margin-top:.75rem}
@media(max-width:47.99rem){.followup-target-heading{flex-direction:column}.followup-target__amount{min-width:7rem}.followup-target-filter .finance-toolbar{grid-template-columns:1fr}.dashboard-mobile__logout-action{white-space:nowrap}}

.followups-historical-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-3);margin:var(--space-3) 0}.followups-historical-summary article{display:grid;gap:var(--space-2);padding:var(--space-4)}.followups-historical-summary article span,.followups-historical-summary article small{color:var(--color-text-muted)}.followups-historical-summary article strong{font-size:var(--font-size-xl);font-variant-numeric:tabular-nums}.followups-history-note{margin:var(--space-3) 0;padding:var(--space-4);border-style:dashed}.followups-history-note p{margin:.35rem 0 0;color:var(--color-text-muted);line-height:1.45}@media screen and (max-width:64rem){.followups-historical-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media screen and (max-width:30rem){.followups-historical-summary{grid-template-columns:1fr}}
