/* ═══════════════════════════════════════════
   Plateau de régie (EX-001) — grille groupes × représentations
   Variables du design system Matizi (app.css) ; préfixe .bd-
   ═══════════════════════════════════════════ */

.bd-wrap {
    --bd-ok: #059669;
    --bd-warn: #d97706;
    --bd-bad: #dc2626;
    --bd-sb: #64748b;
    --bd-c1: #0f766e; --bd-c2: #4f46e5; --bd-c3: #2563eb; --bd-c4: #be185d;
    --bd-c5: #4d7c0f; --bd-c6: #7c3aed; --bd-c7: #0e7490; --bd-c8: #92400e;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bd-top { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: flex-end; justify-content: space-between; }
.bd-top h1 { font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 700; margin: 0; line-height: 1.15; }
.bd-top .bd-meta { color: var(--text-muted); font-size: .875rem; margin-top: .25rem; }
.bd-back { color: var(--text-muted); text-decoration: none; font-size: .875rem; }
.bd-back:hover { color: var(--primary); }
.bd-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

.bd-tabs { display: inline-flex; background: var(--bg-card); border: 1px solid var(--border); border-radius: .625rem; padding: 3px; gap: 2px; }
.bd-tabs button { border: 0; background: transparent; padding: .375rem .75rem; border-radius: .45rem; font-weight: 500; color: var(--text-muted); font-size: .875rem; }
.bd-tabs button[aria-pressed="true"] { background: var(--primary); color: #fff; }

.bd-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 1rem; align-items: start; }
@media (max-width: 991.98px) { .bd-layout { grid-template-columns: 1fr; } }

/* ── Vivier ─────────────────────────────── */
.bd-pool {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card);
    box-shadow: var(--shadow-card); padding: .75rem; display: flex; flex-direction: column; gap: .625rem;
    position: sticky; top: calc(var(--navbar-h) + .5rem); max-height: calc(100vh - var(--navbar-h) - 1.5rem);
}
@media (max-width: 991.98px) { .bd-pool { position: static; max-height: none; } }
.bd-pool h2 { font-size: .95rem; font-weight: 700; margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.bd-pool h2 small { font-weight: 500; font-size: .75rem; color: var(--text-muted); }
.bd-chips { display: flex; gap: .375rem; flex-wrap: wrap; }
.bd-chip { border: 1px solid var(--border); background: transparent; border-radius: 99px; padding: .125rem .625rem; font-size: .75rem; color: var(--text-muted); }
.bd-chip[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.bd-chip .n { opacity: .7; margin-left: .2rem; font-variant-numeric: tabular-nums; }
.bd-legend { display: flex; flex-wrap: wrap; gap: .25rem .625rem; font-size: .6875rem; color: var(--text-muted); align-items: center; }
.bd-legend span { display: inline-flex; align-items: center; gap: .25rem; }
.bd-list { overflow: auto; display: flex; flex-direction: column; gap: .375rem; min-height: 0; padding: 2px; }
@media (max-width: 991.98px) { .bd-list { max-height: 320px; } }

.bd-pa { display: flex; align-items: center; gap: .5rem; padding: .4rem .5rem; border: 1px solid var(--border); border-radius: .625rem; background: var(--bg-card); cursor: grab; user-select: none; -webkit-user-select: none; min-height: 44px; }
.bd-pa:hover { border-color: var(--text-muted); }
.bd-pa.sel { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(180, 20, 20, .15); }
.bd-pa.gone { opacity: .5; cursor: not-allowed; }
.bd-av { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .75rem; color: #fff; }
.bd-av.k-invite { border-radius: 8px; }
.bd-av.k-parent, .bd-av.k-externe { border-radius: 50% 50% 50% 8px; }
.bd-av.k-resp { border-radius: 4px; outline: 2px solid var(--text-main); outline-offset: 1px; }
.bd-pa .nm { min-width: 0; flex: 1; }
.bd-pa .nm b { display: block; font-weight: 600; font-size: .875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-pa .nm small { display: block; color: var(--text-muted); font-size: .6875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-sq { display: flex; gap: 3px; flex: none; }
.bd-sq i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--border); display: block; }
.bd-sq i.placed { border-color: transparent; background: var(--c); }
.bd-sq i.free { border-color: var(--bd-ok); }
.bd-sq i.pend { border-color: var(--bd-warn); border-style: dashed; }
.bd-sq i.sb { border-color: var(--bd-sb); background: repeating-linear-gradient(135deg, var(--bd-sb) 0 2px, transparent 2px 5px); }
.bd-sq i.no { background: repeating-linear-gradient(135deg, var(--border) 0 2px, transparent 2px 5px); }
.bd-sq i.unk { border-style: dotted; border-color: var(--text-muted); opacity: .5; }
.bd-legend .bd-sq i { width: 11px; height: 11px; }

.bd-form { border: 1px dashed var(--text-muted); border-radius: .625rem; padding: .625rem; display: flex; flex-direction: column; gap: .5rem; background: var(--bg-app); }
.bd-form small { color: var(--text-muted); font-size: .6875rem; }
.bd-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .375rem; }
.bd-dayrow { display: flex; flex-wrap: wrap; gap: .375rem; align-items: center; font-size: .75rem; color: var(--text-muted); }

/* ── Grille ─────────────────────────────── */
.bd-board { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); overflow: hidden; }
.bd-scroll { overflow: auto; max-height: calc(100vh - 9rem); min-height: 320px; container-type: inline-size; }
/* En-tête et première colonne figés : on sait toujours de quelle date et de quelle ligne on parle */
.bd-grid > .bd-colhead, .bd-pgrid > .bd-colhead { position: sticky; top: 0; z-index: 3; }
.bd-grid > .bd-rowhead, .bd-pgrid > .bd-arow { position: sticky; left: 0; z-index: 2; }
.bd-grid > .bd-corner, .bd-pgrid > .bd-corner { position: sticky; top: 0; left: 0; z-index: 4; }
.bd-grid > .bd-sechead { position: sticky; left: 0; width: 100cqw; box-sizing: border-box; z-index: 2; }
.bd-grid > .bd-addrow, .bd-grid > .bd-emptyboard { position: sticky; left: 0; width: 100cqw; box-sizing: border-box; z-index: 1; }
.bd-grid { display: grid; grid-template-columns: 210px repeat(var(--bd-cols, 3), minmax(190px, 1fr)); min-width: calc(210px + var(--bd-cols, 3) * 190px); }
.bd-corner, .bd-colhead, .bd-rowhead, .bd-cell { border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); }
.bd-corner { padding: .75rem; color: var(--text-muted); font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; display: flex; align-items: end; background: var(--bg-app); }
.bd-colhead { padding: .625rem .75rem; background: var(--bg-app); display: flex; flex-direction: column; gap: .375rem; }
.bd-colhead .t { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.bd-colhead b { font-size: 1rem; }
.bd-colhead.focus, .bd-cell.focus { background: var(--primary-light); }
.bd-colhead.focus { box-shadow: inset 0 3px 0 var(--primary); }
.bd-pres { display: flex; gap: .625rem; flex-wrap: wrap; font-size: .6875rem; color: var(--text-muted); }
.bd-pres b { color: var(--text-main); }
.bd-pres .p { color: var(--bd-ok); } .bd-pres .w { color: var(--bd-warn); }
.bd-segs { display: flex; gap: 3px; }
.bd-segs i { flex: 1; height: 5px; border-radius: 3px; background: var(--border); }
.bd-segs i.ok { background: var(--bd-ok); } .bd-segs i.low { background: var(--bd-warn); } .bd-segs i.high { background: var(--bd-bad); }
.bd-colhead .st { display: flex; justify-content: space-between; align-items: center; gap: .375rem; font-size: .75rem; color: var(--text-muted); }
.bd-todo { color: var(--bd-ok); font-weight: 600; }
.bd-link { border: 0; background: none; padding: 0; color: var(--primary); font-size: .75rem; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.bd-sechead { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .625rem .75rem; background: var(--bg-app); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.bd-sechead b { font-size: .95rem; }
.bd-sechead span { color: var(--text-muted); margin-left: .25rem; }
.bd-sechead small { color: var(--text-muted); margin-left: .625rem; }
.bd-addrow { grid-column: 1 / -1; border: 0; border-bottom: 1px solid var(--border); background: transparent; padding: .625rem .75rem; text-align: left; color: var(--text-muted); font-weight: 500; min-height: 44px; }
.bd-addrow:hover { color: var(--primary); background: var(--primary-light); }
.bd-emptyboard { grid-column: 1 / -1; padding: 1.25rem .75rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }

.bd-rowhead { padding: .625rem .75rem; display: flex; gap: .5rem; align-items: flex-start; position: relative; background: var(--bg-card); transition: background .12s; }
.bd-rowhead .sw { flex: none; width: 6px; align-self: stretch; border-radius: 3px; background: var(--c); }
.bd-rowhead b { display: block; font-weight: 600; font-size: .9rem; }
.bd-rowhead small { color: var(--text-muted); font-size: .6875rem; display: block; }
.bd-rowhead .allhint { display: none; position: absolute; right: .5rem; top: .5rem; font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); }
body.bd-dragging .bd-rowhead[data-drop]:not(.blocked) .allhint, body.bd-picking .bd-rowhead:hover .allhint { display: block; }
.bd-rowhead.sbhead .sw { background: repeating-linear-gradient(135deg, var(--bd-sb) 0 3px, transparent 3px 6px); }

.bd-cell { padding: .5rem; min-height: 92px; display: flex; flex-direction: column; gap: .375rem; position: relative; background: var(--bg-card); transition: background .12s; }
.bd-cell.sbcell { background: var(--bg-app); }
.bd-cell.off { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(148, 163, 184, .18) 6px 8px); align-items: center; justify-content: center; text-align: center; color: var(--text-muted); font-size: .75rem; }
.bd-cellhead { display: flex; justify-content: space-between; align-items: center; min-height: 20px; }
.bd-gauge { font-size: .6875rem; font-variant-numeric: tabular-nums; padding: 1px .5rem; border-radius: 99px; border: 1px solid var(--border); color: var(--text-muted); }
.bd-cell.ok .bd-gauge { color: var(--bd-ok); border-color: var(--bd-ok); }
.bd-cell.low .bd-gauge { color: var(--bd-warn); border-color: var(--bd-warn); }
.bd-cell.high .bd-gauge { color: var(--bd-bad); border-color: var(--bd-bad); }
.bd-spread { opacity: 0; border: 1px solid var(--border); background: var(--bg-card); border-radius: 6px; font-size: .6875rem; padding: 1px .375rem; color: var(--text-muted); }
.bd-cell:hover .bd-spread, .bd-spread:focus-visible { opacity: 1; }
@media (hover: none) { .bd-spread { opacity: 1; } }
.bd-spread:hover { color: var(--primary); border-color: var(--primary); }
.bd-cellact { display: inline-flex; gap: .25rem; margin-left: auto; }
.bd-edit { position: absolute; right: .5rem; top: .5rem; opacity: 0; border: 1px solid var(--border); background: var(--bg-card); border-radius: 6px; font-size: .75rem; padding: 1px .375rem; color: var(--text-muted); }
.bd-rowhead:hover .bd-edit, .bd-edit:focus-visible { opacity: 1; }
@media (hover: none) { .bd-edit { opacity: 1; } }
.bd-edit:hover { color: var(--primary); border-color: var(--primary); }
body.bd-dragging .bd-edit, body.bd-picking .bd-edit { display: none; }
.bd-cell .bd-chips { gap: .3rem; }
.bd-empty { color: var(--text-muted); font-size: .75rem; border: 1.5px dashed var(--border); border-radius: .5rem; padding: .625rem; text-align: center; flex: 1; display: grid; place-items: center; }

.bd-ac { display: inline-flex; align-items: center; gap: .375rem; padding: 3px 4px 3px 6px; border-radius: 99px; font-size: .8125rem; font-weight: 500; cursor: grab; background: color-mix(in srgb, var(--c, var(--bd-sb)) 14%, #fff); border: 1px solid color-mix(in srgb, var(--c, var(--bd-sb)) 40%, #fff); user-select: none; -webkit-user-select: none; }
.bd-ac .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bd-ok); }
.bd-ac .dot.pend { background: transparent; border: 2px solid var(--bd-warn); }
.bd-ac button { border: 0; background: none; color: var(--text-muted); width: 22px; height: 22px; line-height: 1; border-radius: 50%; padding: 0; font-size: 1rem; }
.bd-ac button:hover { background: var(--border); color: var(--text-main); }
.bd-ac .dbl { font-size: .625rem; font-weight: 700; color: #fff; background: var(--bd-warn); border-radius: 99px; padding: 0 .3rem; }
.bd-ac .ty { font-size: .5625rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; color: var(--text-muted); }

.bd-composer { grid-column: 1 / -1; padding: .875rem .75rem; border-bottom: 1px solid var(--border); background: var(--primary-light); display: flex; flex-direction: column; gap: .625rem; }
.bd-cfields { display: flex; gap: .625rem; flex-wrap: wrap; align-items: flex-end; }
.bd-f { display: flex; flex-direction: column; gap: 3px; font-size: .6875rem; color: var(--text-muted); font-weight: 600; min-width: 120px; flex: 1; }
.bd-f.w2 { flex: 2; min-width: 200px; } .bd-f.s { max-width: 140px; min-width: 90px; }
.bd-sugg { display: flex; gap: .375rem; flex-wrap: wrap; align-items: center; font-size: .75rem; color: var(--text-muted); }
.bd-crow { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.bd-crow small { color: var(--text-muted); font-size: .6875rem; }

/* Dépôt */
body.bd-dragging .bd-cell.blocked, body.bd-dragging .bd-rowhead.blocked { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(148, 163, 184, .3) 6px 8px); cursor: not-allowed; }
body.bd-dragging .bd-cell.blocked > * { opacity: .5; }
body.bd-dragging .bd-cell[data-drop]:not(.blocked) { background: rgba(180, 20, 20, .04); }
.bd-over { background: rgba(180, 20, 20, .14) !important; box-shadow: inset 0 0 0 2px var(--primary); }
body.bd-picking .bd-cell[data-drop] { cursor: copy; }
body.bd-picking .bd-cell[data-drop]:hover { background: rgba(180, 20, 20, .1); }

/* Présences */
.bd-grp { font-weight: 700; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); display: flex; justify-content: space-between; align-items: center; padding: .375rem 2px 0; }
.bd-grp b { color: var(--text-main); }
.bd-pill { font-size: .6875rem; font-weight: 600; padding: 1px .5rem; border-radius: 99px; border: 1px solid var(--border); color: var(--text-muted); white-space: nowrap; }
.bd-pill.free { color: var(--bd-ok); border-color: var(--bd-ok); }
.bd-pill.pend { color: var(--bd-warn); border-color: var(--bd-warn); border-style: dashed; }
.bd-pill.abs { text-decoration: line-through; }
.bd-pill.pl { color: var(--c); border-color: var(--c); }
.bd-focusbar { display: flex; justify-content: space-between; align-items: center; gap: .5rem; background: var(--primary-light); border: 1px solid var(--primary); border-radius: .5rem; padding: .375rem .625rem; font-size: .75rem; }

/* Par personne */
.bd-pgrid { display: grid; grid-template-columns: 210px repeat(var(--bd-cols, 3), minmax(160px, 1fr)); min-width: calc(210px + var(--bd-cols, 3) * 160px); }
.bd-pcell { padding: .5rem; min-height: 50px; display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; cursor: pointer; background: var(--bg-card); text-align: left; border: 0; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); border-radius: 0; color: var(--text-main); }
.bd-pcell:hover { background: var(--bg-app); }
.bd-pcell.no { cursor: not-allowed; color: var(--text-muted); font-size: .75rem; background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(148, 163, 184, .25) 6px 8px); }
.bd-tag { font-size: .75rem; font-weight: 600; padding: 2px .5rem; border-radius: 99px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); border: 1px solid color-mix(in srgb, var(--c) 40%, #fff); }
.bd-tag.sbt { --c: var(--bd-sb); }
.bd-ph { font-size: .75rem; color: var(--bd-ok); border: 1.5px dashed var(--bd-ok); border-radius: 99px; padding: 1px .5rem; }
.bd-ph.pend { color: var(--bd-warn); border-color: var(--bd-warn); }
.bd-arow { padding: .5rem .75rem; display: flex; gap: .5rem; align-items: center; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); background: var(--bg-card); }
.bd-arow b { font-weight: 600; display: block; font-size: .875rem; }
.bd-arow small { color: var(--text-muted); font-size: .6875rem; }

