.roro-panel {
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  background: var(--roro-card-bg, #fff);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.roro-panel h3 {
  margin-top: 0;
}

.roro-event-list {
  margin: 0;
  padding: 0;
}

.roro-event-item {
  list-style: none;
  border-left: 3px solid #93c5fd;
  padding-left: 0.75rem;
  margin-bottom: 0.75rem;
}

.roro-event-date {
  font-weight: 600;
}

.roro-event-type {
  display: inline-block;
  font-size: 0.8em;
  padding: 0 0.4em;
  border-radius: 4px;
  background: #eff6ff;
  color: #1d4ed8;
}

.roro-event-text {
  margin-top: 0.25rem;
  font-size: 0.95em;
}

.roro-placeholder,
.roro-empty {
  color: #64748b;
  font-style: italic;
}

.roro-map-canvas {
  min-height: 180px;
  border: 1px dashed #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  margin-bottom: 1rem;
}

.roro-event-more {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.9em;
}

.roro-event-item:target {
  background: #fef9c3;
  border-left-color: #ca8a04;
  scroll-margin-top: 80px;
}

.roro-anchor {
  scroll-margin-top: 80px;
}

.roro-year-link {
  text-decoration-style: dotted;
}

/* Family tree. Built from divs with own classes so theme list styles cannot interfere. */
.roro-family-tree .roro-tree-scroll {
  overflow-x: auto;
  padding: 1.1rem 0 1rem;
}

.roro-family-tree .roro-tree,
.roro-family-tree .roro-tree * {
  box-sizing: border-box;
}

.roro-family-tree .roro-tree {
  display: flex;
  justify-content: center;
  min-width: max-content;
  margin: 0;
  padding: 0;
}

.roro-family-tree .roro-tree-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* Children row: vertical line down from the parents, then one branch per child */
.roro-family-tree .roro-tree-children {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 0;
  padding: 18px 0 0;
}

.roro-family-tree .roro-tree-children::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 18px;
  border-left: 2px solid #b8c2cf;
}

.roro-family-tree .roro-tree-children > .roro-tree-node {
  padding: 18px 8px 0;
}

.roro-family-tree .roro-tree-children > .roro-tree-node::before,
.roro-family-tree .roro-tree-children > .roro-tree-node::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  height: 18px;
  border-top: 2px solid #b8c2cf;
}

.roro-family-tree .roro-tree-children > .roro-tree-node::before {
  right: 50%;
}

.roro-family-tree .roro-tree-children > .roro-tree-node::after {
  left: 50%;
  border-left: 2px solid #b8c2cf;
}

.roro-family-tree .roro-tree-children > .roro-tree-node:first-child::before,
.roro-family-tree .roro-tree-children > .roro-tree-node:last-child::after {
  border-top-color: transparent;
}

.roro-family-tree .roro-tree-children > .roro-tree-node:only-child::before,
.roro-family-tree .roro-tree-children > .roro-tree-node:only-child::after {
  border-top-color: transparent;
}

/* Couple: two boxes with the marriage sign between them */
.roro-family-tree .roro-tree-couple {
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.roro-family-tree .roro-tree-couple > .roro-tree-marriage {
  align-self: center;
}

.roro-family-tree .roro-tree-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  min-height: 64px;
  padding: 10px 8px;
  margin: 0;
  background: var(--roro-card-bg, #f6efe0);
  color: var(--roro-card-text, #2b2118);
  border: 1px solid #d5dce5;
  border-top: 3px solid #8a2f1d;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  text-align: center;
  line-height: 1.25;
}

.roro-family-tree .roro-tree-card.is-spouse {
  border-top-color: #1f5f6b;
}

.roro-family-tree .roro-tree-card.is-private {
  justify-content: center;
  border-top-color: #b8c2cf;
  background: #f8fafc;
}

.roro-family-tree .roro-tree-card.is-private .roro-tree-name {
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  color: #64748b;
}

.roro-family-tree img.roro-tree-photo {
  display: block;
  width: 56px !important;
  height: 56px !important;
  max-width: none;
  margin: 0 0 6px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #d5dce5;
  object-fit: cover;
}

.roro-family-tree .roro-tree-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  overflow-wrap: anywhere;
}

.roro-family-tree .roro-tree-name a {
  color: inherit;
  text-decoration: none;
  border: 0;
  box-shadow: none;
}

.roro-family-tree .roro-tree-name a:hover,
.roro-family-tree .roro-tree-name a:focus {
  color: #8a2f1d;
  text-decoration: underline;
}

.roro-family-tree .roro-tree-years {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #64748b;
}

.roro-family-tree .roro-tree-marriage {
  font-size: 18px;
  color: #94a3b8;
}

/* Parents above the start person and link back */
.roro-family-tree .roro-tree-parents {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 13px;
}

.roro-family-tree .roro-tree-parents-label {
  color: #64748b;
}

.roro-family-tree .roro-tree-parent {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 3px 10px;
  border: 1px dashed #b8c2cf;
  border-radius: 999px;
  color: #1e293b;
  text-decoration: none;
}

.roro-family-tree .roro-tree-parent .roro-tree-years {
  display: inline;
  margin: 0;
}

.roro-family-tree .roro-tree-parent:hover {
  border-style: solid;
  color: #8a2f1d;
}

.roro-family-tree .roro-tree-back {
  text-align: center;
  font-size: 13px;
  margin: 0 0 8px;
}

.roro-family-tree .roro-tree-more {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  text-align: center;
}

/* Person and event page: small photo LEFT of the info box, never taller than the box */
.roro-media-row {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin: 1rem 0 1.5rem;
}

.roro-media-row > .roro-person-bio,
.roro-media-row > .roro-event-details {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.roro-media-row .roro-media-photo {
  flex: 0 0 150px;
  display: flex;
  flex-direction: column;
  min-height: 120px;
  margin: 0;
  padding: 0;
}

/* flex-basis 0: the image does not make the row taller, it fills the height the box gives it */
.roro-media-row .roro-media-photo img {
  flex: 1 1 0;
  display: block;
  width: 100% !important;
  height: auto !important;
  min-height: 0;
  max-width: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.roro-media-row .roro-media-photo figcaption {
  flex: 0 0 auto;
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.3;
  color: #64748b;
}

.roro-person-bio dl.roro-person-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 16px;
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  font-size: inherit;
  line-height: 1.45;
}

.roro-person-bio dl.roro-person-facts dt {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: 600;
  color: #475569;
}

.roro-person-bio dl.roro-person-facts dd {
  margin: 0;
  padding: 0;
  font-size: inherit;
}

@media (max-width: 640px) {
  .roro-media-row {
    flex-direction: column;
    align-items: center;
  }

  .roro-media-row > .roro-person-bio,
  .roro-media-row > .roro-event-details {
    width: 100%;
  }

  .roro-media-row .roro-media-photo {
    flex: 0 0 auto;
    width: 140px;
  }

  .roro-media-row .roro-media-photo img {
    flex: 0 0 auto;
  }
}

/* Relationship line */
.roro-relationship-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin: 0 0 12px;
  font-size: 14px;
}

.roro-relationship-form select {
  max-width: 260px;
}

.roro-relationship-headline {
  text-align: center;
  font-size: 1.05em;
  font-weight: 600;
  margin: 0 0 12px;
}

.roro-family-tree .roro-relationship-chain {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  gap: 0;
  padding: 4px 0;
}

.roro-family-tree .roro-relationship-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
  padding: 0 4px;
  color: #64748b;
}

.roro-family-tree .roro-relationship-step-label {
  font-size: 12px;
  line-height: 1.2;
  margin-bottom: 2px;
}

.roro-family-tree .roro-relationship-arrow {
  font-size: 22px;
  line-height: 1;
  color: #94a3b8;
}

.roro-family-tree .roro-tree-card.is-end {
  border-width: 2px;
  border-top-width: 3px;
}

.roro-family-tree .roro-relationship-chain .roro-tree-card {
  width: 128px;
}

.roro-family-tree .roro-relationship-step {
  min-width: 58px;
}

