/* Vue « Famille » : tailles en clamp() pour rester lisible de loin sur une TV */
#famille { display: none; flex: 1; overflow: auto; flex-direction: column; align-items: center; gap: clamp(14px, 2.6vh, 34px);
  padding: clamp(12px, 2vw, 36px); font-size: clamp(15px, 1.25vw, 26px); }
body.mode-famille #famille { display: flex; }
body.mode-famille #viewport { display: none; }
body.mode-famille :is(#zin, #zout, #zfit, #collapseAll, #expandAll, #epoques, header label) { display: none; }

.crumbs { display: flex; flex-wrap: wrap; gap: .4em .6em; align-items: center; color: var(--muted); }
.crumb { border: none; background: none; padding: .1em .2em; color: #2b6cb0; text-decoration: underline; cursor: pointer; }
.crumbs b { color: var(--ink); }
.sec { display: flex; flex-direction: column; align-items: center; gap: .5em; max-width: 100%; }
.lbl { font: 600 .75em "Segoe UI", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rowg { display: flex; flex-wrap: wrap; gap: 1em; justify-content: center; align-items: center; }
.sibcol { display: flex; flex-direction: column; align-items: stretch; gap: .4em; max-width: 18em; }
.sibcol .lbl { text-align: center; }
.mar { color: var(--muted); font-size: .85em; max-width: 9em; text-align: center; }
.none { color: var(--muted); font-style: italic; padding: .6em 1em; border: 2px dashed var(--line); border-radius: .7em; }

.fc { position: relative; display: flex; flex-direction: column; gap: .15em; width: clamp(190px, 17vw, 380px); min-height: 4.6em;
  padding: .6em .8em; text-align: left; font: inherit; color: var(--ink); background: var(--u); border: 2px solid var(--acte);
  border-radius: .7em; cursor: pointer; overflow: hidden; box-shadow: 0 1px 3px #0002; }
.fc.M { background: var(--m); } .fc.F { background: var(--f); }
.fc.table { border-color: var(--table); } .fc.temoin { border: 2px dashed var(--temoin); }
.fc:hover { box-shadow: 0 4px 12px #0003; filter: brightness(.97); }
.fc:focus-visible, .fc.focus:focus { outline: .22em solid #2b6cb0; outline-offset: .15em; }
.fc .nm { font: 600 1em Georgia, serif; }
.fc .nm span { font-weight: 400; letter-spacing: .03em; }
.fc .dt { font-size: .9em; } .fc .pl { font-size: .82em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc .ic { position: absolute; right: .4em; top: .3em; }
.fc.focus { width: clamp(230px, 21vw, 460px); font-size: 1.15em; border-width: 3px; }
.fc.sib .ic { display: none; } .fc.sib .dt { white-space: nowrap; }
.fc.sib { width: auto; min-height: 0; flex-direction: row; gap: .6em; padding: .3em .7em; font-size: .85em; }
.fc.uncertain { background: #e4e4e0; opacity: .7; filter: grayscale(.4); }
.fc.impasse { padding-top: 1em; } .fc.fin { padding-bottom: 1em; }
.fc.impasse::before, .fc.fin::after { content: ""; position: absolute; left: 0; right: 0; height: .5em; background: #1d2530; }
.fc.impasse::before { top: 0; } .fc.fin::after { bottom: 0; }

@media (max-width: 560px) { .fc { width: 42vw; } .fc.focus { width: 70vw; } }
@media print { body.mode-famille #viewport { display: block !important; } #famille { display: none !important; } }
