/* Bloc « Espace freelance » (campaign 12): the vivier sheet and the open row of Suivi. Classes start with eb-. */
.eb-emplacement:empty { display: none; }
.eb-bloc { border: 1px solid var(--line); border-radius: 10px; padding: .8rem .9rem; margin: .8rem 0; display: flex; flex-direction: column; gap: .55rem; min-width: 0; text-align: left; }
.eb-bloc p { margin: 0; }
.eb-titre { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.eb-titre b { font-size: .92rem; }
.eb-phrase { font-size: .92rem; overflow-wrap: anywhere; }
.eb-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; font-size: .85rem; }
.eb-details summary { cursor: pointer; font-size: .88rem; font-weight: 700; }
.eb-actes, .eb-ouvertures { list-style: none; margin: .5rem 0 0; padding: 0; font-size: .86rem; }
.eb-actes li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; gap: .6rem; align-items: baseline; padding: .32rem 0; border-top: 1px solid var(--line); }
.eb-historique .eb-actes li { grid-template-columns: 3.4rem minmax(0, 1fr); }
.eb-ouvertures li { display: flex; flex-wrap: wrap; gap: .5rem; padding: .32rem 0; border-top: 1px solid var(--line); }
.eb-actes li:first-child, .eb-ouvertures li:first-child { border-top: 0; }
.eb-actes li span { overflow-wrap: anywhere; }
.eb-actes time { color: var(--sub); font-variant-numeric: tabular-nums; }
.eb-lien { background: none; border: 0; padding: 0; font: inherit; font-size: .82rem; color: var(--teal); text-decoration: underline; cursor: pointer; text-align: right; }
.eb-note { margin-top: .4rem !important; font-size: .82rem; }

@media (max-width: 640px) {
  .eb-actes li { grid-template-columns: 3.4rem minmax(0, 1fr); }
  .eb-actes li .eb-lien { grid-column: 2; text-align: left; }
}
@media (pointer: coarse) {
  .eb-actions .btn, .eb-details summary, .eb-lien { min-height: 44px; }
  .eb-details summary { display: flex; align-items: center; }
}