/* ---- Timeline views ---- */
.roro-timeline { --roro-ink: #1e293b; --roro-blue: #1e3a8a; --roro-span: #d97706; overflow: hidden; }
.roro-timeline *, .roro-timeline *::before, .roro-timeline *::after { box-sizing: border-box; }
.roro-timeline .roro-tl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.9rem; }
.roro-timeline .roro-tl-head h3 { margin: 0; }
.roro-timeline .roro-tl-switch { display: inline-flex; }
.roro-timeline .roro-tl-switch[hidden], .roro-timeline .roro-tl-pane[hidden] { display: none !important; }
.roro-timeline.roro-tl-noswitch .roro-tl-switch { display: none !important; }
.roro-timeline .roro-tl-btn { cursor: pointer; border: 1px solid #94a3b8; background: #fff; color: var(--roro-ink); padding: 0.3rem 0.8rem; font-size: 0.9rem; line-height: 1.3; border-radius: 0; margin: 0; text-transform: none; letter-spacing: 0; }
.roro-timeline .roro-tl-switch .roro-tl-btn + .roro-tl-btn { border-left: 0; }
.roro-timeline .roro-tl-switch .roro-tl-btn:first-child { border-radius: 6px 0 0 6px; }
.roro-timeline .roro-tl-switch .roro-tl-btn:last-child { border-radius: 0 6px 6px 0; }
.roro-timeline .roro-tl-btn.is-active { background: var(--roro-blue); border-color: var(--roro-blue); color: #fff; }
.roro-timeline .roro-tl-btn:disabled { opacity: 0.4; cursor: default; }

/* Event type colours */
.roro-timeline .roro-tl-card, .roro-timeline .roro-s-row { --c: #6366f1; }
.roro-timeline .roro-type-birth { --c: #16a34a; }
.roro-timeline .roro-type-death { --c: #475569; }
.roro-timeline .roro-type-wedding { --c: #db2777; }
.roro-timeline .roro-type-residence { --c: #0d9488; }
.roro-timeline .roro-type-opening { --c: #2563eb; }
.roro-timeline .roro-type-closing { --c: #7c3aed; }

/* Card */
.roro-timeline .roro-tl-card { position: relative; z-index: 1; display: flex; flex-direction: column; overflow: hidden; background: var(--roro-card-bg, #f6efe0); color: var(--roro-card-text, #2b2118); border: 0; border-top: 5px solid var(--c); border-radius: 10px; margin: 0 0 0.8rem; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 6px 18px rgba(15, 23, 42, 0.08); transition: box-shadow 0.2s, transform 0.2s; }
.roro-timeline .roro-tl-card:hover { box-shadow: 0 2px 4px rgba(15, 23, 42, 0.1), 0 12px 28px rgba(15, 23, 42, 0.16); }
.roro-timeline .roro-tl-card.roro-is-span { border-top-color: var(--roro-span); }
.roro-timeline .roro-tl-card:target { outline: 3px solid #facc15; scroll-margin-top: 80px; }
.roro-timeline .roro-tl-img { margin: 0; background: #e2e8f0; aspect-ratio: 16 / 9; overflow: hidden; }
.roro-timeline .roro-tl-img img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; max-width: none; }
.roro-timeline .roro-tl-body { padding: 0.65rem 0.85rem 0.8rem; }
.roro-timeline .roro-tl-meta { margin-bottom: 0.2rem; display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.roro-timeline .roro-tl-card .roro-event-date { font-size: 0.85rem; font-weight: 700; color: var(--c); }
.roro-timeline .roro-tl-card .roro-event-type { background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.roro-timeline .roro-tl-card .roro-event-title { display: block; font-weight: 700; font-size: 1.05rem; line-height: 1.3; color: var(--roro-card-text, #2b2118); text-decoration: none; }
.roro-timeline .roro-tl-card .roro-event-title:hover { color: var(--c); }
.roro-timeline .roro-tl-card .roro-event-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.92rem; color: color-mix(in srgb, var(--roro-card-text, #2b2118) 78%, transparent); margin-top: 0.3rem; }
.roro-timeline .roro-tl-links { margin-top: 0.4rem; }

/* Big faint year numbers in the background */
.roro-timeline .roro-bigyear { position: absolute; right: 0.4rem; bottom: 0.1rem; font-size: 5.5rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--roro-blue); opacity: 0.09; pointer-events: none; user-select: none; z-index: 0; }

/* Simple */
.roro-timeline .roro-s-row { padding: 0.5rem 0 0.5rem 0.8rem; border-left: 4px solid var(--c); margin-bottom: 0.6rem; }
.roro-timeline .roro-s-row .roro-event-date { font-weight: 700; color: var(--c); }

/* Vertical */
.roro-timeline .roro-tl-vertical { position: relative; border-radius: 10px; overflow: hidden; }
.roro-timeline .roro-v-year { position: relative; display: flex; gap: 1rem; padding: 1.1rem 1rem 0.5rem; min-height: 8rem; overflow: hidden; }
.roro-timeline .roro-v-year:nth-child(odd) { background: linear-gradient(135deg, #eff6ff, #f8fafc); }
.roro-timeline .roro-v-year:nth-child(even) { background: linear-gradient(135deg, #fff7ed, #fffbeb); }
.roro-timeline .roro-v-label { position: relative; z-index: 1; flex: 0 0 4.4rem; font-weight: 800; font-size: 1.3rem; color: var(--roro-blue); text-align: right; padding-top: 0.3rem; }
.roro-timeline .roro-v-items { position: relative; z-index: 1; flex: 1 1 auto; min-width: 0; padding: 0 0 0.2rem 1.5rem; border-left: 3px solid #cbd5e1; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.8rem; align-items: start; }
.roro-timeline .roro-v-items .roro-tl-card { margin: 0; }
.roro-timeline .roro-v-items::before { content: ""; position: absolute; left: -9px; top: 0.5rem; width: 15px; height: 15px; border-radius: 50%; background: var(--roro-blue); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--roro-blue); }

/* Horizontal */
.roro-timeline .roro-h-scroll { overflow-x: auto; border-radius: 10px; background: #f8fafc; }
.roro-timeline .roro-h-grid { display: grid; column-gap: 0; row-gap: 0.35rem; align-items: start; min-width: min-content; padding-top: 0.6rem; }
.roro-timeline .roro-h-band { position: relative; overflow: hidden; margin-top: -0.6rem; align-self: stretch; z-index: 0; }
.roro-timeline .roro-h-band.is-odd { background: linear-gradient(180deg, #eff6ff, #f1f5f9); }
.roro-timeline .roro-h-band.is-even { background: linear-gradient(180deg, #fff7ed, #fefce8); }
.roro-timeline .roro-h-band .roro-bigyear { font-size: 6.5rem; right: 0.6rem; bottom: 0.4rem; }
.roro-timeline .roro-h-span { position: relative; z-index: 2; display: block; margin: 0 0.6rem; background: linear-gradient(90deg, #f59e0b, #fbbf24); color: #451a03; border-radius: 999px; padding: 0.25rem 0.9rem; font-size: 0.85rem; text-decoration: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35); }
.roro-timeline .roro-h-span-title { font-weight: 700; }
.roro-timeline .roro-h-year { position: relative; z-index: 1; margin: 0.2rem 0.8rem 0.5rem; font-weight: 800; font-size: 1.25rem; color: var(--roro-blue); border-bottom: 3px solid var(--roro-blue); padding: 0.3rem 0 0.25rem; }
.roro-timeline .roro-h-year::after { content: ""; position: absolute; right: -0.8rem; bottom: -9px; width: 15px; height: 15px; border-radius: 50%; background: var(--roro-blue); border: 3px solid #fff; }
.roro-timeline .roro-h-cards { position: relative; z-index: 1; min-width: 0; padding: 0.3rem 0.8rem 0.6rem; }

/* Focus */
.roro-timeline .roro-f-stage { position: relative; overflow: hidden; height: 25rem; border-radius: 10px; background: radial-gradient(ellipse at 50% 40%, #fff 0%, #eef2ff 60%, #e0e7ff 100%); cursor: grab; touch-action: pan-y; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.roro-timeline .roro-f-stage.is-drag { cursor: grabbing; }
.roro-timeline .roro-f-bg { right: auto; left: 50%; bottom: auto; top: 50%; transform: translate(-50%, -50%); font-size: 13rem; opacity: 0.1; white-space: nowrap; }
.roro-timeline .roro-f-track { position: absolute; top: 0; left: 0; height: 100%; display: flex; align-items: center; gap: 1.5rem; padding: 0 1rem; transition: transform 0.45s cubic-bezier(0.22, 0.8, 0.3, 1); will-change: transform; }
.roro-timeline .roro-f-slide { flex: 0 0 18rem; transition: transform 0.45s cubic-bezier(0.22, 0.8, 0.3, 1), opacity 0.45s, filter 0.45s; transform-origin: center center; }
.roro-timeline .roro-f-slide .roro-tl-card { margin: 0; height: 100%; }
.roro-timeline .roro-f-slide:not(.is-active) { cursor: pointer; }
.roro-timeline .roro-f-slide:not(.is-active) .roro-event-text, .roro-timeline .roro-f-slide:not(.is-active) .roro-tl-links, .roro-timeline .roro-f-slide:not(.is-active) .roro-event-type { display: none; }
.roro-timeline .roro-f-slide:not(.is-active) .roro-tl-card { pointer-events: none; }
.roro-timeline .roro-f-slide.is-active .roro-tl-card { box-shadow: 0 4px 8px rgba(15, 23, 42, 0.12), 0 22px 48px rgba(30, 58, 138, 0.28); }
.roro-timeline .roro-f-slide.is-active .roro-event-title { font-size: 1.2rem; }
.roro-timeline .roro-f-nav { display: flex; justify-content: center; align-items: center; gap: 1rem; margin: 0.8rem 0; }
.roro-timeline .roro-f-count { color: #475569; font-size: 0.9rem; }
.roro-timeline .roro-f-scale { display: flex; gap: 0.35rem; overflow-x: auto; padding: 0.5rem 0; border-top: 3px solid #cbd5e1; }
.roro-timeline .roro-f-dot { flex: 0 0 auto; cursor: pointer; border: 1px solid #94a3b8; background: #fff; color: #334155; border-radius: 999px; padding: 0.15rem 0.6rem; font-size: 0.8rem; margin: 0; line-height: 1.3; }
.roro-timeline .roro-f-dot.is-active { background: var(--roro-blue); border-color: var(--roro-blue); color: #fff; }

/* Without JavaScript only the simple list is shown */
.roro-timeline:not(.roro-js) .roro-tl-pane:not(.roro-tl-simple) { display: none; }

@media (max-width: 699px) {
  .roro-timeline .roro-v-year { padding: 0.9rem 0.6rem 0.4rem; gap: 0.6rem; }
  .roro-timeline .roro-v-label { flex-basis: 3.2rem; font-size: 1.05rem; }
  .roro-timeline .roro-v-items { grid-template-columns: 1fr; padding-left: 1rem; }
  .roro-timeline .roro-bigyear { font-size: 4rem; }
  .roro-timeline .roro-f-stage { height: 22rem; }
  .roro-timeline .roro-f-slide { flex-basis: 15rem; }
  .roro-timeline .roro-f-bg { font-size: 8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .roro-timeline .roro-f-track, .roro-timeline .roro-f-slide { transition: none; }
}

/* ---- Map ---- */
.roro-map *, .roro-map *::before, .roro-map *::after { box-sizing: border-box; }
.roro-map .roro-map-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; }
.roro-map .roro-map-toolbar[hidden] { display: none; }
.roro-map .roro-map-year { flex: 1 1 14rem; min-width: 10rem; max-width: 26rem; margin: 0; }
.roro-map .roro-map-count { color: #475569; font-size: 0.9rem; }
/* Automatic height (0.69.3, S-04): 70 % of the window height, between 280px and 720px; dvh where the browser knows it (phones with a moving address bar). */
.roro-map .roro-map-view.is-auto-height,
.roro-rt-map.is-auto-height { height: clamp(280px, 70vh, 720px); }
@supports (height: 1dvh) {
  .roro-map .roro-map-view.is-auto-height,
  .roro-rt-map.is-auto-height { height: clamp(280px, 70dvh, 720px); }
}
.roro-map .roro-map-view { position: relative; overflow: hidden; background: #dbe4ee; border-radius: 10px; border: 1px solid #cbd5e1; touch-action: none; cursor: grab; min-height: 260px; }
.roro-map .roro-map-view:not(.is-ready) { display: none; }
.roro-map .roro-map-view.is-drag { cursor: grabbing; }
.roro-map .roro-map-tiles, .roro-map .roro-map-pins { position: absolute; inset: 0; }
.roro-map .roro-map-tile { position: absolute; left: 0; top: 0; width: 256px; height: 256px; max-width: none; margin: 0; padding: 0; border: 0; user-select: none; -webkit-user-drag: none; }
.roro-map .roro-map-pins { pointer-events: none; }
.roro-map .roro-map-pin { position: absolute; left: -12px; top: -30px; width: 24px; height: 30px; padding: 0; margin: 0; border: 0; background: none; pointer-events: auto; cursor: pointer; }
.roro-map .roro-map-pin::before { content: ""; position: absolute; left: 1px; top: 2px; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #b45309; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); transition: transform 0.15s; }
.roro-map .roro-map-pin::after { content: ""; position: absolute; left: 8px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.roro-map .roro-pin-place::before { background: #475569; width: 16px; height: 16px; left: 4px; top: 8px; }
.roro-map .roro-pin-place::after { left: 9px; top: 13px; width: 6px; height: 6px; }
.roro-map .roro-map-pin:hover::before, .roro-map .roro-map-pin:focus-visible::before, .roro-map .roro-map-pin.is-selected::before { transform: rotate(-45deg) scale(1.25); background: #1d4ed8; }
.roro-map .roro-map-pin.is-selected { z-index: 5; }
.roro-map .roro-map-pin:focus-visible { outline: none; }
.roro-map .roro-map-pin:hover { z-index: 4; }
.roro-map .roro-map-pin[hidden] { display: none; }
.roro-map .roro-map-controls { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 10; }
.roro-map .roro-map-btn { cursor: pointer; width: auto; min-width: 2rem; height: 2rem; padding: 0 0.6rem; border: 1px solid #94a3b8; background: #fff; color: #1e293b; border-radius: 6px; font-size: 1.1rem; line-height: 1; margin: 0; text-transform: none; letter-spacing: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.roro-map .roro-map-controls .roro-map-btn { width: 2rem; padding: 0; }
.roro-map .roro-map-toolbar .roro-map-btn { font-size: 0.85rem; height: auto; padding: 0.25rem 0.7rem; box-shadow: none; }
.roro-map .roro-map-attribution { position: absolute; right: 0; bottom: 0; z-index: 10; background: rgba(255, 255, 255, 0.85); color: #334155; font-size: 11px; padding: 1px 6px; text-decoration: none; }
.roro-map .roro-map-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 11; background: rgba(15, 23, 42, 0.78); color: #fff; padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.95rem; pointer-events: none; }
.roro-map .roro-map-hint[hidden] { display: none; }
.roro-map .roro-map-popup { position: absolute; left: 0; top: 0; z-index: 12; width: 15.5rem; background: var(--roro-card-bg, #f6efe0); color: var(--roro-card-text, #2b2118); border-radius: 10px; overflow: hidden; box-shadow: 0 8px 28px rgba(15, 23, 42, 0.35); cursor: default; }
.roro-map .roro-map-popup[hidden] { display: none; }
.roro-map .roro-map-popup-img { display: block; width: 100%; height: 8rem; object-fit: cover; margin: 0; max-width: none; }
.roro-map .roro-map-popup-body { padding: 0.6rem 0.8rem 0.75rem; }
.roro-map .roro-map-popup-type { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; color: #b45309; }
.roro-map .roro-map-popup-title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; margin: 0.1rem 0 0.25rem; }
.roro-map .roro-map-popup-title a { color: var(--roro-card-text, #2b2118); text-decoration: none; }
.roro-map .roro-map-popup-line { font-size: 0.85rem; color: #475569; }
.roro-map .roro-map-popup-more { display: inline-block; margin-top: 0.4rem; font-size: 0.9rem; }
.roro-map .roro-map-close { position: absolute; right: 6px; top: 6px; width: 1.6rem; height: 1.6rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: #1e293b; cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0; margin: 0; }
.roro-map .roro-map-consent { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; padding: 1.5rem; text-align: center; background: #f1f5f9; }
.roro-map .roro-map-consent p { max-width: 28rem; margin: 0; }
.roro-map .roro-map-list { margin: 0.8rem 0 0; padding: 0; column-width: 14rem; column-gap: 1.5rem; list-style: none; }
.roro-map .roro-map-list li { list-style: none; margin: 0 0 0.3rem; break-inside: avoid; padding: 0; }
.roro-map .roro-map-show { cursor: pointer; border: 0; background: none; color: #1d4ed8; font-size: 0.8rem; padding: 0; margin: 0; text-transform: none; letter-spacing: 0; }

/* ---- Family tree: ancestors and expand markers ---- */
.roro-family-tree .roro-tree-wrap { display: flex; flex-direction: column; align-items: center; min-width: max-content; }
.roro-family-tree .roro-tree-ancestors { display: flex; flex-direction: column; align-items: center; padding-bottom: 26px; position: relative; }
.roro-family-tree .roro-tree-ancestors::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 2px; height: 26px; margin-left: -1px; background: #b8c2cf; }
.roro-family-tree .roro-tree-cell { position: relative; display: flex; }
.roro-family-tree .roro-tree-cell > .roro-tree-card { width: 150px; }
.roro-family-tree .roro-tree-card.is-ancestor { border-top-color: #64748b; }
.roro-family-tree .roro-tree-up, .roro-family-tree .roro-tree-down { display: inline-flex; align-items: center; justify-content: center; background: #fff; color: #8a2f1d; border: 1px solid #b8c2cf; text-decoration: none; font-size: 11px; line-height: 1; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15); }
.roro-family-tree .roro-tree-up { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); width: 24px; height: 22px; border-radius: 999px; z-index: 2; }
.roro-family-tree .roro-tree-down { margin-top: 6px; min-width: 36px; height: 22px; padding: 0 8px; border-radius: 999px; }
.roro-family-tree .roro-tree-up:hover, .roro-family-tree .roro-tree-down:hover, .roro-family-tree .roro-tree-up:focus, .roro-family-tree .roro-tree-down:focus { background: #8a2f1d; color: #fff; border-color: #8a2f1d; }

/* ---- Event page details ---- */
.roro-event-details { margin: 0 0 1.5rem; padding: 1rem 1.25rem; background: var(--roro-card-bg, #f6efe0); color: var(--roro-card-text, #2b2118); border-radius: 10px; }
.roro-event-details .roro-event-fulltext { font-size: 1.1rem; margin: 0 0 0.8rem; }
.roro-event-details .roro-event-facts { display: grid; gap: 0.9rem; margin-bottom: 0.8rem; }
.roro-event-details .roro-event-fact { display: flex; gap: 0.8rem; }
.roro-event-details .roro-event-fact-label { flex: 0 0 8rem; font-weight: 700; }
.roro-event-details .roro-event-links { margin: 0; }

/* Event map (0.18.0) */
.roro-map .roro-map-route { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.roro-map .roro-map-route polyline { fill: none; stroke: #b45309; stroke-width: 3; stroke-dasharray: 7 6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.roro-map .roro-pin-event::before { background: #7c2d12; }
.roro-map .roro-map-badge { position: absolute; left: 14px; top: -8px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #1e293b; color: #fff; font-size: 11px; line-height: 18px; font-weight: 700; text-align: center; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }
.roro-map .roro-map-badge[hidden] { display: none; }
.roro-map .roro-map-events { list-style: none; margin: 0.35rem 0 0; padding: 0; max-height: 13rem; overflow-y: auto; }
.roro-map .roro-map-events li { margin: 0; padding: 0.3rem 0; border-top: 1px solid rgba(0, 0, 0, 0.08); font-size: 0.88rem; line-height: 1.35; }
.roro-map .roro-map-ev-date { display: block; font-size: 0.75rem; font-weight: 700; color: #b45309; }
.roro-map .roro-map-ev-title { color: var(--roro-card-text, #2b2118); }
.roro-map .roro-map-ev-type { display: inline-block; margin-left: 0.35rem; font-size: 0.72rem; color: #64748b; }
.roro-map .roro-map-note { color: #64748b; font-size: 0.85rem; margin: 0.4rem 0 0; }

/* ---- Family tree connectors for couples (0.19.0) ----
   A couple is: card (150px) + gap (6px) + marriage sign (20px) + gap (6px) + card. The lines must meet the card
   of the family member, which sits --roro-couple-shift to the left of the middle of the couple. */
.roro-family-tree { --roro-couple-shift: 91px; }
.roro-family-tree .roro-tree-couple > .roro-tree-marriage { flex: 0 0 20px; width: 20px; text-align: center; }
.roro-family-tree .roro-tree-children > .roro-tree-node.has-spouse::before { right: calc(50% + var(--roro-couple-shift)); width: calc(50% - var(--roro-couple-shift)); }
.roro-family-tree .roro-tree-children > .roro-tree-node.has-spouse::after { left: calc(50% - var(--roro-couple-shift)); width: calc(50% + var(--roro-couple-shift)); }
/* Only child with spouse: a short line from the parents' drop line to the card. */
.roro-family-tree .roro-tree-children > .roro-tree-node.has-spouse:only-child::after { width: var(--roro-couple-shift); border-top-color: #b8c2cf; }
/* Last child with spouse: the line from the left must reach the shifted drop point. */
.roro-family-tree .roro-tree-children > .roro-tree-node.has-spouse:last-child:not(:only-child)::after { border-top-color: transparent; }
/* Start person with spouse: the parents sit above the start person, not above the couple. */
.roro-family-tree .roro-tree-wrap.start-has-spouse > .roro-tree-ancestors { transform: translateX(calc(-1 * var(--roro-couple-shift))); }

/* ---- Timeline: big year numbers follow the size of their column (0.19.0) ----
   Each band / year row / focus stage is a size container; the year uses a share of its width (cqi),
   limited by a minimum and the former maximum. A four-digit year is about 2.4em wide. */
.roro-timeline .roro-h-band,
.roro-timeline .roro-v-year,
.roro-timeline .roro-f-stage { container-type: inline-size; }
.roro-timeline .roro-h-band .roro-bigyear { font-size: clamp(2.5rem, 34cqi, 6.5rem); }
.roro-timeline .roro-v-year .roro-bigyear { font-size: clamp(2.5rem, 16cqi, 5.5rem); }
.roro-timeline .roro-f-stage .roro-f-bg { font-size: clamp(4rem, 32cqi, 13rem); }

/* Relationship chain: if it is wider than the box, start at the left edge (scrollable) instead of cutting both ends. */
.roro-family-tree .roro-relationship-chain { justify-content: safe center; }

/* Family tree lines drawn by roro-tree.js (0.19.2). The CSS connectors above are the fallback without JavaScript. */
.roro-family-tree .roro-tree-wrap { position: relative; }
.roro-family-tree .roro-tree-lines { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.roro-family-tree .roro-tree-lines path { fill: none; stroke: #b8c2cf; stroke-width: 2; shape-rendering: crispEdges; }
.roro-family-tree .roro-tree-wrap.roro-tree-js .roro-tree-children::before,
.roro-family-tree .roro-tree-wrap.roro-tree-js .roro-tree-children > .roro-tree-node::before,
.roro-family-tree .roro-tree-wrap.roro-tree-js .roro-tree-children > .roro-tree-node::after { display: none; }

/* ---- Timeline zoom (0.20.0) ---- */
.roro-timeline .roro-h-zoom { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin: 0 0 0.6rem; }
.roro-timeline .roro-h-zoom .roro-h-zoom-in,
.roro-timeline .roro-h-zoom .roro-h-zoom-out { min-width: 2.2rem; font-weight: 700; }
.roro-timeline .roro-h-zoom .roro-tl-btn[disabled] { opacity: 0.4; cursor: default; }
.roro-timeline .roro-h-level.is-active { background: var(--roro-blue); border-color: var(--roro-blue); color: #fff; }
.roro-timeline .roro-h-level-pane[hidden] { display: none; }
.roro-timeline .roro-h-unit-month .roro-h-year { font-size: 1.05rem; }
.roro-timeline .roro-h-unit-decade .roro-bigyear { letter-spacing: -0.04em; }

/* ---- Focus view (0.20.0): year at the bottom, several events visible on each side ---- */
.roro-timeline .roro-f-stage { height: 27rem; }
.roro-timeline .roro-f-track { height: calc(100% - 5rem); gap: 0.6rem; }
.roro-timeline .roro-f-slide { flex: 0 0 14.5rem; }
.roro-timeline .roro-f-stage .roro-f-bg { top: auto; bottom: 0.2rem; transform: translateX(-50%); font-size: clamp(3rem, 11cqi, 5.5rem); line-height: 0.95; opacity: 0.16; }
@media (max-width: 640px) {
  .roro-timeline .roro-f-slide { flex-basis: 12rem; }
}
.roro-timeline .roro-h-zoom .roro-tl-btn { border-radius: 6px; }

/* Collapse / expand button below a person with children (roro-tree.js) */
.roro-family-tree .roro-tree-toggle { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 20px; margin: 6px 0 -6px; padding: 0 7px; border: 1px solid #b8c2cf; border-radius: 999px; background: #fff; color: #8a2f1d; font-size: 10px; line-height: 1; cursor: pointer; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15); text-transform: none; letter-spacing: 0; }
.roro-family-tree .roro-tree-toggle:hover,
.roro-family-tree .roro-tree-toggle:focus { background: #8a2f1d; border-color: #8a2f1d; color: #fff; }
.roro-family-tree .roro-tree-node.is-collapsed > .roro-tree-toggle { margin-bottom: 0; font-size: 11px; }
.roro-family-tree .roro-tree-children[hidden] { display: none; }

/* ==== Family tree styles (0.21.0) ====
   Style = class at the container: .roro-skin-modern (default), .roro-skin-archive, .roro-skin-deco; no class = classic.
   Line shape and generation bands: data-lines / data-bands, drawn by roro-tree.js. */
.roro-family-tree, .roro-family-tree *, .roro-family-tree *::before, .roro-family-tree *::after { box-sizing: border-box; }
.roro-family-tree .roro-tree-wrap.roro-anc-js > .roro-tree-ancestors::after { display: none; }
.roro-family-tree .roro-tree-lines .roro-band { fill: var(--roro-band, rgba(138, 47, 29, 0.05)); }
.roro-family-tree .roro-tree-lines .roro-band.is-odd { fill: var(--roro-band-alt, transparent); }
.roro-family-tree .roro-tree-lines .roro-band-label { fill: var(--roro-band-text, #94a3b8); font: 600 12px/1 Georgia, serif; letter-spacing: 0.08em; }
.roro-family-tree .roro-tree-lines path.roro-lines { stroke: var(--roro-line, #b8c2cf); stroke-width: var(--roro-line-w, 2); }
.roro-family-tree[data-lines="rounded"] .roro-tree-lines path,
.roro-family-tree[data-lines="curved"] .roro-tree-lines path { shape-rendering: geometricPrecision; stroke-linecap: round; stroke-linejoin: round; }
.roro-family-tree .roro-tree-wrap.has-bands { padding-left: 3.4rem; }


/* =====================================================================
   MODERN (default) – flat white cards, photo left, colour per generation
   ===================================================================== */
.roro-family-tree.roro-skin-modern {
  --roro-line: #cbd5e1; --roro-line-w: 2;
  --roro-band: rgba(30, 58, 138, 0.04); --roro-band-text: #94a3b8;
  background: #f4f6f9;
  border: 1px solid #e5e9f0;
  border-radius: 16px;
  box-shadow: none;
  padding: 1.4rem 1.6rem;
}
.roro-family-tree.roro-skin-modern h3 { font-weight: 700; color: #0f172a; letter-spacing: -0.01em; }
.roro-family-tree.roro-skin-modern .roro-tree-cell > .roro-tree-card,
.roro-family-tree.roro-skin-modern .roro-tree-card {
  display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-content: center;
  width: 164px; min-height: 60px;
  text-align: left;
  background: #fff;
  border: 0; border-left: 4px solid var(--gen, #1e3a8a);
  border-radius: 12px;
  padding: 9px 12px 9px 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.15s, box-shadow 0.15s;
}
.roro-family-tree.roro-skin-modern .roro-tree-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08), 0 14px 30px rgba(15, 23, 42, 0.14); }
.roro-family-tree.roro-skin-modern .roro-tree-cell > .roro-tree-card:not(:has(img)),
.roro-family-tree.roro-skin-modern .roro-tree-card:not(:has(img)) { grid-template-columns: 1fr; }
.roro-family-tree.roro-skin-modern img.roro-tree-photo { grid-row: 1 / span 2; width: 44px !important; height: 44px !important; margin: 0; border: 0; box-shadow: none; border-radius: 50%; }
.roro-family-tree.roro-skin-modern .roro-tree-name { font-size: 14px; font-weight: 650; color: #0f172a; }
.roro-family-tree.roro-skin-modern .roro-tree-years { font-size: 12px; margin-top: 1px; color: #64748b; font-variant-numeric: tabular-nums; }
.roro-family-tree.roro-skin-modern .roro-tree-card.is-spouse { border-left-color: color-mix(in srgb, var(--gen, #1e3a8a) 35%, #fff); }
.roro-family-tree.roro-skin-modern .roro-tree-card.is-ancestor { --gen: #94a3b8; }
.roro-family-tree.roro-skin-modern .roro-tree-card.is-private { --gen: #cbd5e1; background: #f8fafc; box-shadow: none; border: 1px dashed #cbd5e1; border-left: 4px solid #cbd5e1; }
.roro-family-tree.roro-skin-modern .roro-gen-1 { --gen: #1e3a8a; }
.roro-family-tree.roro-skin-modern .roro-gen-2 { --gen: #0f766e; }
.roro-family-tree.roro-skin-modern .roro-gen-3 { --gen: #b45309; }
.roro-family-tree.roro-skin-modern .roro-gen-4 { --gen: #9d174d; }
.roro-family-tree.roro-skin-modern .roro-gen-5 { --gen: #6d28d9; }
.roro-family-tree.roro-skin-modern .roro-tree-marriage { color: #94a3b8; font-size: 15px; }
.roro-family-tree.roro-skin-modern .roro-tree-toggle,
.roro-family-tree.roro-skin-modern .roro-tree-up,
.roro-family-tree.roro-skin-modern .roro-tree-down { color: #1e3a8a; border-color: #cbd5e1; }
.roro-family-tree.roro-skin-modern .roro-tree-toggle:hover,
.roro-family-tree.roro-skin-modern .roro-tree-up:hover,
.roro-family-tree.roro-skin-modern .roro-tree-down:hover { background: #1e3a8a; border-color: #1e3a8a; color: #fff; }

/* =====================================================================
   ARCHIVE – index card: paper, double frame, stacked-card shadow
   ===================================================================== */
.roro-family-tree.roro-skin-archive {
  --roro-line: #a08a63; --roro-line-w: 1.5;
  --roro-band: rgba(160, 130, 90, 0.08); --roro-band-text: #a08a63;
  background: #fbf7ee;
  border: 1px solid #c9b48e;
  outline: 1px solid #c9b48e; outline-offset: -7px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(60, 40, 10, 0.12);
  padding: 1.6rem 1.8rem;
}
.roro-family-tree.roro-skin-archive h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; color: #5b4630; text-align: center; letter-spacing: 0.02em; }
.roro-family-tree.roro-skin-archive .roro-tree-card {
  background-color: #fffdf6;
  background-image: repeating-linear-gradient(to bottom, transparent 0 19px, rgba(160, 130, 90, 0.16) 19px 20px);
  background-position: 0 6px;
  border: 1px solid #b9a27a;
  border-top: 1px solid #b9a27a;
  outline: 1px solid rgba(185, 162, 122, 0.55); outline-offset: -5px;
  border-radius: 2px;
  box-shadow: 3px 3px 0 -1px #f6eedc, 3px 3px 0 0 #c8b48e, 0 8px 16px rgba(60, 40, 10, 0.14);
  padding: 12px 10px;
}
.roro-family-tree.roro-skin-archive .roro-tree-name { font-family: Georgia, "Times New Roman", serif; font-weight: 700; color: #3b2a1a; font-size: 15px; }
.roro-family-tree.roro-skin-archive .roro-tree-years { font-family: Georgia, serif; font-style: italic; color: #7a6548; }
.roro-family-tree.roro-skin-archive img.roro-tree-photo { border-radius: 2px; border: 3px solid #fff; box-shadow: 0 0 0 1px #b9a27a; filter: sepia(0.55) contrast(0.95); }
.roro-family-tree.roro-skin-archive .roro-tree-card.is-spouse { background-color: #fbf6ea; }
.roro-family-tree.roro-skin-archive .roro-tree-card.is-ancestor { opacity: 0.88; border-style: dashed; }
.roro-family-tree.roro-skin-archive .roro-tree-marriage { color: #a08a63; font-family: Georgia, serif; }
.roro-family-tree.roro-skin-archive .roro-tree-toggle,
.roro-family-tree.roro-skin-archive .roro-tree-up,
.roro-family-tree.roro-skin-archive .roro-tree-down { border-color: #b9a27a; color: #6b4f2a; background: #fffdf6; border-radius: 3px; }

/* =====================================================================
   ART DÉCO – 1920s: petrol and gold, corner ornaments, capitals
   ===================================================================== */
.roro-family-tree.roro-skin-deco {
  --roro-line: #c9a85c; --roro-line-w: 1.5;
  --roro-band: rgba(201, 168, 92, 0.06); --roro-band-text: #c9a85c;
  background: #0f2b30;
  background-image: repeating-linear-gradient(90deg, rgba(201, 168, 92, 0.04) 0 1px, transparent 1px 28px);
  border: 2px solid #c9a85c;
  outline: 1px solid #c9a85c; outline-offset: -8px;
  border-radius: 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  padding: 1.8rem 2rem;
}
.roro-family-tree.roro-skin-deco h3 {
  display: flex; align-items: center; gap: 0.8rem; justify-content: center;
  color: #e3c77f; font-family: Futura, "Avenir Next", "Century Gothic", "Josefin Sans", sans-serif; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.35em; font-size: 1.15rem;
}
.roro-family-tree.roro-skin-deco h3::before,
.roro-family-tree.roro-skin-deco h3::after { content: ""; flex: 0 1 6rem; height: 6px; border-top: 1px solid #c9a85c; border-bottom: 1px solid #c9a85c; }
.roro-family-tree.roro-skin-deco .roro-tree-back a { color: #e3c77f; }
.roro-family-tree.roro-skin-deco .roro-tree-card {
  position: relative;
  background: #16363c;
  color: #f1e6c8;
  border: 1px solid #c9a85c;
  border-radius: 0;
  box-shadow: inset 0 0 0 4px #16363c, inset 0 0 0 5px rgba(201, 168, 92, 0.45), 0 10px 22px rgba(0, 0, 0, 0.4);
  padding: 14px 10px 12px;
}
.roro-family-tree.roro-skin-deco .roro-tree-card::before,
.roro-family-tree.roro-skin-deco .roro-tree-card::after { content: ""; position: absolute; width: 12px; height: 12px; pointer-events: none; }
.roro-family-tree.roro-skin-deco .roro-tree-card::before { left: -1px; top: -1px; border-top: 3px solid #e3c77f; border-left: 3px solid #e3c77f; }
.roro-family-tree.roro-skin-deco .roro-tree-card::after { right: -1px; bottom: -1px; border-bottom: 3px solid #e3c77f; border-right: 3px solid #e3c77f; }
.roro-family-tree.roro-skin-deco img.roro-tree-photo { border: 2px solid #c9a85c; box-shadow: 0 0 0 3px #16363c, 0 0 0 4px rgba(201, 168, 92, 0.5); filter: grayscale(1) contrast(1.05); }
.roro-family-tree.roro-skin-deco .roro-tree-name { color: #f6ecd0; font-family: Futura, "Avenir Next", "Century Gothic", sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12.5px; }
.roro-family-tree.roro-skin-deco .roro-tree-name a:hover { color: #e3c77f; }
.roro-family-tree.roro-skin-deco .roro-tree-years { color: #c9a85c; letter-spacing: 0.12em; font-size: 11.5px; }
.roro-family-tree.roro-skin-deco .roro-tree-card.is-spouse { background: #133035; }
.roro-family-tree.roro-skin-deco .roro-tree-card.is-ancestor { opacity: 0.85; }
.roro-family-tree.roro-skin-deco .roro-tree-card.is-private { background: #12292d; }
.roro-family-tree.roro-skin-deco .roro-tree-card.is-private .roro-tree-name { color: #8fa3a3; text-transform: none; letter-spacing: 0; }
.roro-family-tree.roro-skin-deco .roro-tree-marriage { color: #c9a85c; }
.roro-family-tree.roro-skin-deco .roro-tree-toggle,
.roro-family-tree.roro-skin-deco .roro-tree-up,
.roro-family-tree.roro-skin-deco .roro-tree-down { background: #0f2b30; color: #e3c77f; border-color: #c9a85c; border-radius: 0; box-shadow: none; }
.roro-family-tree.roro-skin-deco .roro-tree-toggle:hover,
.roro-family-tree.roro-skin-deco .roro-tree-up:hover,
.roro-family-tree.roro-skin-deco .roro-tree-down:hover { background: #c9a85c; color: #0f2b30; }

/* Modern cards are wider: the parents above a start person with spouse move by half a couple. */
.roro-family-tree.roro-skin-modern { --roro-couple-shift: 98px; }
/* Relationship chain in the styles */
.roro-family-tree.roro-skin-modern .roro-relationship-chain .roro-tree-card { width: 150px; }
.roro-family-tree.roro-skin-modern .roro-tree-card.is-end { border-left-width: 6px; box-shadow: 0 0 0 2px #1e3a8a22, 0 8px 24px rgba(15, 23, 42, 0.1); }
.roro-family-tree.roro-skin-archive .roro-tree-card.is-end { border-width: 2px; }
.roro-family-tree.roro-skin-deco .roro-tree-card.is-end { border-width: 2px; }
.roro-family-tree.roro-skin-modern .roro-relationship-step,
.roro-family-tree.roro-skin-archive .roro-relationship-step { color: inherit; }
.roro-family-tree.roro-skin-archive .roro-relationship-headline { font-family: Georgia, "Times New Roman", serif; color: #3b2a1a; }
.roro-family-tree.roro-skin-archive .roro-relationship-arrow { color: #a08a63; }
.roro-family-tree.roro-skin-deco .roro-relationship-headline { color: #f1e6c8; letter-spacing: 0.04em; }
.roro-family-tree.roro-skin-deco .roro-relationship-step { color: #c9a85c; }
.roro-family-tree.roro-skin-deco .roro-relationship-arrow { color: #c9a85c; }

/* ---- 0.21.1: own font in the style "modern", links keep the size of the name ----
   Themes may set a wide font (e.g. monospace) or a font size on links; inside the cards the style decides. */
.roro-family-tree .roro-tree-name a { font: inherit; letter-spacing: inherit; text-transform: inherit; }
.roro-family-tree.roro-skin-modern { --roro-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.roro-family-tree.roro-skin-modern .roro-tree-card,
.roro-family-tree.roro-skin-modern .roro-relationship-headline,
.roro-family-tree.roro-skin-modern .roro-relationship-step,
.roro-family-tree.roro-skin-modern .roro-tree-toggle { font-family: var(--roro-sans); }
.roro-family-tree.roro-skin-modern .roro-tree-name { font-size: 14px; line-height: 1.25; overflow-wrap: break-word; hyphens: auto; }
.roro-family-tree.roro-skin-modern .roro-tree-years { font-size: 12px; line-height: 1.3; }
.roro-family-tree.roro-skin-modern .roro-relationship-headline { font-size: 16px; line-height: 1.4; }
.roro-family-tree.roro-skin-modern .roro-relationship-step-label { font-size: 12px; }
.roro-family-tree.roro-skin-modern .roro-relationship-chain .roro-tree-card { width: 168px; }

/* ==== Timeline style "paper" (0.22.0): frame and controls of the first timeline, cards of the plugin (roro-timeline-paper.js) ==== */
.roro-timeline.roro-tl-paper {
  --bg: var(--roro-card-bg-solid, #f6f3ee); --sf: #fff; --tx: #241f1a; --mu: #6f655a; --ln: #d9d1c5; --ac: #8a2f1d; --ac2: #1f5f6b;
  padding: 0; border: 1px solid var(--ln); border-radius: 8px; background: var(--bg); color: var(--tx);
  font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; box-shadow: none; overflow: hidden; text-align: left;
}
.roro-tl-paper [hidden] { display: none !important; }
.roro-tl-paper .roro-tl-head { margin: 0; padding: 8px 12px; border-bottom: 1px solid var(--ln); gap: 6px 14px; justify-content: flex-start; }
.roro-tl-paper .roro-tl-head h3 { font: 600 18px/1.3 Georgia, "Times New Roman", serif; margin: 0; color: var(--tx); text-transform: none; letter-spacing: normal; }
.roro-tl-paper .roro-c-hint { color: var(--mu); font-size: 12px; flex: 1; min-width: 180px; }
.roro-tl-paper .roro-c-zoom { display: inline-flex; gap: 4px; }
.roro-tl-paper:not([data-active="horizontal"]) .roro-c-zoom,
.roro-tl-paper:not([data-active="horizontal"]) .roro-c-hint { display: none; }
.roro-tl-paper:not([data-active="horizontal"]) .roro-tl-switch { margin-left: auto; }
.roro-tl-paper .roro-tl-btn { font: inherit; font-size: 14px; background: var(--sf); color: var(--tx); border: 1px solid var(--ln); border-radius: 6px; padding: 4px 10px; line-height: 1.3; }
.roro-tl-paper .roro-tl-btn:hover { border-color: var(--ac); }
.roro-tl-paper .roro-tl-btn.is-active { background: var(--ac); border-color: var(--ac); color: #fff; }
.roro-tl-paper .roro-c-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 12px; border-bottom: 1px solid var(--ln); }
.roro-tl-paper .roro-c-tags:empty { display: none; }
.roro-tl-paper .roro-c-note { font-size: 12px; color: var(--mu); }
.roro-tl-paper .roro-c-chip { display: inline-flex; align-items: center; gap: 5px; margin: 0; border: 1px solid var(--ln); border-radius: 999px; padding: 2px 11px; font: inherit; font-size: 12px; line-height: 1.5; background: var(--sf); color: var(--tx); cursor: pointer; text-transform: none; letter-spacing: 0; }
.roro-tl-paper .roro-c-chip:hover { border-color: var(--c, var(--ac)); }
.roro-tl-paper .roro-c-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--ac)); display: inline-block; }
.roro-tl-paper .roro-c-chip.is-on { background: var(--c, var(--ac)); border-color: var(--c, var(--ac)); color: #fff; }
.roro-tl-paper .roro-c-chip.is-on i { background: #fff; }
.roro-tl-paper .roro-tl-simple, .roro-tl-paper .roro-tl-vertical { margin: 12px; }

/* Canvas */
.roro-tl-paper .roro-c-vp { position: relative; height: var(--roro-c-h, 620px); overflow-x: hidden; overflow-y: auto; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; outline: none;
  background-color: var(--bg);
  background-image: radial-gradient(circle at 15% 0, color-mix(in srgb, var(--ac) 9%, transparent), transparent 55%), radial-gradient(circle at 95% 100%, color-mix(in srgb, var(--ac2) 10%, transparent), transparent 50%), repeating-linear-gradient(45deg, color-mix(in srgb, var(--tx) 3.5%, transparent) 0 1px, transparent 1px 14px); }
.roro-tl-paper .roro-c-vp:focus-visible { box-shadow: inset 0 0 0 2px var(--ac2); }
.roro-tl-paper .roro-c-vp.is-drag { cursor: grabbing; }
.roro-tl-paper .roro-c-rul { position: sticky; top: 0; z-index: 40; background: var(--bg); box-shadow: 0 1px 0 var(--ln); }
.roro-tl-paper .roro-c-rr { position: relative; overflow: hidden; border-bottom: 1px solid var(--ln); }
.roro-tl-paper .roro-c-t { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--ln); overflow: hidden; white-space: nowrap; padding-left: 6px; }
.roro-tl-paper .roro-c-ry { height: 46px; }
.roro-tl-paper .roro-c-ry .roro-c-t { font: 700 30px/46px Georgia, serif; color: var(--ac); }
.roro-tl-paper .roro-c-rm { height: 24px; }
.roro-tl-paper .roro-c-rm .roro-c-t { font: 600 12px/24px system-ui, sans-serif; }
.roro-tl-paper .roro-c-rd { height: 22px; }
.roro-tl-paper .roro-c-rd .roro-c-t { font: 11px/22px system-ui, sans-serif; color: var(--mu); padding-left: 3px; }
.roro-tl-paper .roro-c-stg { position: relative; min-height: 100%; }
.roro-tl-paper .roro-c-band { position: absolute; top: 0; bottom: 0; z-index: 0; pointer-events: none; overflow: hidden; background: color-mix(in srgb, var(--ac) 6%, transparent); border-left: 1px solid color-mix(in srgb, var(--ac) 25%, transparent); border-right: 1px solid color-mix(in srgb, var(--ac) 25%, transparent); }
.roro-tl-paper .roro-c-band.b2 { background: color-mix(in srgb, var(--ac2) 7%, transparent); border-color: color-mix(in srgb, var(--ac2) 25%, transparent); }
.roro-tl-paper .roro-c-band span { position: absolute; right: 6px; bottom: 4px; font: 700 72px/1 Georgia, serif; color: var(--tx); opacity: 0.06; white-space: nowrap; }
.roro-tl-paper .roro-c-ln { position: absolute; top: 0; width: 0; border-left: 1px dashed var(--lc, var(--ac)); z-index: 1; pointer-events: none; }
.roro-tl-paper .roro-c-ln::after { content: ""; position: absolute; left: -4px; bottom: -1px; width: 7px; height: 7px; border-radius: 50%; background: var(--lc, var(--ac)); }
.roro-tl-paper .roro-c-span { position: absolute; z-index: 3; height: 22px; line-height: 22px; padding-right: 10px; border-radius: 999px; background: linear-gradient(90deg, #f59e0b, #fbbf24); color: #451a03; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35); }
.roro-tl-paper .roro-c-span:hover { box-shadow: 0 3px 10px rgba(217, 119, 6, 0.5); color: #451a03; }

/* Cards: compact (photo, date, title); hover or click opens the full plugin card */
.roro-tl-paper .roro-c-ev { position: absolute; width: 210px; z-index: 2; margin-left: -1px; transition: width 0.18s, margin-left 0.18s; }
.roro-tl-paper .roro-c-ev .roro-tl-card { margin: 0; max-height: 146px; cursor: pointer; border-top-width: 4px; border-radius: 8px; }
.roro-tl-paper .roro-c-ev .roro-tl-img { aspect-ratio: auto; height: 62px; transition: height 0.18s; }
.roro-tl-paper .roro-c-ev .roro-tl-img img { -webkit-user-drag: none; pointer-events: none; }
.roro-tl-paper .roro-c-ev .roro-tl-body { padding: 0.4rem 0.6rem 0.5rem; }
.roro-tl-paper .roro-c-ev .roro-event-date { font-size: 0.78rem; }
.roro-tl-paper .roro-c-ev .roro-event-title { font-size: 0.92rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.roro-tl-paper .roro-c-ev:not(:hover):not(.is-open) .roro-event-text,
.roro-tl-paper .roro-c-ev:not(:hover):not(.is-open) .roro-tl-links,
.roro-tl-paper .roro-c-ev:not(:hover):not(.is-open) .roro-event-type { display: none; }
.roro-tl-paper .roro-c-ev:hover, .roro-tl-paper .roro-c-ev.is-open { width: 320px; z-index: 30; margin-left: var(--sh, -1px); }
.roro-tl-paper .roro-c-ev:hover .roro-tl-card, .roro-tl-paper .roro-c-ev.is-open .roro-tl-card { max-height: none; box-shadow: 0 4px 10px rgba(15, 23, 42, 0.14), 0 18px 40px rgba(15, 23, 42, 0.24); }
.roro-tl-paper .roro-c-ev:hover .roro-tl-img, .roro-tl-paper .roro-c-ev.is-open .roro-tl-img { height: 160px; }
.roro-tl-paper .roro-c-ev:hover .roro-event-title, .roro-tl-paper .roro-c-ev.is-open .roro-event-title { display: block; font-size: 1.02rem; }
.roro-tl-paper .roro-c-ev.is-open { z-index: 31; }
@media (prefers-reduced-motion: reduce) { .roro-tl-paper .roro-c-ev, .roro-tl-paper .roro-c-ev .roro-tl-img { transition: none; } }

/* Focus view in the classic frame */
.roro-tl-paper .roro-c-hint-focus { display: none; color: var(--mu); font-size: 12px; flex: 1; min-width: 180px; }
.roro-tl-paper[data-active="focus"] .roro-c-hint-focus { display: block; }
.roro-tl-paper .roro-cf-stage { position: relative; height: var(--roro-cf-h, 480px); overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline: none;
  background-color: var(--bg);
  background-image: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--ac) 9%, transparent), transparent 60%), radial-gradient(circle at 95% 100%, color-mix(in srgb, var(--ac2) 10%, transparent), transparent 50%), repeating-linear-gradient(45deg, color-mix(in srgb, var(--tx) 3.5%, transparent) 0 1px, transparent 1px 14px); }
.roro-tl-paper .roro-cf-stage:focus-visible { box-shadow: inset 0 0 0 2px var(--ac2); }
.roro-tl-paper .roro-cf-stage.is-drag { cursor: grabbing; }
.roro-tl-paper .roro-cf-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 150; background: linear-gradient(90deg, var(--bg), transparent 4%, transparent 96%, var(--bg)); }
.roro-tl-paper .roro-cf-rul { position: absolute; left: 0; right: 0; top: 0; z-index: 140; background: var(--bg); box-shadow: 0 1px 0 var(--ln); }
.roro-tl-paper .roro-cf-track { position: absolute; inset: 0; }
.roro-tl-paper .roro-cf-band.is-current { background: color-mix(in srgb, var(--ac) 11%, transparent); }
.roro-tl-paper .roro-cf-band.b2.is-current { background: color-mix(in srgb, var(--ac2) 13%, transparent); }
.roro-tl-paper .roro-cf-band span { font-size: 84px; opacity: 0.07; }
.roro-tl-paper .roro-cf-slide { position: absolute; z-index: 2; }
.roro-tl-paper .roro-cf-slide:not(.is-active) { cursor: pointer; }
.roro-tl-paper .roro-cf-slide:not(.is-active):hover .roro-tl-card { transform: translateY(-3px); }
.roro-tl-paper .roro-cf-slide .roro-tl-card { margin: 0; border-top-width: 4px; border-radius: 8px; }
.roro-tl-paper .roro-cf-slide:not(.is-active) .roro-tl-card { max-height: 146px; }
.roro-tl-paper .roro-cf-slide .roro-tl-img { aspect-ratio: auto; height: 56px; transition: height 0.25s; }
.roro-tl-paper .roro-cf-slide .roro-tl-img img { -webkit-user-drag: none; pointer-events: none; }
.roro-tl-paper .roro-cf-slide .roro-tl-body { padding: 0.4rem 0.6rem 0.5rem; }
.roro-tl-paper .roro-cf-slide .roro-event-date { font-size: 0.78rem; }
.roro-tl-paper .roro-cf-slide .roro-event-title { font-size: 0.92rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.roro-tl-paper .roro-cf-slide:not(.is-active) .roro-event-text,
.roro-tl-paper .roro-cf-slide:not(.is-active) .roro-tl-links,
.roro-tl-paper .roro-cf-slide:not(.is-active) .roro-event-type { display: none; }
.roro-tl-paper .roro-cf-slide:not(.is-active) .roro-tl-card a { pointer-events: none; }
.roro-tl-paper .roro-cf-slide.is-active .roro-tl-card { box-shadow: 0 4px 10px rgba(15, 23, 42, 0.14), 0 22px 46px rgba(15, 23, 42, 0.26); }
.roro-tl-paper .roro-cf-slide.is-active .roro-tl-img { height: 170px; }
.roro-tl-paper .roro-cf-slide.is-active .roro-event-title { display: block; font-size: 1.12rem; }
.roro-tl-paper .roro-cf-slide.is-active .roro-event-date { font-size: 0.85rem; }
.roro-tl-paper .roro-cf-nav { display: flex; justify-content: center; align-items: center; gap: 1rem; padding: 8px 12px; border-top: 1px solid var(--ln); }
.roro-tl-paper .roro-cf-count { color: var(--mu); font-size: 13px; min-width: 9rem; text-align: center; }

/* ==== Person page (0.23.0): same look as the timeline style "paper" ====
   Colours and fonts of .roro-tl-paper: paper background, brown-red accent, Georgia headings, system font. */
.roro-person-page,
.roro-family-tree.roro-skin-modern {
  --bg: var(--roro-card-bg, #f6f3ee); --sf: var(--roro-card-sf, #fff); --tx: #241f1a; --mu: #6f655a; --ln: #d9d1c5; --ac: #8a2f1d; --ac2: #1f5f6b;
}
.roro-person-page, .roro-person-page *, .roro-person-page *::before, .roro-person-page *::after { box-sizing: border-box; }
.roro-person-page.roro-pp-box {
  margin: 1rem 0 1.5rem; padding: 14px 16px; border: 1px solid var(--ln); border-radius: 8px; background: var(--bg); color: var(--tx);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-align: left;
}
.roro-person-page a { color: var(--ac); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.roro-person-page a:hover { color: var(--ac2); }
.roro-person-page .roro-pp-heading { font: 600 18px/1.3 Georgia, "Times New Roman", serif; color: var(--tx); margin: 0 0 10px; padding: 0 0 6px; border-bottom: 1px solid var(--ln); text-transform: none; letter-spacing: normal; }
.roro-person-page .roro-pp-heading:not(:first-child) { margin-top: 18px; }

/* Profile: portrait in its own proportions, facts next to it */
.roro-pp-profile { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 20px; align-items: start; }
.roro-pp-profile.is-no-photo { grid-template-columns: minmax(0, 1fr); }
.roro-pp-portrait { margin: 0; padding: 6px; background: var(--sf); border: 1px solid var(--ln); border-radius: 8px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 6px 18px rgba(15, 23, 42, 0.08); }
.roro-pp-portrait img { display: block; width: 100% !important; height: auto !important; max-width: 100%; max-height: none; margin: 0; border-radius: 4px; object-fit: contain; }
.roro-pp-portrait figcaption { margin: 6px 2px 0; font-size: 12px; line-height: 1.35; color: var(--mu); }
.roro-pp-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; margin: 0; padding: 0; border: 0; background: none; font-size: inherit; line-height: 1.45; }
.roro-pp-dl dt { margin: 0; padding: 0; font-weight: 600; color: var(--mu); font-size: inherit; }
.roro-pp-dl dd { margin: 0; padding: 0; font-size: inherit; }
.roro-pp-note { color: var(--mu); font-size: 0.92em; }

/* Story card: image not cut, title, excerpt */
.roro-pp-story-card { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 16px; align-items: start; padding: 10px; background: var(--sf); border: 1px solid var(--ln); border-radius: 8px; }
.roro-pp-story-card.is-no-photo { grid-template-columns: minmax(0, 1fr); }
.roro-pp-story-media { display: block; text-decoration: none; }
.roro-pp-story-media img { display: block; width: 100% !important; height: auto !important; max-width: 100%; margin: 0; border-radius: 4px; }
.roro-person-page .roro-pp-story-title { display: block; font: 600 17px/1.3 Georgia, "Times New Roman", serif; color: var(--tx); text-decoration: none; }
.roro-person-page .roro-pp-story-title:hover { color: var(--ac); }
.roro-pp-story-text { margin: 6px 0 8px; color: var(--mu); }
.roro-pp-links { list-style: none; margin: 0; padding: 0; }
.roro-pp-links li { margin: 0 0 8px; padding: 0; }
.roro-pp-link-desc { display: block; font-size: 0.92em; color: var(--mu); }

/* Event list: small picture, date and type, title, text */
.roro-pp-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.roro-pp-item { --c: #6366f1; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: start; margin: 0 0 8px; padding: 10px 12px 10px 10px; background: var(--sf); border: 1px solid var(--ln); border-left: 4px solid var(--c); border-radius: 8px; }
.roro-pp-item.roro-type-birth { --c: #16a34a; }
.roro-pp-item.roro-type-death { --c: #475569; }
.roro-pp-item.roro-type-wedding { --c: #db2777; }
.roro-pp-item.roro-type-residence { --c: #0d9488; }
.roro-pp-item.roro-type-opening { --c: #2563eb; }
.roro-pp-item.roro-type-closing { --c: #7c3aed; }
.roro-pp-icon { display: block; width: 56px; height: 56px; border-radius: 6px; overflow: hidden; background: color-mix(in srgb, var(--c) 14%, var(--bg)); text-decoration: none; }
.roro-pp-icon img { display: block; width: 100% !important; height: 100% !important; max-width: none; margin: 0; object-fit: cover; object-position: 50% 25%; }
.roro-pp-icon.is-empty::after { content: ""; display: block; width: 14px; height: 14px; margin: 21px auto; border-radius: 50%; background: var(--c); opacity: 0.7; }
.roro-pp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; }
.roro-pp-date { font-weight: 700; color: var(--c); }
.roro-pp-type { padding: 0 6px; border-radius: 4px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.roro-pp-place { color: var(--mu); }
.roro-person-page .roro-pp-title { display: block; margin-top: 2px; font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--tx); text-decoration: none; }
.roro-person-page .roro-pp-title:hover { color: var(--c); }
.roro-pp-text { margin: 4px 0 0; color: color-mix(in srgb, var(--tx) 80%, transparent); font-size: 14px; }
.roro-person-page .roro-pp-link { display: inline-block; margin-top: 4px; font-size: 14px; }
.roro-pp-more { margin: 10px 0 0; }

@media (max-width: 640px) {
  .roro-pp-profile, .roro-pp-story-card { grid-template-columns: minmax(0, 1fr); }
  .roro-pp-portrait { max-width: 240px; }
  .roro-pp-dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .roro-pp-dl dd { margin-bottom: 6px; }
}

/* Family tree in the default style "modern" gets the same frame, heading and accent as the timeline */
.roro-family-tree.roro-skin-modern { --roro-line: #cdbfa9; --roro-band: rgba(138, 47, 29, 0.04); --roro-band-text: #8a7d6e; background: var(--bg); border: 1px solid var(--ln); border-radius: 8px; box-shadow: none; color: var(--tx); }
.roro-family-tree.roro-skin-modern .roro-tree-card { border-radius: 8px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.roro-family-tree.roro-skin-modern .roro-tree-years { color: var(--mu); }
.roro-family-tree.roro-skin-modern h3 { font: 600 18px/1.3 Georgia, "Times New Roman", serif; color: var(--tx); letter-spacing: normal; padding-bottom: 6px; border-bottom: 1px solid var(--ln); }
.roro-family-tree.roro-skin-modern .roro-tree-name a { color: var(--tx); }
.roro-family-tree.roro-skin-modern .roro-tree-name a:hover { color: var(--ac); }
.roro-family-tree.roro-skin-modern .roro-gen-1 { --gen: #8a2f1d; }
.roro-family-tree.roro-skin-modern .roro-gen-2 { --gen: #1f5f6b; }
.roro-family-tree.roro-skin-modern .roro-gen-3 { --gen: #b45309; }
.roro-family-tree.roro-skin-modern .roro-gen-4 { --gen: #6b4f2a; }
.roro-family-tree.roro-skin-modern .roro-gen-5 { --gen: #5b6b2f; }
.roro-family-tree.roro-skin-modern .roro-gen-6 { --gen: #8a2f1d; }
.roro-family-tree.roro-skin-modern .roro-gen-7 { --gen: #1f5f6b; }
.roro-family-tree.roro-skin-modern .roro-gen-8 { --gen: #b45309; }
.roro-family-tree.roro-skin-modern .roro-gen-9 { --gen: #6b4f2a; }
.roro-family-tree.roro-skin-modern .roro-gen-10 { --gen: #5b6b2f; }
.roro-family-tree.roro-skin-modern .roro-tree-toggle,
.roro-family-tree.roro-skin-modern .roro-tree-up,
.roro-family-tree.roro-skin-modern .roro-tree-down { color: var(--ac); border-color: var(--ln); }
.roro-family-tree.roro-skin-modern .roro-tree-toggle:hover,
.roro-family-tree.roro-skin-modern .roro-tree-up:hover,
.roro-family-tree.roro-skin-modern .roro-tree-down:hover { background: var(--ac); border-color: var(--ac); color: #fff; }
.roro-family-tree.roro-skin-modern .roro-tree-card.is-end { box-shadow: 0 0 0 2px color-mix(in srgb, var(--ac) 20%, transparent), 0 8px 24px rgba(15, 23, 42, 0.1); }

/* ==== Timeline (0.23.0): help as "?" popup, pictures are not cut ==== */
.roro-tl-paper .roro-c-zoom { margin-left: auto; }
.roro-tl-paper .roro-c-help { position: relative; display: inline-flex; }
.roro-tl-paper:not([data-active="horizontal"]):not([data-active="focus"]) .roro-c-help { display: none; }
.roro-tl-paper .roro-tl-btn.roro-c-help-btn { width: 26px; height: 26px; padding: 0; border-radius: 50%; font-weight: 700; font-size: 14px; line-height: 24px; text-align: center; color: var(--ac); }
.roro-tl-paper .roro-c-help-btn[aria-expanded="true"] { background: var(--ac); border-color: var(--ac); color: #fff; }
.roro-tl-paper .roro-c-help-pop { position: absolute; left: 0; top: calc(100% + 6px); z-index: 300; width: min(22rem, 80vw); padding: 10px 12px; background: var(--sf); color: var(--tx); border: 1px solid var(--ln); border-radius: 8px; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18); font-size: 13px; line-height: 1.45; }
.roro-tl-paper .roro-c-help-pop ul { margin: 0; padding: 0 0 0 1.1rem; list-style: disc; flex: none; min-width: 0; font-size: 13px; color: var(--tx); }
.roro-tl-paper .roro-c-help-pop li { margin: 0 0 3px; padding: 0; }
.roro-tl-paper:not([data-active="focus"]) .roro-c-help-pop .roro-c-hint-focus { display: none; }
/* Faces are usually in the upper part of a picture */
.roro-timeline .roro-tl-img img { object-position: 50% 25%; }
/* An opened card shows the whole picture in its own proportions */
.roro-tl-paper .roro-c-ev:hover .roro-tl-img, .roro-tl-paper .roro-c-ev.is-open .roro-tl-img { height: auto; max-height: 320px; background: var(--bg); }
.roro-tl-paper .roro-c-ev:hover .roro-tl-img img, .roro-tl-paper .roro-c-ev.is-open .roro-tl-img img { width: 100%; height: auto; max-height: 320px; object-fit: contain; }
.roro-tl-paper .roro-cf-slide.is-active .roro-tl-img { height: auto; max-height: 240px; background: var(--bg); }
.roro-tl-paper .roro-cf-slide.is-active .roro-tl-img img { width: 100%; height: auto; max-height: 240px; object-fit: contain; }

/* ==== Event page (0.24.0): bigger picture in its own proportions, sources with their kind ==== */
.roro-media-row.roro-event-media { align-items: flex-start; }
.roro-media-row.roro-event-media .roro-media-photo { flex: 0 0 min(320px, 42%); min-height: 0; }
.roro-media-row.roro-event-media .roro-media-photo img { flex: none; width: 100% !important; height: auto !important; object-fit: contain; }
.roro-event-sources ul { display: grid; grid-template-columns: auto max-content minmax(0, 1fr); column-gap: 0.5rem; align-items: baseline; margin: 0.2rem 0 0.6rem 0.4rem; padding: 0; list-style: none; }
.roro-event-sources li { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; align-items: baseline; margin: 0 0 0.35rem; }
.roro-event-sources li::before { content: "\2022"; }
.roro-event-sources .roro-source-type.is-none { padding: 0; background: none; }
.roro-event-sources .roro-source-type { display: inline-block; margin-right: 0; padding: 0 0.4rem; border-radius: 4px; background: rgba(138, 47, 29, 0.1); color: #8a2f1d; font-size: 0.75em; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; vertical-align: 0.1em; }
@media (max-width: 640px) {
  .roro-media-row.roro-event-media .roro-media-photo { flex-basis: auto; width: 100%; max-width: 360px; }
}

/* ==== Timeline (0.25.0): click a year, compact cards with the picture as icon ==== */
.roro-tl-paper .roro-c-ry .roro-c-t[data-a] { cursor: zoom-in; }
.roro-tl-paper .roro-c-ry .roro-c-t[data-a]:hover { background: color-mix(in srgb, var(--ac) 8%, transparent); }
.roro-tl-paper .roro-c-ry .roro-c-t span { display: inline-block; }
/* Compact card: small picture left of date and title; the opened card shows the whole picture on top */
.roro-tl-paper .roro-c-ev:not(:hover):not(.is-open) .roro-tl-card,
.roro-tl-paper .roro-cf-slide:not(.is-active) .roro-tl-card { flex-direction: row; align-items: center; }
.roro-tl-paper .roro-c-ev:not(:hover):not(.is-open) .roro-tl-img,
.roro-tl-paper .roro-cf-slide:not(.is-active) .roro-tl-img { flex: 0 0 44px; width: 44px; height: 44px; margin: 6px 0 6px 8px; border-radius: 6px; aspect-ratio: 1 / 1; }
.roro-tl-paper .roro-c-ev:not(:hover):not(.is-open) .roro-tl-body,
.roro-tl-paper .roro-cf-slide:not(.is-active) .roro-tl-body { flex: 1 1 auto; min-width: 0; }
.roro-tl-paper .roro-c-ev:not(:hover):not(.is-open) .roro-tl-img img,
.roro-tl-paper .roro-cf-slide:not(.is-active) .roro-tl-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

/* ==== Family tree (0.25.0): siblings next to the start person ==== */
.roro-family-tree .roro-tree-siblings { display: flex; align-items: flex-start; justify-content: safe center; gap: 28px; }
.roro-family-tree .roro-tree-siblings > .roro-tree-node { flex: 0 0 auto; }
.roro-family-tree .roro-tree-node.is-start > .roro-tree-couple > .roro-tree-cell:first-child > .roro-tree-card { box-shadow: 0 0 0 2px var(--ac, #8a2f1d), 0 8px 24px rgba(15, 23, 42, 0.12); }
.roro-family-tree .roro-tree-node.is-sibling > .roro-tree-couple .roro-tree-card { opacity: 0.92; }

/* ==== Person (0.25.0): several stories, short biography ==== */
.roro-pp-stories { display: grid; gap: 10px; }
.roro-pp-bio { margin: 1rem 0 1.5rem; }
.roro-pp-bio .roro-pp-bio-name { margin: 0 0 0.4rem; font: 600 20px/1.3 Georgia, "Times New Roman", serif; color: #241f1a; text-transform: none; letter-spacing: normal; }
.roro-pp-bio .roro-pp-bio-name a { color: inherit; text-decoration: none; }
.roro-pp-bio .roro-pp-bio-name a:hover { color: #8a2f1d; }
.roro-pp-bio .roro-person-page.roro-pp-box { margin-top: 0; }

/* ==== Institution page and maps (0.29.0): same frame and heading as the timeline ==== */
.roro-map.roro-panel { background: var(--roro-card-bg, #f6f3ee); border: 1px solid #d9d1c5; border-radius: 8px; box-shadow: none; color: #241f1a; }
.roro-map.roro-panel > h3 { font: 600 18px/1.3 Georgia, "Times New Roman", serif; color: #241f1a; margin: 0 0 10px; padding: 0 0 6px; border-bottom: 1px solid #d9d1c5; text-transform: none; letter-spacing: normal; }
.roro-pp-sources .roro-event-sources { margin: 0; }
.roro-pp-sources .roro-event-sources > .roro-event-fact-label { display: block; font: 600 18px/1.3 Georgia, "Times New Roman", serif; margin: 0 0 8px; padding: 0 0 6px; border-bottom: 1px solid var(--ln); }

/* ==== 0.30.0: institution picture large like in an article; picture credits small ==== */
.roro-pp-summary { margin: 0 0 0.8rem; line-height: 1.5; }
.roro-linked-text { display: block; margin-top: 0.1rem; font-size: 0.85em; line-height: 1.4; color: color-mix(in srgb, currentColor 70%, transparent); }
.roro-person-page .roro-credit,
.roro-media-row .roro-credit { margin: 6px 2px 0; font-size: 11px; line-height: 1.35; color: var(--mu, #6f655a); overflow-wrap: anywhere; }
.roro-person-page .roro-credit a { color: inherit; }

/* ==== Map: table above the map (0.34.0) ==== */
.roro-map .roro-map-table { margin: 0 0 10px; }
.roro-map .roro-mt-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 6px; }
.roro-map .roro-mt-search { flex: 0 1 20rem; min-width: 12rem; margin: 0; padding: 5px 9px; border: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 25%, transparent); border-radius: 6px; background: var(--roro-card-bg, #faf6f0); color: var(--roro-card-text, #241f1a) !important; font: 14px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.roro-map .roro-mt-search:focus { outline: 2px solid #1f5f6b; outline-offset: 1px; }
.roro-map .roro-mt-hint { color: color-mix(in srgb, var(--roro-card-text, #241f1a) 65%, transparent); font-size: 12px; }
.roro-map .roro-mt-wrap { overflow-x: auto; border: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 25%, transparent); border-radius: 6px; background: var(--roro-card-bg, #faf6f0); }
.roro-map table.roro-mt { width: 100%; margin: 0; border-collapse: collapse; border: 0; font: 14px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--roro-card-text, #241f1a) !important; }
.roro-map table.roro-mt th,
.roro-map table.roro-mt td { color: var(--roro-card-text, #241f1a) !important; padding: 7px 10px; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 14%, transparent); text-align: left; vertical-align: top; }
.roro-map table.roro-mt tbody td { background: var(--roro-card-bg, #faf6f0); }
.roro-map table.roro-mt thead th { position: sticky; top: 0; z-index: 1; background: color-mix(in srgb, var(--roro-card-text, #241f1a) 10%, var(--roro-card-bg, #faf6f0)); font-weight: 600; color: var(--roro-card-text, #241f1a) !important; white-space: nowrap; }
.roro-map table.roro-mt tbody tr:last-child td { border-bottom: 0; }
.roro-map table.roro-mt .roro-mt-row { cursor: pointer; }
.roro-map table.roro-mt .roro-mt-row:hover td { background: color-mix(in srgb, var(--roro-card-text, #241f1a) 7%, var(--roro-card-bg, #faf6f0)); }
.roro-map table.roro-mt .roro-mt-row:focus { outline: none; }
.roro-map table.roro-mt .roro-mt-row:focus td { background: color-mix(in srgb, var(--roro-card-text, #241f1a) 9%, var(--roro-card-bg, #faf6f0)); }
.roro-map table.roro-mt .roro-mt-row:focus-visible { outline: 2px solid #1f5f6b; outline-offset: -2px; }
.roro-map table.roro-mt .roro-mt-row[aria-selected="true"] td { background: color-mix(in srgb, #8a2f1d 14%, var(--roro-card-bg, #faf6f0)); }
.roro-map table.roro-mt .roro-mt-row[aria-selected="true"] td:first-child { box-shadow: inset 4px 0 0 #8a2f1d; }
.roro-map table.roro-mt .roro-mt-title { font-weight: 600; }
/* Small main picture in the first column of the institution table (0.69.2, I-14). */
.roro-map table.roro-mt th.roro-mt-img,
.roro-map table.roro-mt td.roro-mt-img { width: 56px; padding-right: 4px; }
.roro-map table.roro-mt td.roro-mt-img img { display: block; width: 48px; height: 48px; margin: 0; object-fit: cover; border-radius: 4px; background: color-mix(in srgb, var(--roro-card-text, #241f1a) 8%, transparent); }
.roro-map table.roro-mt .roro-mt-founded,
.roro-map table.roro-mt .roro-mt-closed { white-space: nowrap; font-variant-numeric: tabular-nums; }
/* 0.72.2 (I-15): fixed column widths, so the columns do not jump when a page has no dates; the end shows the type in small type below the date. */
.roro-map table.roro-mt { table-layout: fixed; width: 100%; }
.roro-map table.roro-mt th.roro-mt-h-founded, .roro-map table.roro-mt th.roro-mt-h-closed { width: 8.5rem; }
.roro-map table.roro-mt th.roro-mt-h-count { width: 5rem; }
.roro-map table.roro-mt .roro-mt-end + .roro-mt-end { margin-top: 0.3em; }
.roro-map table.roro-mt .roro-mt-end-date, .roro-map table.roro-mt .roro-mt-end-type { display: block; }
.roro-map table.roro-mt .roro-mt-end-type { font-size: 0.8em; line-height: 1.25; opacity: 0.8; white-space: normal; }
.roro-map table.roro-mt .roro-mt-empty td { color: color-mix(in srgb, var(--roro-card-text, #241f1a) 65%, transparent); font-style: italic; }
.roro-map .roro-mt-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 0; }
.roro-map .roro-mt-info { color: color-mix(in srgb, var(--roro-card-text, #241f1a) 65%, transparent); font-size: 13px; text-align: center; }
.roro-map .roro-mt-nav .roro-map-btn[disabled] { opacity: 0.4; cursor: default; }
.roro-map .roro-mt-nav .roro-map-btn { flex: 0 0 auto; white-space: nowrap; line-height: 1.2; padding: 7px 12px; font-size: 14px; }
.roro-map .roro-mt-info { flex: 1 1 auto; min-width: 0; }
/* 0.72.11: on phones the institution table becomes cards: picture left, name, founders, then founded and end side by side. */
@media (max-width: 640px) {
  .roro-map table.roro-mt.has-pic,
  .roro-map table.roro-mt.has-pic tbody { display: block; width: 100%; table-layout: auto; }
  .roro-map table.roro-mt.has-pic thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .roro-map table.roro-mt.has-pic tbody td { display: block; padding: 0; border: 0; background: transparent !important; box-shadow: none !important; white-space: normal; }
  .roro-map table.roro-mt.has-pic tr.roro-mt-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "img title title" "img founders founders" "img founded closed"; column-gap: 10px; row-gap: 2px; padding: 9px 10px; border-bottom: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 14%, transparent); background: var(--roro-card-bg, #faf6f0); }
  .roro-map table.roro-mt.has-pic tr.roro-mt-row:last-child { border-bottom: 0; }
  .roro-map table.roro-mt.has-pic tr.roro-mt-row:hover { background: color-mix(in srgb, var(--roro-card-text, #241f1a) 7%, var(--roro-card-bg, #faf6f0)); }
  .roro-map table.roro-mt.has-pic tr.roro-mt-row:focus { background: color-mix(in srgb, var(--roro-card-text, #241f1a) 9%, var(--roro-card-bg, #faf6f0)); }
  .roro-map table.roro-mt.has-pic tr.roro-mt-row[aria-selected="true"] { background: color-mix(in srgb, #8a2f1d 14%, var(--roro-card-bg, #faf6f0)); box-shadow: inset 4px 0 0 #8a2f1d; }
  .roro-map table.roro-mt.has-pic td.roro-mt-img { grid-area: img; width: auto; }
  .roro-map table.roro-mt.has-pic td.roro-mt-title { grid-area: title; font-size: 1.05em; line-height: 1.3; }
  .roro-map table.roro-mt.has-pic td.roro-mt-founders { grid-area: founders; display: flex; align-items: baseline; gap: 0.3em; white-space: pre-line; }
  .roro-map table.roro-mt.has-pic td.roro-mt-founders::before { flex: 0 0 auto; }
  .roro-map table.roro-mt.has-pic td.roro-mt-founded { grid-area: founded; }
  .roro-map table.roro-mt.has-pic td.roro-mt-closed { grid-area: closed; }
  .roro-map table.roro-mt.has-pic td.roro-mt-place { display: none; }
  .roro-map table.roro-mt.has-pic td.roro-mt-founders:empty,
  .roro-map table.roro-mt.has-pic td.roro-mt-founded:empty,
  .roro-map table.roro-mt.has-pic td.roro-mt-closed:empty { display: none; }
  .roro-map table.roro-mt.has-pic td[data-label]::before { content: attr(data-label) ": "; opacity: 0.7; font-size: 1em; }
  .roro-map table.roro-mt.has-pic td.roro-mt-closed::before { display: block; content: attr(data-label); }
  .roro-map table.roro-mt.has-pic td.roro-mt-founded::before { display: block; content: attr(data-label); }
  .roro-map table.roro-mt.has-pic tr.roro-mt-empty { display: block; padding: 9px 10px; }
}
@media (max-width: 640px) {
  .roro-map table.roro-mt .roro-mt-place { display: none; }
  .roro-map table.roro-mt:not(.has-pic) thead th:nth-child(2),
  .roro-map table.roro-mt.has-pic thead th:nth-child(3) { display: none; }
}

/* ==== Map popup with the institution profile (0.35.0) ==== */
.roro-map .roro-map-popup.is-profile { width: min(380px, calc(100% - 16px)); max-height: calc(100% - 16px); overflow-y: auto; }
.roro-map .roro-map-popup.is-profile .roro-map-popup-body { padding: 10px 12px 12px; }
.roro-map .roro-map-popup.is-profile .roro-map-popup-title { padding-right: 26px; }
.roro-map .roro-map-popup.is-profile .roro-map-popup-more { position: sticky; bottom: 0; display: block; margin: 0 -12px -12px; padding: 8px 12px; background: var(--roro-card-bg, #f6efe0); border-top: 1px solid rgba(0, 0, 0, 0.1); }
.roro-map .roro-map-popup.is-profile .roro-person-page.roro-pp-box { margin: 6px 0 8px; padding: 0; border: 0; background: transparent; font-size: 13px; }
.roro-map .roro-map-popup.is-profile .roro-pp-profile { grid-template-columns: minmax(0, 96px) minmax(0, 1fr); gap: 10px; }
.roro-map .roro-map-popup.is-profile .roro-pp-profile.is-no-photo { grid-template-columns: minmax(0, 1fr); }
.roro-map .roro-map-popup.is-profile .roro-pp-portrait { padding: 3px; }
.roro-map .roro-map-popup.is-profile .roro-pp-summary { margin-bottom: 0.5rem; }
.roro-map .roro-map-popup-summary { margin-top: 0.35rem; font-size: 0.82rem; line-height: 1.4; }
.roro-map .roro-map-popup.is-profile .roro-credit { font-size: 10px; margin-top: 3px; }
.roro-map .roro-map-popup.is-profile .roro-pp-dl { gap: 3px 12px; line-height: 1.35; }

/* ==== Map table (0.35.2): instructions in a "?" popup ==== */
.roro-map .roro-mt-help { position: relative; display: inline-flex; margin-left: auto; }
.roro-map .roro-mt-bar .roro-map-btn.roro-mt-help-btn { width: 26px; min-width: 26px; height: 26px; padding: 0; border-radius: 50%; border-color: color-mix(in srgb, var(--roro-card-text, #241f1a) 25%, transparent); box-shadow: none; font: 700 14px/24px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-align: center; color: #8a2f1d; background: var(--roro-card-bg, #faf6f0); }
.roro-map .roro-mt-help-btn[aria-expanded="true"] { background: #8a2f1d; border-color: #8a2f1d; color: #fff; }
.roro-map .roro-mt-help-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; width: min(22rem, 80vw); padding: 10px 12px; background: var(--roro-card-bg, #faf6f0); color: var(--roro-card-text, #241f1a) !important; border: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 25%, transparent); border-radius: 8px; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18); font: 13px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-align: left; }
.roro-map .roro-mt-help-pop[hidden] { display: none; }
.roro-map .roro-mt-help-pop ul { margin: 0; padding: 0 0 0 1.1rem; list-style: disc; }
.roro-map .roro-mt-help-pop li { margin: 0 0 3px; padding: 0; }

/* Routes of flight and deportation ([roro_routes], 0.36.0) */
.roro-routes { font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--roro-card-text, #241f1a) !important; }
.roro-routes *, .roro-routes *::before, .roro-routes *::after { box-sizing: border-box; }
.roro-routes .roro-rt-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 6px; }
.roro-routes .roro-rt-search { flex: 0 1 20rem; min-width: 12rem; width: auto; height: auto; margin: 0; padding: 5px 9px; border: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 25%, transparent); border-radius: 6px; background: var(--roro-card-bg, #faf6f0); color: var(--roro-card-text, #241f1a) !important; font: 14px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; box-shadow: none; }
.roro-routes .roro-rt-search:focus { outline: 2px solid #1f5f6b; outline-offset: 1px; }
.roro-routes .roro-rt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.roro-routes .roro-rt-chip { margin: 0; padding: 4px 11px; min-height: 0; border: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 25%, transparent); border-radius: 999px; background: var(--roro-card-bg, #faf6f0); color: var(--roro-card-text, #241f1a) !important; font: 13px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-transform: none; letter-spacing: 0; box-shadow: none; cursor: pointer; }
.roro-routes .roro-rt-chip[aria-pressed="true"] { background: #241f1a; border-color: #241f1a; color: #fff; }
.roro-routes .roro-rt-dot { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; }
.roro-routes .roro-rt-help { position: relative; display: inline-flex; margin-left: auto; }
.roro-routes .roro-rt-help-btn { width: 26px; height: 26px; min-height: 0; margin: 0; padding: 0; border: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 25%, transparent); border-radius: 50%; background: var(--roro-card-bg, #faf6f0); color: #8a2f1d; font: 700 14px/24px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-align: center; text-transform: none; letter-spacing: 0; box-shadow: none; cursor: pointer; }
.roro-routes .roro-rt-help-btn[aria-expanded="true"] { background: #8a2f1d; border-color: #8a2f1d; color: #fff; }
.roro-routes .roro-rt-help-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; width: min(22rem, 80vw); padding: 10px 12px; background: var(--roro-card-bg, #faf6f0); color: var(--roro-card-text, #241f1a) !important; border: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 25%, transparent); border-radius: 8px; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18); font: 13px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-align: left; }
.roro-routes .roro-rt-help-pop[hidden] { display: none; }
.roro-routes .roro-rt-help-pop ul { margin: 0; padding: 0 0 0 1.1rem; list-style: disc; }
.roro-routes .roro-rt-help-pop li { margin: 0 0 3px; padding: 0; }

.roro-routes .roro-rt-wrap { overflow-x: auto; border: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 25%, transparent); border-radius: 6px; background: var(--roro-card-bg, #faf6f0); }
.roro-routes table.roro-rt-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--roro-card-text, #241f1a) !important; }
.roro-routes table.roro-rt-table th { position: sticky; top: 0; padding: 7px 10px; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 25%, transparent); background: color-mix(in srgb, var(--roro-card-text, #241f1a) 10%, var(--roro-card-bg, #faf6f0)); color: var(--roro-card-text, #241f1a) !important; font-weight: 600; text-align: left; white-space: nowrap; }
.roro-routes table.roro-rt-table td { padding: 7px 10px; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 14%, transparent); background: var(--roro-card-bg, #faf6f0); color: var(--roro-card-text, #241f1a) !important; vertical-align: top; text-align: left; }
.roro-routes table.roro-rt-table .roro-rt-row { cursor: pointer; }
.roro-routes table.roro-rt-table .roro-rt-row:hover td { background: color-mix(in srgb, var(--roro-card-text, #241f1a) 7%, var(--roro-card-bg, #faf6f0)); }
.roro-routes table.roro-rt-table .roro-rt-row:focus { outline: none; }
.roro-routes table.roro-rt-table .roro-rt-row:focus td { background: color-mix(in srgb, var(--roro-card-text, #241f1a) 9%, var(--roro-card-bg, #faf6f0)); }
.roro-routes table.roro-rt-table .roro-rt-row:focus-visible { outline: 2px solid #1f5f6b; outline-offset: -2px; }
.roro-routes table.roro-rt-table .roro-rt-row[aria-selected="true"] td { background: color-mix(in srgb, #8a2f1d 14%, var(--roro-card-bg, #faf6f0)); }
.roro-routes table.roro-rt-table .roro-rt-row[aria-selected="true"] td:first-child { box-shadow: inset 4px 0 0 var(--c, #8a2f1d); }
.roro-routes table.roro-rt-table .roro-rt-persons { font-weight: 600; }
.roro-routes table.roro-rt-table .roro-rt-type { white-space: nowrap; }
.roro-routes table.roro-rt-table .roro-rt-type i { display: inline-block; width: 18px; height: 6px; margin-right: 6px; border-radius: 3px; background: var(--c, #8a2f1d); vertical-align: middle; }
.roro-routes table.roro-rt-table .roro-rt-span { white-space: nowrap; font-variant-numeric: tabular-nums; }
.roro-routes table.roro-rt-table .roro-rt-empty td { color: color-mix(in srgb, var(--roro-card-text, #241f1a) 65%, transparent); font-style: italic; }
@media (max-width: 640px) { .roro-routes table.roro-rt-table .roro-rt-row td:nth-child(3), .roro-routes table.roro-rt-table thead th:nth-child(3) { display: none; } }
.roro-routes .roro-rt-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 8px; }
.roro-routes .roro-rt-info { color: color-mix(in srgb, var(--roro-card-text, #241f1a) 65%, transparent); font-size: 13px; text-align: center; }
.roro-routes .roro-rt-btn { width: auto; min-width: 0; min-height: 0; margin: 0; padding: 4px 11px; border: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 25%, transparent); border-radius: 6px; background: var(--roro-card-bg, #faf6f0); color: var(--roro-card-text, #241f1a) !important; font: 13px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-transform: none; letter-spacing: 0; box-shadow: none; cursor: pointer; }
.roro-routes .roro-rt-btn[disabled] { opacity: 0.4; cursor: default; }

.roro-routes .roro-rt-map { position: relative; overflow: hidden; min-height: 260px; border: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 25%, transparent); border-radius: 6px; background: #e9e4d8; touch-action: none; cursor: grab; }
.roro-routes .roro-rt-map.is-drag { cursor: grabbing; }
.roro-routes.roro-routes-compact { margin: 0; }
.roro-routes.roro-routes-compact .roro-rt-map { min-height: 0; }
.roro-routes .roro-rt-tiles { position: absolute; inset: 0; }
.roro-routes .roro-rt-tile { position: absolute; left: 0; top: 0; width: 256px; height: 256px; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; user-select: none; -webkit-user-drag: none; filter: sepia(0.35) saturate(0.7) brightness(1.03); }
.roro-routes svg.roro-rt-svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.roro-routes .roro-rt-route { cursor: pointer; transition: opacity 0.15s; }
.roro-routes .roro-rt-label { font: 600 12px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; fill: var(--roro-card-text, #241f1a); paint-order: stroke; stroke: var(--roro-card-bg, #faf6f0); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.roro-routes .roro-rt-zoom { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; gap: 4px; }
.roro-routes .roro-rt-zoom .roro-rt-btn { width: 30px; height: 30px; padding: 0; font-size: 18px; line-height: 28px; text-align: center; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); }
.roro-routes .roro-rt-attr { position: absolute; right: 0; bottom: 0; z-index: 10; padding: 1px 6px; background: rgba(255, 255, 255, 0.85); color: #334155; font-size: 11px; text-decoration: none; }
.roro-routes .roro-rt-toast { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); padding: 4px 12px; border-radius: 6px; background: rgba(36, 31, 26, 0.85); color: #fff; font-size: 12px; opacity: 0; transition: opacity 0.25s; pointer-events: none; }
.roro-routes .roro-rt-toast.is-shown { opacity: 1; }
.roro-routes .roro-rt-legend { position: absolute; left: 10px; bottom: 22px; padding: 6px 9px; background: var(--roro-card-bg, #faf6f0); border: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 25%, transparent); border-radius: 6px; font-size: 12px; color: var(--roro-card-text, #241f1a) !important; }
.roro-routes .roro-rt-legend div { display: flex; align-items: center; gap: 6px; }
.roro-routes .roro-rt-legend svg { width: 54px; height: 14px; }
.roro-routes .roro-rt-consent { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; padding: 1.5rem; text-align: center; background: #f1f5f9; }
.roro-routes .roro-rt-consent p { max-width: 28rem; margin: 0; }

.roro-routes .roro-rt-pop { position: absolute; z-index: 20; width: min(21rem, 86%); padding: 10px 12px 11px; background: var(--roro-card-bg, #faf6f0); color: var(--roro-card-text, #241f1a) !important; border: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 25%, transparent); border-top: 4px solid var(--c, #8a2f1d); border-radius: 8px; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22); font: 13px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-align: left; cursor: default; }
.roro-routes .roro-rt-pop[hidden] { display: none; }
/* 0.72.12: on phones the popup is a sheet at the bottom of the map; it never covers the selected route. */
.roro-routes .roro-rt-pop.is-sheet { left: 6px !important; right: 6px; top: auto !important; bottom: 6px; width: auto; max-height: 44%; overflow-y: auto; padding: 8px 10px 9px; }
.roro-routes .roro-rt-pop.is-sheet .roro-rt-pop-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.roro-routes .roro-rt-pop.is-side { left: auto !important; right: 8px; top: 8px !important; bottom: auto; width: min(21rem, 40%); max-height: calc(100% - 52px); overflow-y: auto; }
.roro-routes .roro-rt-pop.is-sheet p { margin-bottom: 4px; }
.roro-routes .roro-rt-pop.is-sheet .roro-rt-pop-link { margin-top: 5px; }
.roro-routes .roro-rt-pop-close { position: absolute; right: 6px; top: 4px; width: 24px; height: 24px; min-height: 0; margin: 0; padding: 0; border: 0; background: none; color: color-mix(in srgb, var(--roro-card-text, #241f1a) 65%, transparent); font-size: 18px; line-height: 22px; box-shadow: none; cursor: pointer; }
.roro-routes .roro-rt-pop .roro-rt-pop-title { margin: 0 24px 2px 0; padding: 0; font: 600 14px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--roro-card-text, #241f1a) !important; text-transform: none; letter-spacing: 0; }
.roro-routes .roro-rt-pop p { margin: 0 0 6px; padding: 0; font-size: 13px; line-height: 1.45; }
.roro-routes .roro-rt-pop .roro-rt-pop-meta { color: color-mix(in srgb, var(--roro-card-text, #241f1a) 65%, transparent); font-variant-numeric: tabular-nums; }
.roro-routes .roro-rt-pop-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.roro-routes .roro-rt-pop-col { padding: 6px 8px; background: color-mix(in srgb, var(--roro-card-text, #241f1a) 8%, var(--roro-card-bg, #faf6f0)); border-radius: 6px; }
.roro-routes .roro-rt-pop-col b { display: block; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: color-mix(in srgb, var(--roro-card-text, #241f1a) 65%, transparent); }
.roro-routes .roro-rt-pop-place { margin: 0 0 3px; font-weight: 600; }
.roro-routes .roro-rt-pop-col ul { margin: 0; padding: 0; list-style: none; font-size: 12px; }
.roro-routes .roro-rt-pop-col li { margin: 0 0 2px; padding: 0; }
.roro-routes .roro-rt-pop-link { display: inline-block; margin-top: 8px; color: #8a2f1d; font-size: 13px; }
.roro-routes ul.roro-rt-list { margin: 0.5rem 0 0; }

/* "Save as image" dialog (0.38.0) */
body.roro-ex-open { overflow: hidden; }
.roro-ex { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(36, 31, 26, 0.6); font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #241f1a; }
.roro-ex-box { box-sizing: border-box; width: min(960px, 100%); max-height: 100%; overflow: auto; padding: 16px 18px; background: #faf6f0; border: 1px solid #d9d1c5; border-radius: 8px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35); }
.roro-ex-box:focus { outline: none; }
.roro-ex-title { margin: 0 0 10px; font: 700 18px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #241f1a; }
.roro-ex-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; margin-bottom: 8px; }
.roro-ex-field { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: #5b4a2e; }
.roro-ex-field select { font: 14px system-ui, sans-serif; padding: 4px 6px; color: #241f1a; background: #fff; border: 1px solid #c9bfae; border-radius: 4px; }
.roro-ex-check { display: flex; align-items: center; gap: 4px; font-size: 14px; color: #241f1a; padding-bottom: 5px; }
.roro-ex-note { min-height: 1.4em; margin: 0 0 8px; font-size: 12px; color: #5b4a2e; }
.roro-ex-preview { text-align: center; background: #efe7d6; border: 1px solid #d9d1c5; border-radius: 4px; padding: 6px; }
.roro-ex-canvas { display: block; margin: 0 auto; max-width: 100%; height: auto; max-height: 55vh; width: auto; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25); }
.roro-ex-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.roro-ex-btn { padding: 7px 14px; font: 600 14px system-ui, sans-serif; color: #241f1a; background: #fff; border: 1px solid #b5a98f; border-radius: 5px; cursor: pointer; }
.roro-ex-btn:hover:not([disabled]) { background: #f1e9d8; }
.roro-ex-btn:focus-visible { outline: 2px solid #1f5f6b; outline-offset: 2px; }
.roro-ex-btn[disabled] { opacity: 0.5; cursor: default; }
.roro-ex-primary { color: #fff; background: #1f5f6b; border-color: #1f5f6b; }
.roro-ex-primary:hover:not([disabled]) { background: #184c56; }

/* ==== [roro_image] (0.40.0): picture of a record with credit line ==== */
.roro-figure.roro-image { margin: 0 0 1.2em; max-width: 100%; }
.roro-figure.roro-image img { display: block; max-width: 100%; height: auto; border-radius: 6px; }
.roro-figure.roro-image a { display: block; }
.roro-figure.roro-image .roro-credit { margin: 6px 2px 0; font-size: 11px; line-height: 1.35; font-style: normal; color: #6f655a; overflow-wrap: anywhere; }
.roro-figure.roro-image .roro-credit a { display: inline; color: inherit; }
.roro-figure.roro-align-center { margin-left: auto; margin-right: auto; }
.roro-figure.roro-align-center img { margin: 0 auto; }
.roro-figure.roro-align-left { float: left; max-width: 50%; margin: 0.3em 1.4em 1em 0; }
.roro-figure.roro-align-right { float: right; max-width: 50%; margin: 0.3em 0 1em 1.4em; }
@media (max-width: 600px) { .roro-figure.roro-align-left, .roro-figure.roro-align-right { float: none; max-width: 100%; margin: 0 0 1.2em; } }

/* 0.53.1: search field above the family tree, marked persons */
/* 0.53.4: the bar sits at the top right of the panel, above the heading */
.roro-family-tree:has(> .roro-tree-bar) { display: flex; flex-direction: column; }
.roro-family-tree .roro-tree-bar { order: -1; position: relative; box-sizing: border-box; width: 100%; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 12px; margin: 0 0 6px; max-width: 100%; }
.roro-family-tree .roro-tree-search { flex: 0 1 20rem; min-width: 12rem; margin: 0; padding: 5px 9px; border: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 25%, transparent); border-radius: 6px; background: var(--roro-card-bg, #faf6f0); color: var(--roro-card-text, #241f1a) !important; font: 14px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.roro-family-tree .roro-tree-search:focus { outline: 2px solid #1f5f6b; outline-offset: 1px; }
.roro-family-tree .roro-tree-found { font: 13px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--roro-card-text, #241f1a); }
.roro-family-tree .roro-tree-help-btn { width: 26px; min-width: 26px; height: 26px; padding: 0; border: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 25%, transparent); border-radius: 50%; background: var(--roro-card-bg, #faf6f0); color: #8a2f1d; box-shadow: none; font: 700 14px/24px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-align: center; cursor: pointer; }
.roro-family-tree .roro-tree-help-pop { position: absolute; z-index: 5; right: 0; top: calc(100% + 4px); max-width: 22rem; padding: 8px 11px; border: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 25%, transparent); border-radius: 6px; background: var(--roro-card-bg, #faf6f0); color: var(--roro-card-text, #241f1a); font: 13px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2); }
.roro-family-tree .roro-tree-help-pop[hidden] { display: none; }
.roro-family-tree .roro-tree-card.is-match { outline: 3px solid #e0a100; outline-offset: 2px; }
.roro-family-tree .roro-tree-card.is-match.is-current { outline-color: #8a2f1d; }
/* 0.53.5: on wide screens the bar sits in the line of the heading (top right); on narrow ones it stays above it */
@media (min-width: 700px) {
  .roro-family-tree:not(.roro-no-title):has(> .roro-tree-bar) { display: block; position: relative; }
  .roro-family-tree:not(.roro-no-title):has(> .roro-tree-bar) > h3 { padding-right: 19rem; min-height: 2.6rem; margin-bottom: 0.6rem; }
  .roro-family-tree:not(.roro-no-title) > .roro-tree-bar { position: absolute; top: 1rem; right: 1.25rem; width: auto; margin: 0; z-index: 3; }
  .roro-family-tree:not(.roro-no-title) > .roro-tree-bar { flex-wrap: nowrap; white-space: nowrap; gap: 0 8px; }
  .roro-family-tree:not(.roro-no-title) > .roro-tree-bar .roro-tree-search { flex: 0 0 14rem; width: 14rem !important; min-width: 0; max-width: none; box-sizing: border-box; margin: 0 !important; padding: 5px 9px !important; font-size: 14px !important; height: auto; }
  .roro-family-tree:not(.roro-no-title) > .roro-tree-bar .roro-tree-help-btn { margin: 0 !important; padding: 0 !important; }
  .roro-family-tree:not(.roro-no-title) > .roro-tree-bar .roro-tree-found:empty { display: none; }
  .roro-family-tree:not(.roro-no-title) > .roro-tree-bar .roro-tree-help { flex: 0 0 auto; display: flex; align-items: center; }
}

/* Image credit of the institution profile: behind a small "©" button on the picture (0.53.16). */
.roro-pp-portrait.has-credit-box { position: relative; }
.roro-credit-box { position: static; margin: 0; }
.roro-credit-box > summary { position: absolute; right: 12px; bottom: 12px; }
.roro-credit-box > summary { list-style: none; cursor: pointer; width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; background: rgba(15, 23, 42, 0.65); color: #fff; font-size: 13px; user-select: none; }
.roro-credit-box > summary::-webkit-details-marker { display: none; }
.roro-credit-box > summary:hover, .roro-credit-box[open] > summary { background: rgba(15, 23, 42, 0.9); }
.roro-credit-box .roro-credit { position: absolute; left: 10px; right: 10px; bottom: 42px; width: auto; margin: 0; padding: 6px 8px; background: var(--sf); border: 1px solid var(--ln); border-radius: 6px; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2); font-size: 12px; line-height: 1.35; color: var(--mu); z-index: 5; text-align: left; overflow-wrap: anywhere; }

/* Map table: heading, search field and "?" in one row, "?" at the far right (0.53.19). Narrow screens keep the stacked layout. */
@media (min-width: 700px) {
  .roro-map.roro-panel.has-table-bar { position: relative; }
  .roro-map.has-table-bar > h3 { box-sizing: border-box; min-height: 3rem; padding-right: 20rem; }
  .roro-map.has-table-bar .roro-mt-bar { position: absolute; top: calc(1rem - 2px); right: 1.25rem; z-index: 3; margin: 0; flex-wrap: nowrap; white-space: nowrap; gap: 0 8px; justify-content: flex-end; }
  .roro-map.has-table-bar .roro-mt-search { flex: 0 0 15rem; width: 15rem !important; min-width: 0; height: auto !important; margin: 0 !important; padding: 5px 9px !important; font-size: 14px !important; line-height: 1.3 !important; box-sizing: border-box !important; }
  .roro-map.has-table-bar .roro-mt-help { margin-left: 0; }
}

/* Several founders: one name per line (0.53.22). */
.roro-map table.roro-mt .roro-mt-founders { white-space: pre-line; }

/* Picture slider in the popup of an institution (0.53.23, arrows made theme-proof in 0.53.25). */
.roro-map .roro-slider { position: relative; margin: 6px 0 8px; }
.roro-map .roro-slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 6px; background: #ece7df; }
.roro-map .roro-slider-track::-webkit-scrollbar { display: none; }
.roro-map .roro-slider .roro-slide { position: relative; flex: 0 0 100%; margin: 0; padding: 0; scroll-snap-align: center; }
.roro-map .roro-slider .roro-slide-img { display: block; width: 100% !important; height: auto !important; max-height: 230px; object-fit: contain; margin: 0; }
.roro-map .roro-slider button.roro-slider-prev,
.roro-map .roro-slider button.roro-slider-next { position: absolute !important; top: 50% !important; bottom: auto !important; transform: translateY(-50%) !important; z-index: 4 !important; display: block !important; visibility: visible !important; opacity: 1 !important; width: 30px !important; height: 30px !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; border: 2px solid #fff !important; border-radius: 50% !important; background: rgba(15, 23, 42, 0.75) !important; color: #fff !important; font: 700 20px/26px system-ui, sans-serif !important; text-align: center !important; text-indent: 0 !important; text-transform: none !important; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important; }
.roro-map .roro-slider button.roro-slider-prev { left: 6px !important; right: auto !important; }
.roro-map .roro-slider button.roro-slider-next { right: 6px !important; left: auto !important; }
.roro-map .roro-slider button.roro-slider-prev:hover,
.roro-map .roro-slider button.roro-slider-next:hover { background: rgba(15, 23, 42, 0.95) !important; }
.roro-map .roro-slider .roro-slider-count { position: absolute; left: 8px; bottom: 8px; z-index: 4; padding: 1px 7px; border-radius: 10px; background: rgba(15, 23, 42, 0.75); color: #fff; font: 11px/1.6 system-ui, sans-serif; }
.roro-map .roro-slider:focus-visible { outline: 2px solid #1f5f6b; outline-offset: 2px; }

/* Flight routes: heading, search field and "?" in one row, "?" at the far right (0.53.30). Narrow screens: own row, right-aligned. */
.roro-routes .roro-rt-head { display: flex; align-items: center; justify-content: flex-end; gap: 0 8px; margin: 0 0 6px; }
.roro-routes .roro-rt-head .roro-rt-search { flex: 0 1 15rem; width: 15rem; min-width: 0; }
.roro-routes .roro-rt-head .roro-rt-help { margin-left: 0; }
@media (min-width: 700px) {
  .roro-routes.roro-panel.has-rt-head { position: relative; }
  .roro-routes.has-rt-head > h3 { box-sizing: border-box; min-height: 3rem; padding-right: 20rem; }
  .roro-routes.has-rt-head .roro-rt-head { position: absolute; top: calc(1rem - 2px); right: 1.25rem; z-index: 3; margin: 0; flex-wrap: nowrap; white-space: nowrap; }
  .roro-routes.has-rt-head .roro-rt-head .roro-rt-search { flex: 0 0 15rem; width: 15rem !important; min-width: 0; height: auto !important; margin: 0 !important; padding: 5px 9px !important; font-size: 14px !important; line-height: 1.3 !important; box-sizing: border-box !important; }
}

/* Caption line under maps, flight routes, family trees and relationship lines (0.53.31). */
.roro-panel > .roro-caption { margin: 10px 0 0; padding: 0; text-align: center; font-size: 13px; line-height: 1.4; color: color-mix(in srgb, var(--roro-card-text, #241f1a) 70%, transparent); }

/* =====================================================================
   FAMILY TREE – FOCUS VIEW (0.55.0), [roro_tree view="focus"], built by roro-focus-tree.js.
   Buttons use "all: unset" so that theme styles for button / a / ul cannot change them.
   The arrows at the sides are plain arrows without a box; the number below tells how many persons are hidden.
   ===================================================================== */
.roro-focus-tree .roro-ft {
  --ft-arrow-w: 46px; --ft-card-w: 150px;
  --ft-accent: #1e3a8a; --ft-ink: #0f172a; --ft-muted: #64748b; --ft-line: #cbd5e1; --ft-soft: #e8eefc;
  position: relative; box-sizing: border-box; width: 100%;
  font: 14px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ft-ink);
  letter-spacing: normal; text-transform: none;
}
.roro-focus-tree .roro-ft *, .roro-focus-tree .roro-ft *::before, .roro-focus-tree .roro-ft *::after { box-sizing: border-box; }
/* Theme styles for div / span / button must not change the font of the cards. */
.roro-focus-tree .roro-ft, .roro-focus-tree .roro-ft * { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: normal; }

.roro-focus-tree .roro-ft-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 8px 2px; }
.roro-focus-tree .roro-ft-nav[hidden] { display: none; }
.roro-focus-tree .roro-ft-link { all: unset; box-sizing: border-box; cursor: pointer; color: var(--ft-accent); font: 600 13px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; border-radius: 4px; }
.roro-focus-tree .roro-ft-link:hover { text-decoration: underline; }
.roro-focus-tree .roro-ft-link:focus-visible { outline: 2px solid var(--ft-accent); outline-offset: 2px; }

.roro-focus-tree .roro-ft-title { margin: 0 0 4px 2px; font: 600 11px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ft-accent); }
.roro-focus-tree .roro-ft-title small.roro-ft-total { display: inline; }
.roro-focus-tree .roro-ft-title small { display: block; font-size: 11px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ft-muted); }
.roro-focus-tree .roro-ft-title { background: var(--ft-panel-bg, transparent); padding: 1px 6px 1px 2px; border-radius: 3px; position: relative; z-index: 1; }
.roro-focus-tree .roro-ft-conn { height: 16px; display: flex; justify-content: center; }
.roro-focus-tree .roro-ft-conn::before { content: none; }
.roro-focus-tree .roro-ft-rows { position: relative; }
.roro-focus-tree .roro-ft-links { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; overflow: visible; }
.roro-focus-tree .roro-ft-row { position: relative; z-index: 1; }
.roro-focus-tree .roro-ft-title { width: fit-content; }
.roro-focus-tree .roro-ft-empty { padding: 10px 6px; text-align: center; font-size: 13px; color: var(--ft-muted); }

.roro-focus-tree .roro-ft-win { display: flex; align-items: stretch; outline: none; touch-action: pan-y; user-select: none; }
.roro-focus-tree .roro-ft-win:focus-visible { box-shadow: 0 0 0 2px var(--ft-accent); border-radius: 12px; }
.roro-focus-tree .roro-ft-cards { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; align-items: stretch; gap: 18px; }
.roro-focus-tree .roro-ft-unit { display: flex; align-items: stretch; flex: none; flex-wrap: wrap; justify-content: center; }
.roro-focus-tree .roro-ft-couple { align-self: center; flex: none; width: var(--ft-couple-w, 26px); text-align: center; font-size: 20px; line-height: 1; color: var(--ft-accent); }
/* Narrow screens: the partner stands below the person (the width of a pair does not fit next to the arrows). */
.roro-focus-tree .roro-ft.is-stack .roro-ft-unit { flex-direction: column; align-items: center; }
.roro-focus-tree .roro-ft.is-stack .roro-ft-couple { width: auto; height: 22px; line-height: 22px; }
.roro-focus-tree .roro-ft.is-stack .roro-ft-more { margin: 2px 0 0; }
.roro-focus-tree .roro-ft-more { align-self: center; flex: none; margin-left: 4px; font-size: 11px; color: var(--ft-accent); }

/* Arrows: no box, no frame – just a bold arrow in the accent colour that moves a little towards its direction when touched. */
.roro-focus-tree .roro-ft-arrow {
  all: unset; box-sizing: border-box; flex: none; width: var(--ft-arrow-w);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  cursor: pointer; color: var(--ft-accent); border-radius: 12px; -webkit-tap-highlight-color: transparent;
}
.roro-focus-tree .roro-ft-arrow svg { display: block; width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.2)); transition: transform 0.15s ease; }
.roro-focus-tree .roro-ft-count { font: 700 12px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: 0.02em; color: var(--ft-accent); font-variant-numeric: tabular-nums; }
.roro-focus-tree .roro-ft-l:hover svg { transform: translateX(-3px) scale(1.15); }
.roro-focus-tree .roro-ft-r:hover svg { transform: translateX(3px) scale(1.15); }
.roro-focus-tree .roro-ft-arrow:active svg { transform: scale(0.85); }
.roro-focus-tree .roro-ft-arrow:focus-visible { outline: 2px solid var(--ft-accent); outline-offset: -2px; }
.roro-focus-tree .roro-ft-arrow.is-off { visibility: hidden; pointer-events: none; }
@keyframes roro-ft-nudge-l { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-5px); } }
@keyframes roro-ft-nudge-r { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.roro-focus-tree .roro-ft-arrow.is-new.roro-ft-l svg { animation: roro-ft-nudge-l 1.3s ease-in-out 2; }
.roro-focus-tree .roro-ft-arrow.is-new.roro-ft-r svg { animation: roro-ft-nudge-r 1.3s ease-in-out 2; }

/* Cards */
.roro-focus-tree .roro-ft-card {
  position: relative; flex: none; display: flex; width: var(--ft-card-w);
  background: #fff; border: 0; border-left: 4px solid var(--ft-c, var(--ft-accent)); border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.15s, box-shadow 0.15s;
}
.roro-focus-tree .roro-ft-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08), 0 14px 30px rgba(15, 23, 42, 0.14); }
.roro-focus-tree .roro-ft-card.is-partner { background: #f8fafc; border-left-color: color-mix(in srgb, var(--ft-c, var(--ft-accent)) 35%, #fff); }
.roro-focus-tree .roro-ft-card.is-focus { background: #eef3ff; box-shadow: 0 0 0 2px var(--ft-accent), 0 8px 24px rgba(15, 23, 42, 0.12); }
.roro-focus-tree .roro-ft-card.is-private { padding: 10px; align-items: center; justify-content: center; background: #f8fafc; border: 1px dashed var(--ft-line); border-left: 4px solid var(--ft-line); box-shadow: none; }
.roro-focus-tree .roro-ft-card.is-private .roro-ft-name { font-weight: 400; font-style: italic; color: var(--ft-muted); }
.roro-focus-tree .roro-ft-body { all: unset; box-sizing: border-box; display: block; flex: 1 1 auto; min-width: 0; padding: 8px 26px 8px 10px; cursor: pointer; text-align: left; border-radius: 0 12px 12px 0; color: var(--ft-ink); font: 14px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.roro-focus-tree .roro-ft-card.is-focus .roro-ft-body { cursor: default; }
.roro-focus-tree .roro-ft-body:focus-visible { outline: 2px solid var(--ft-accent); outline-offset: -2px; }
.roro-focus-tree .roro-ft-from { display: block; margin-bottom: 2px; font-size: 10px; line-height: 1.2; color: var(--ft-muted); }
.roro-focus-tree .roro-ft-line { display: flex; align-items: center; gap: 8px; }
.roro-focus-tree img.roro-ft-photo { flex: none; width: 34px !important; height: 34px !important; max-width: none; margin: 0; border: 0; border-radius: 50%; box-shadow: none; object-fit: cover; }
.roro-focus-tree .roro-ft-text { display: flex; flex-direction: column; min-width: 0; }
.roro-focus-tree .roro-ft-name { font-size: 13.5px; font-weight: 650; line-height: 1.25; overflow-wrap: anywhere; color: var(--ft-ink); }
.roro-focus-tree .roro-ft-years { font-size: 12px; margin-top: 1px; color: var(--ft-muted); font-variant-numeric: tabular-nums; }
.roro-focus-tree .roro-ft-badge { align-self: flex-start; margin-top: 4px; padding: 1px 8px; border-radius: 10px; font-size: 11px; line-height: 1.5; background: var(--ft-soft); color: var(--ft-accent); }
.roro-focus-tree a.roro-ft-open { position: absolute; top: 4px; right: 5px; display: block; width: 20px; height: 20px; border: 0 !important; border-radius: 50%; box-shadow: none !important; text-align: center; font: 14px/20px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-decoration: none !important; color: var(--ft-muted); cursor: pointer; }
.roro-focus-tree a.roro-ft-open:hover, .roro-focus-tree a.roro-ft-open:focus-visible { background: var(--ft-soft); color: var(--ft-accent); }

/* Rows slide in from the side they were moved to */
@keyframes roro-ft-in-l { from { transform: translateX(70px); opacity: 0.25; } to { transform: none; opacity: 1; } }
@keyframes roro-ft-in-r { from { transform: translateX(-70px); opacity: 0.25; } to { transform: none; opacity: 1; } }
.roro-focus-tree .roro-ft-cards.is-sl .roro-ft-card { animation: roro-ft-in-l 0.28s ease-out; }
.roro-focus-tree .roro-ft-cards.is-sr .roro-ft-card { animation: roro-ft-in-r 0.28s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .roro-focus-tree .roro-ft-cards .roro-ft-card, .roro-focus-tree .roro-ft-arrow svg { animation: none !important; transition: none !important; }
}

/* Search field with result list (the bar itself uses the rules of the descendant tree) */
.roro-focus-tree .roro-ft-searchbox { position: relative; display: block; flex: 0 1 20rem; min-width: 12rem; }
.roro-focus-tree .roro-ft-searchbox[hidden] { display: none; }
.roro-focus-tree .roro-ft-searchbox .roro-tree-search { width: 100%; min-width: 0; box-sizing: border-box; }
.roro-focus-tree .roro-ft-results { position: absolute; z-index: 6; left: 0; right: 0; top: calc(100% + 2px); display: block; max-height: 18rem; overflow: auto; white-space: normal; background: var(--roro-card-bg, #fff); border: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 25%, transparent); border-radius: 6px; box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2); }
.roro-focus-tree .roro-ft-results[hidden] { display: none; }
.roro-focus-tree .roro-ft-result { all: unset; display: block; box-sizing: border-box; width: 100%; padding: 6px 10px; cursor: pointer; font: 14px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--roro-card-text, #241f1a); }
.roro-focus-tree .roro-ft-result:hover, .roro-focus-tree .roro-ft-result.is-current { background: #e8eefc; }
@media (min-width: 700px) {
  .roro-family-tree.roro-focus-tree:not(.roro-no-title) > .roro-tree-bar .roro-ft-searchbox { flex: 0 0 14rem; width: 14rem; min-width: 0; }
}

/* Focus tree: the result count keeps its place, so the search field does not jump (0.59.1) */
.roro-family-tree.roro-focus-tree > .roro-tree-bar .roro-tree-found, .roro-family-tree.roro-focus-tree > .roro-tree-bar .roro-tree-found:empty { display: inline-block; flex: 0 0 auto; box-sizing: border-box; width: 6.5rem; min-width: 6.5rem; overflow: hidden; text-overflow: ellipsis; text-align: left; font-variant-numeric: tabular-nums; }

/* Focus tree: "Save as image" button (0.59.0) */
.roro-focus-tree .roro-ft-save { all: unset; box-sizing: border-box; width: 26px; height: 26px; margin-right: 6px; border: 1px solid color-mix(in srgb, var(--roro-card-text, #241f1a) 25%, transparent); border-radius: 50%; background: var(--roro-card-bg, #faf6f0); color: #1f3a8a; font: 700 14px/24px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-align: center; cursor: pointer; }
.roro-focus-tree .roro-ft-save:hover { background: #f1e9d8; }
.roro-focus-tree .roro-ft-save:focus-visible { outline: 2px solid #1f5f6b; outline-offset: 2px; }

/* Tree image dialog: preview at actual size scrolls (0.59.3) */
.roro-ex-preview:has(.roro-ex-canvas.is-actual) { text-align: left; overflow: auto; max-height: 55vh; }
.roro-ex-canvas.is-actual { display: block; margin: 0; max-width: none; max-height: none; }

/* Events table (0.61.0, layout 0.71.0): date and time, place + title + text + link, large picture on the right; upcoming events larger, the next one with a coloured edge. */
.roro-events { --roro-events-line: #b45309; margin: 1.5rem 0; }
.roro-events .roro-events-group + .roro-events-group { margin-top: 2rem; padding-top: 1rem; border-top: 4px solid var(--roro-events-line); }
.roro-events .roro-events-heading { margin: 0 0 0.75rem; font-size: 1.6rem; line-height: 1.25; }
.roro-events .roro-events-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.roro-events .roro-events-table th:nth-child(1) { width: 11rem; }
.roro-events .roro-events-table th:nth-child(3) { width: 14rem; }
.roro-events .roro-events-table th, .roro-events .roro-events-table td { text-align: left; vertical-align: top; padding: 0.6rem 0.7rem; border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
.roro-events .roro-events-table th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.roro-events .roro-ev-when { white-space: nowrap; }
.roro-events .roro-ev-day { display: block; font-weight: 700; }
.roro-events .roro-ev-time, .roro-events .roro-ev-speaker { display: block; font-size: 0.9em; opacity: 0.85; }
.roro-events .roro-ev-what { overflow-wrap: anywhere; }
.roro-events .roro-ev-where { font-weight: 700; }
.roro-events .roro-ev-where a { font-weight: 700; }
.roro-events .roro-ev-address { display: block; font-weight: 700; }
.roro-events .roro-ev-headline { display: block; margin-top: 0.6rem; font-weight: 700; }
.roro-events .roro-ev-text { display: block; margin-top: 0.3rem; }
.roro-events .roro-ev-speaker { margin-top: 0.3rem; }
.roro-events .roro-ev-more { display: inline-block; margin-top: 0.4rem; }
.roro-events .roro-ev-picture { text-align: right; }
.roro-events .roro-ev-photo img { display: block; width: 100%; max-width: 13rem; height: auto; max-height: 13rem; margin: 0 0 0 auto; object-fit: cover; border-radius: 6px; }
.roro-events .roro-events-empty { font-style: italic; opacity: 0.75; }
.roro-events .is-upcoming .roro-events-table { font-size: 1.08rem; }
.roro-events .is-past .roro-events-table { font-size: 0.9rem; }
.roro-events .is-past .roro-ev-day { font-weight: 600; opacity: 0.8; }
.roro-events .roro-ev-row.is-next td:first-child { box-shadow: inset 6px 0 0 var(--roro-events-line); }
@media (max-width: 640px) {
	.roro-events .roro-events-table thead { display: none; }
	.roro-events .roro-events-table, .roro-events .roro-events-table tbody, .roro-events .roro-events-table tr, .roro-events .roro-events-table td { display: block; width: 100%; }
	.roro-events .roro-ev-row { border-bottom: 1px solid rgba(0, 0, 0, 0.12); padding: 0.5rem 0; }
	.roro-events .roro-events-table td { border-bottom: 0; padding: 0.15rem 0; }
	.roro-events .roro-events-table th:nth-child(n) { width: auto; }
	.roro-events .roro-ev-picture { text-align: left; }
	.roro-events .roro-ev-photo img { margin: 0.4rem 0 0; max-width: 100%; }
	.roro-events .roro-ev-row.is-next { box-shadow: inset 6px 0 0 var(--roro-events-line); padding-left: 0.9rem; }
	.roro-events .roro-ev-row.is-next td:first-child { box-shadow: none; padding-left: 0; }
}

/* 0.63.3: [roro_event_map] – address box on the left, map as a rectangle on the right. */
.roro-event-map { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr); gap: 16px; align-items: start; margin: 1em 0; }
.roro-event-map-side { display: flex; flex-direction: column; gap: 10px; }
.roro-event-map-box { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; }
.roro-event-map-name { font-size: 1.05em; }
.roro-event-map-view { min-width: 0; }
@media (max-width: 640px) { .roro-event-map { grid-template-columns: 1fr; } }

/* 0.64.0: place row of the event page: address left, small map right. */
.roro-event-details .roro-event-place { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; width: 100%; }
.roro-event-details .roro-event-place-text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 11rem; min-width: 0; }
.roro-event-details .roro-event-place-map { flex: 0 1 17rem; min-width: 12rem; }
.roro-event-details .roro-event-place-map .roro-map-compact { margin: 0; }
.roro-map-compact .roro-map-view { min-height: 0; }
.roro-event-details .roro-event-fact > span:last-child { flex: 1 1 auto; min-width: 0; }
.roro-map-compact .roro-map-controls, .roro-map-compact .roro-map-toolbar { display: none; }
.roro-event-details .roro-event-place-map { flex: 1 1 100%; min-width: 0; }
.roro-routes.roro-routes-compact .roro-rt-legend { display: none; }

/* 0.65.0: [roro_place_profile] – address left, small map right. */
.roro-place-profile { margin: 1em 0; }
.roro-place-profile-row { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.roro-place-profile .roro-event-sources { margin-top: 0.8rem; }
.roro-place-profile-text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 12rem; min-width: 0; font-size: 1.05em; }
.roro-place-profile-map { flex: 1 1 18rem; min-width: 12rem; }
.roro-place-profile-map .roro-map-compact { margin: 0; }

/* 0.72.15: on phones the relationship chain [roro_relationship] stands upright: one card below the other, the step word beside a downward arrow. */
@media (max-width: 640px) {
  .roro-family-tree .roro-relationship-chain { flex-direction: column; min-width: 0; align-items: center; justify-content: flex-start; }
  .roro-family-tree .roro-relationship-step { flex-direction: row; gap: 8px; min-width: 0; padding: 4px 0; }
  .roro-family-tree .roro-relationship-step-label { margin: 0; font-size: 13px; }
  .roro-family-tree .roro-relationship-arrow { display: inline-block; transform: rotate(90deg); }
  .roro-family-tree .roro-relationship-chain .roro-tree-card { width: min(220px, 80%); }
}

.roro-map .roro-mt-info-part { display: inline-block; white-space: nowrap; }

/* 0.72.23: family tree on phones: smaller cards and text, so that at least a married couple (two cards) is visible at once. */
@media (max-width: 640px) {
  .roro-family-tree .roro-tree-cell > .roro-tree-card,
  .roro-family-tree.roro-skin-modern .roro-tree-cell > .roro-tree-card,
  .roro-family-tree.roro-skin-modern .roro-tree-card { width: 128px; min-height: 48px; padding: 6px 7px; }
  .roro-family-tree.roro-skin-modern .roro-tree-cell > .roro-tree-card:has(img),
  .roro-family-tree.roro-skin-modern .roro-tree-card:has(img) { grid-template-columns: 32px 1fr; column-gap: 7px; }
  .roro-family-tree.roro-skin-modern img.roro-tree-photo { width: 32px !important; height: 32px !important; }
  .roro-family-tree .roro-tree-name,
  .roro-family-tree.roro-skin-modern .roro-tree-name,
  .roro-family-tree.roro-skin-archive .roro-tree-name,
  .roro-family-tree.roro-skin-deco .roro-tree-name { font-size: 12px; line-height: 1.2; letter-spacing: 0; }
  .roro-family-tree .roro-tree-years,
  .roro-family-tree.roro-skin-modern .roro-tree-years { font-size: 10.5px; }
  .roro-family-tree .roro-tree-couple > .roro-tree-marriage { flex-basis: 14px; width: 14px; }
}

/* 0.72.24: event detail on phones: a row with a map (route, place) gets the full width, the label stands above it; the route map is lower. */
@media (max-width: 640px) {
  .roro-event-details .roro-event-fact:has(.roro-event-place-map) { flex-direction: column; gap: 0.35rem; }
  .roro-event-details .roro-event-fact:has(.roro-event-place-map) > .roro-event-fact-label { flex: 0 0 auto; }
  .roro-event-details .roro-event-place-map .roro-routes-compact .roro-rt-map,
  .roro-event-details .roro-event-place-map .roro-rt-map { height: 270px !important; }
}

/* 0.73.1: focus view of the family tree on phones: smaller text and padding, so that a couple fits side by side. */
.roro-focus-tree .roro-ft.is-narrow .roro-ft-body { padding: 6px 20px 6px 8px; font-size: 12px; }
.roro-focus-tree .roro-ft.is-narrow .roro-ft-name { font-size: 12px; }
.roro-focus-tree .roro-ft.is-narrow .roro-ft-years { font-size: 10.5px; }
.roro-focus-tree .roro-ft.is-narrow .roro-ft-couple { font-size: 16px; }
.roro-focus-tree .roro-ft.is-narrow .roro-ft-arrow svg { width: 24px; height: 24px; }