/* Déroulé */
.bd-runbar { display: flex; gap: .375rem; flex-wrap: wrap; padding: .625rem .75rem; background: var(--bg-app); border-bottom: 1px solid var(--border); align-items: center; }
.bd-run { display: grid; grid-template-columns: 70px 210px minmax(0, 1fr); border-bottom: 1px solid var(--border); }
.bd-run .time { padding: .75rem; font-variant-numeric: tabular-nums; color: var(--text-muted); font-weight: 600; }
.bd-run .bd-rowhead { border-bottom: 0; }
.bd-run .bd-cell { border-bottom: 0; border-right: 0; min-height: 70px; }
@media (max-width: 640px) { .bd-run { grid-template-columns: 56px 1fr; } .bd-run .bd-cell { grid-column: 1 / -1; border-top: 1px solid var(--border); } }

/* Indications et annulation */
.bd-dock { position: fixed; left: 0; right: 0; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: center; gap: .5rem; pointer-events: none; padding-inline: 1rem; z-index: 1040; }
.bd-bubble { pointer-events: auto; background: var(--text-main); color: #fff; border-radius: .75rem; padding: .5rem .875rem; box-shadow: var(--shadow-hover); display: flex; align-items: center; gap: .75rem; max-width: min(760px, 100%); font-weight: 500; font-size: .875rem; }
.bd-bubble button { border: 0; background: none; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; padding: 0; min-height: 28px; }
.bd-bubble kbd { font-size: .6875rem; border: 1px solid rgba(255, 255, 255, .4); border-radius: 4px; padding: 0 .3rem; background: transparent; color: inherit; }

.bd-pop { position: absolute; z-index: 1050; background: var(--bg-card); border: 1px solid var(--border); border-radius: .75rem; box-shadow: var(--shadow-hover); padding: .5rem; width: 260px; display: flex; flex-direction: column; gap: 2px; }
.bd-pop h3 { margin: 2px .375rem .375rem; font-size: .8125rem; font-weight: 700; }
.bd-pop .pg { font-weight: 700; font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); padding: .375rem .5rem 2px; }
.bd-pop button.it { display: flex; align-items: center; gap: .5rem; border: 0; background: none; padding: .375rem .5rem; border-radius: .45rem; text-align: left; min-height: 36px; }
.bd-pop button.it:hover { background: var(--bg-app); }
.bd-pop .ck { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--border); display: grid; place-items: center; font-size: .6875rem; color: #fff; }
.bd-pop button.it.on .ck { background: var(--c); border-color: var(--c); }
.bd-pop label { display: flex; gap: .5rem; align-items: center; padding: .5rem .5rem .25rem; border-top: 1px solid var(--border); margin-top: .25rem; font-size: .75rem; color: var(--text-muted); }

