/* Same public pedigree and north-up presentation as the geocoding proof. */
.journey-migrations { padding-block: 2.5rem; }
.journey-migrations .journey-copy h2 { font-size: clamp(2.3rem, 3.2vw, 3rem); }
.migration-story { min-width: 0; border-radius: 10px; overflow: clip; background: #fbf6ea; color: #071f32; }
.migration-story [data-branch="pp"] { --flow-color: #228be6; }
.migration-story [data-branch="pm"] { --flow-color: #a682ff; }
.migration-story [data-branch="mp"] { --flow-color: #ffc75f; }
.migration-story [data-branch="mm"] { --flow-color: #ff5e5b; }
.migration-toolbar { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .25rem 1rem; font-size: .8rem; color: #435d6b; }
.migration-toolbar button { min-height: 44px; padding: .4rem .6rem; background: transparent; color: #143b54; border: 0; border-radius: 6px; cursor: pointer; font: inherit; }
.migration-toolbar button:hover { background: #e3ebe9; }
.migration-canvas { position: relative; margin: 0; background: #d9e7e8; overflow: clip; }
.migration-canvas svg { display: block; width: 100%; height: 22rem; transform: none; }
.migration-land { fill: #f2f0ea; stroke: #788381; stroke-width: .3; }
.migration-canvas figcaption { position: absolute; bottom: .4rem; right: .7rem; font-size: .6rem; color: #315567; }
.migration-canvas figcaption a { color: inherit; }
.migration-flow { pointer-events: none; outline: none; }
.migration-flow[data-selectable] { cursor: pointer; pointer-events: auto; }
.migration-flow:not([data-selectable]) .migration-flow-hit { pointer-events: none; }
.migration-flow:not([data-selectable]) .migration-flow-line { stroke-width: .4; }
.migration-story [data-branch="paternal"] { --flow-color: #5967b3; }
.migration-story [data-branch="maternal"] { --flow-color: #b6613e; }
.migration-paris { pointer-events: none; }
.migration-paris circle { fill: #071f32; stroke: #fffdf7; stroke-width: .6; }
.migration-paris text { font: 600 3px Mulish, sans-serif; fill: #071f32; paint-order: stroke; stroke: #fbf6ea; stroke-width: .8; stroke-linejoin: round; }
.migration-flow path { stroke-linejoin: round; }
.migration-flow-casing { fill: none; stroke: #173d51; stroke-width: 1.1; opacity: .65; }
.migration-flow-line { fill: none; stroke: var(--flow-color); stroke-width: .65; }
.migration-flow-arrow { fill: var(--flow-color); stroke: #173d51; stroke-width: .2; pointer-events: none; }
.migration-flow-hit { fill: none; stroke: transparent; stroke-width: 6; pointer-events: stroke; }
.migration-flow:is(:hover, :focus-visible, [aria-pressed="true"]) .migration-flow-casing { stroke-width: 1.8; opacity: 1; }
.journey-migrations .migration-flow:focus-visible { outline: none; }
.migration-place { fill: var(--flow-color); stroke: #fff; stroke-width: .5; pointer-events: none; }
.migration-place[data-branch="paternal"] { fill: url(#migration-paternal); }
.migration-place[data-branch="maternal"] { fill: url(#migration-maternal); }
.migration-flow[data-progress="pending"] { opacity: 0; pointer-events: none; }
.migration-selection { display: flex; align-items: center; gap: .8rem; padding: .65rem 1rem; border-bottom: 1px solid #d4d9d5; }
.migration-selection label { flex: 1; font-size: .8rem; line-height: 1.4; color: #435563; }
.migration-selection select { max-width: 55%; min-width: 0; min-height: 44px; border: 1px solid #a6b7bd; border-radius: 6px; padding: .45rem .6rem; background: #fffdf7; color: #071f32; font: 600 .8rem Mulish, sans-serif; }
.migration-caption { display: flex; align-items: center; gap: .8rem; padding: .65rem 1rem .35rem; }
.migration-details { flex: 1; min-width: 0; padding: 0; min-height: 3.5rem; }
.migration-details h3 span { font-size: .8rem; font-weight: 400; }
.migration-caption .migration-selection { flex-direction: column; align-items: stretch; gap: .2rem; border: 0; padding: 0; }
.migration-caption .migration-selection label { font-size: .7rem; }
.migration-caption .migration-selection select { max-width: 100%; }
.migration-details h3 { margin: 0 0 .35rem; font: 700 1rem/1.4 Mulish, sans-serif; }
.migration-details p { margin: .3rem 0 0; font-size: .8rem; line-height: 1.5; }
.migration-details p span { color: #435563; }
.migration-detail-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; justify-content: space-between; }
.migration-detail-meta strong { font-weight: 600; }
.migration-note { margin: 0; padding: .3rem 1rem .8rem; color: #52626b; font-size: .7rem; line-height: 1.5; }
@media (max-width: 600px) {
  .migration-canvas svg { height: 21rem; }
  .migration-toolbar { flex-wrap: wrap; }
  .migration-selection { align-items: stretch; flex-direction: column; gap: .35rem; }
  .migration-selection select { width: 100%; max-width: none; }
  .migration-caption { flex-direction: column; align-items: stretch; }
  .migration-details { min-height: 4rem; }
}