.bd-wrap.bd-busy .bd-board, .bd-wrap.bd-busy .bd-pool { opacity: .65; pointer-events: none; }
.bd-wrap.bd-busy::after { content: ''; position: fixed; top: calc(var(--navbar-h) + 4px); right: 1rem; width: 1.25rem; height: 1.25rem; border: 2px solid var(--primary); border-right-color: transparent; border-radius: 50%; animation: bd-spin .7s linear infinite; z-index: 1060; }
@keyframes bd-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) { .bd-wrap * { transition: none !important; } }

/* Dates d'organisation (EX-002) : montage, démontage, répétition… */
.bd-colhead.org { background-color: #fef3c7; background-image: repeating-linear-gradient(135deg, transparent 0 8px, rgba(180, 83, 9, .07) 8px 16px); }
.bd-colhead .bd-kind { font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.bd-colhead.org .bd-kind { color: #b45309; }
.bd-loc { display: block; color: var(--text-muted); font-size: .6875rem; line-height: 1.3; }
.bd-cell.off.quiet { background: transparent; }
.bd-open { display: flex; gap: .5rem; align-items: flex-start; font-size: .8125rem; margin: .25rem 0; }
.bd-open small { color: var(--text-muted); }
.bd-kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .5rem; }
.bd-kinds[hidden] { display: none; }
.bd-kind-btn { border: 1.5px solid var(--border); background: var(--bg-card); border-radius: .625rem; padding: .625rem; text-align: left; display: flex; flex-direction: column; gap: 2px; min-height: 44px; }
.bd-kind-btn small { color: var(--text-muted); font-size: .6875rem; }
.bd-kind-btn[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-light); }
.bd-kind-btn.org[aria-pressed="true"] { border-color: #b45309; background: #fef3c7; }
.bd-presetbox { border: 1px dashed #b45309; background: #fef3c7; border-radius: .625rem; padding: .625rem .75rem; display: flex; flex-direction: column; gap: .375rem; margin-top: .75rem; }

/* Remplacement d'un·e artiste absent·e */
.bd-ac.abs { background: #fef2f2; border-color: #fca5a5; color: #991b1b; }
.bd-ac .dot.abs { background: #dc2626; }
.bd-ac button[data-replace] { color: #991b1b; font-weight: 700; }
.bd-urgent { color: #b91c1c; font-weight: 700; }
.bd-repl { border: 1px solid #fecaca; background: #fffafa; border-radius: .625rem; padding: .6rem .7rem; margin-bottom: .75rem; display: flex; flex-direction: column; gap: .4rem; }
.bd-repl-head { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; font-size: .85rem; }
.bd-repl-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.bd-repl-row small { display: block; color: var(--text-muted); font-size: .6875rem; }
.bd-repl-who { display: flex; align-items: center; gap: .5rem; min-width: 0; }

/* Reprise d'une date : cibles tactiles confortables en colonne unique */
@media (max-width: 991.98px) { .bd-chip[data-reusesrc] { min-height: 44px; font-size: .9rem; } }
