/**
 * Ancestral Ledger: the public family tree.
 * Every rule is scoped to .famline-tree so it can't affect the rest of the site, and class names
 * start with "fl-" so the site's theme can't accidentally restyle the tree.
 * Colours are custom properties: a theme can override them on .famline-tree.
 */
.famline-tree {
	--famline-paper: #E6ECE8;
	--famline-card: #FBFCFA;
	--famline-ink: #1D2A2A;
	--famline-muted: #5B6A66;
	--famline-pine: #2E5E52;
	--famline-pine-soft: #D5E3DD;
	--famline-brass: #9A7426;
	--famline-brass-text: #7A5A16;   /* brass for small text: 6.2:1 on cards (WCAG AA) */
	--famline-line: #93A59F;
	--famline-shadow: 0 1px 2px rgba(29,42,42,.08), 0 4px 14px rgba(29,42,42,.07);
	--famline-serif: Georgia, "Times New Roman", serif;
	--famline-sans: inherit;
	position: relative;
	display: flex;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	background: var(--famline-paper);
	color: var(--famline-ink);
	font-family: var(--famline-sans);
	font-size: 15px;
	line-height: 1.5;
	border-radius: 6px;
}
.famline-tree *, .famline-tree *::before, .famline-tree *::after { box-sizing: border-box; }
.famline-tree .famline-tree-root { flex: 1; min-width: 0; display: flex; height: 100%; }
.famline-tree .fl-stage { flex: 1; min-height: 0; min-width: 0; }
/* Guard against common theme rules on images, buttons, lists and headings. */
.famline-tree img { max-width: none; height: auto; border: 0; box-shadow: none; }
.famline-tree .fl-card-thumb { height: 44px; }
.famline-tree .fl-panel-portrait { height: 88px; }
.famline-tree button { text-transform: none; letter-spacing: normal; line-height: 1.3; min-height: 0; box-shadow: none; }
.famline-tree ul { list-style: none; }
.famline-tree h2, .famline-tree h3 { text-transform: none; letter-spacing: normal; }
/* ---------- React Flow base styles (inlined; stylesheets can't load from npm CDNs here) ---------- */
.famline-tree .react-flow {direction: ltr; width: 100%; height: 100%; position: relative; overflow: hidden; z-index: 0; }
.famline-tree .react-flow__container,
.famline-tree .react-flow__background {position: absolute; width: 100%; height: 100%; top: 0; left: 0; }
.famline-tree .react-flow__background {pointer-events: none; z-index: -1; }
.famline-tree .react-flow__pane {z-index: 1; cursor: grab; }
.famline-tree .react-flow__pane.dragging {cursor: grabbing; }
.famline-tree .react-flow__viewport {transform-origin: 0 0; z-index: 2; pointer-events: none; }
.famline-tree .react-flow__renderer {z-index: 4; }
.famline-tree .react-flow__selection {z-index: 6; }
.famline-tree .react-flow__edges {position: absolute; }
.famline-tree .react-flow__edges svg {overflow: visible; position: absolute; pointer-events: none; }
.famline-tree .react-flow svg {overflow: visible; }
.famline-tree .react-flow__edge {pointer-events: visibleStroke; }
.famline-tree .react-flow__edge-path {fill: none; stroke: var(--famline-line); stroke-width: 1.5; }
.famline-tree .react-flow__edgelabel-renderer {position: absolute; width: 100%; height: 100%; pointer-events: none; user-select: none; left: 0; top: 0; }
.famline-tree .react-flow__nodes {pointer-events: none; transform-origin: 0 0; }
.famline-tree .react-flow__node {position: absolute; user-select: none; pointer-events: all; transform-origin: 0 0; cursor: pointer; }
.famline-tree .react-flow__node:focus {outline: none; }
.famline-tree .react-flow__handle {position: absolute; pointer-events: none; width: 6px; height: 6px; min-width: 5px; min-height: 5px; opacity: 0; }
.famline-tree .react-flow__handle-top {top: 0; left: 50%; transform: translate(-50%, -50%); }
.famline-tree .react-flow__handle-bottom {bottom: 0; top: auto; left: 50%; transform: translate(-50%, 50%); }
.famline-tree .react-flow__handle-left {top: 50%; left: 0; transform: translate(-50%, -50%); }
.famline-tree .react-flow__handle-right {top: 50%; right: 0; transform: translate(50%, -50%); }
.famline-tree .react-flow__panel {position: absolute; z-index: 5; margin: 14px; }
.famline-tree .react-flow__panel.top {top: 0; }
.famline-tree .react-flow__panel.bottom {bottom: 0; }
.famline-tree .react-flow__panel.left {left: 0; }
.famline-tree .react-flow__panel.right {right: 0; }
.famline-tree .react-flow__panel.center {left: 50%; transform: translateX(-50%); }
.famline-tree .react-flow__attribution {font-size: 10px; background: color-mix(in srgb, var(--famline-card) 70%, transparent); padding: 2px 4px; margin: 0; }
.famline-tree .react-flow__attribution a {color: var(--famline-muted); text-decoration: none; }
.famline-tree .react-flow__controls {display: flex; flex-direction: column; box-shadow: var(--famline-shadow); border-radius: 6px; overflow: hidden; }
.famline-tree .react-flow__controls-button {border: none; background: var(--famline-card); color: var(--famline-ink); border-bottom: 1px solid var(--famline-paper); display: flex; justify-content: center; align-items: center; width: 32px; height: 32px; cursor: pointer; padding: 8px; }
.famline-tree .react-flow__controls-button:last-child {border-bottom: none; }
.famline-tree .react-flow__controls-button:hover {background: var(--famline-pine-soft); }
.famline-tree .react-flow__controls-button:focus-visible {outline: 2px solid var(--famline-pine); outline-offset: -2px; }
.famline-tree .react-flow__controls-button svg {width: 100%; max-width: 12px; max-height: 12px; fill: currentColor; }
.famline-tree .react-flow__minimap {background: var(--famline-card); border-radius: 6px; box-shadow: var(--famline-shadow); }
.famline-tree .react-flow__minimap-svg {display: block; }
.famline-tree .fl-stage {flex: 1; min-height: 0; position: relative; display: flex; }
.famline-tree .fl-canvas {flex: 1; min-width: 0; position: relative; }
/* ---------- Person card ---------- */
.famline-tree .fl-card {width: 250px; height: 78px; padding: 10px 14px 10px 14px;
  background: var(--famline-card); border-radius: 4px; box-shadow: var(--famline-shadow);
  border-left: 4px solid var(--famline-pine);
  display: flex; flex-direction: row; align-items: center; gap: 10px;
  transition: opacity .2s, box-shadow .2s; }
.famline-tree .fl-card.fl-deceased {border-left-color: var(--famline-line); }
.famline-tree .fl-card .fl-given {font-family: var(--famline-serif); font-weight: 600; font-size: 1.02rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.famline-tree .fl-card .fl-surname {font-family: var(--famline-serif); font-weight: 500; font-size: .92rem; color: var(--famline-muted); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.famline-tree .fl-card-text {flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.famline-tree .fl-card-thumb {width: 44px; height: 44px; border-radius: 4px; object-fit: cover; flex-shrink: 0; display: block; background: var(--famline-pine-soft); }
.famline-tree .fl-panel-portrait {width: 88px; height: 88px; border-radius: 6px; object-fit: cover; display: block; margin: 0 0 14px; box-shadow: var(--famline-shadow); }
.famline-tree .fl-card .fl-years {font-size: .76rem; color: var(--famline-muted); margin-top: 3px; font-variant-numeric: tabular-nums; }
.famline-tree .fl-card.fl-dim {opacity: .38; }
.famline-tree .fl-card.fl-sel {box-shadow: 0 0 0 2px var(--famline-pine), var(--famline-shadow); }
.famline-tree .react-flow__node:focus-visible .fl-card {box-shadow: 0 0 0 3px var(--famline-brass), var(--famline-shadow); }
.famline-tree .fl-union {width: 10px; height: 10px; border-radius: 50%; background: var(--famline-brass); box-shadow: 0 0 0 2px var(--famline-paper); }
.famline-tree .react-flow__node-union {cursor: default; }
.famline-tree .edge-spouse .react-flow__edge-path {stroke: var(--famline-brass); stroke-width: 1.5; }
.famline-tree .rel-divorced .react-flow__edge-path,
.famline-tree .rel-former-partners .react-flow__edge-path,
.famline-tree .rel-divorced .fl-lg,
.famline-tree .rel-former-partners .fl-lg,
.famline-tree .rel-separated .line-b {stroke-dasharray: 4 3; }
.famline-tree .fl-union.fl-widowed {background: var(--famline-paper); box-shadow: inset 0 0 0 1.5px var(--famline-brass), 0 0 0 2px var(--famline-paper); }
.famline-tree .react-flow__edge.edge-spouse.hl .react-flow__edge-path {stroke-width: 1.75; }
.famline-tree .fl-rel-note {margin-left: 6px; font-size: .78rem; color: var(--famline-muted); }
.famline-tree .fl-legend {display: flex; flex-wrap: wrap; max-width: min(620px, calc(100vw - 60px)); gap: 6px 16px; background: color-mix(in srgb, var(--famline-card) 88%, transparent); box-shadow: var(--famline-shadow); border-radius: 6px; padding: 6px 12px; font-size: .8rem; color: var(--famline-muted); }
.famline-tree .fl-legend-item {display: inline-flex; align-items: center; gap: 7px; }
.famline-tree .fl-legend-item line {stroke: var(--famline-brass); stroke-width: 1.5; }
.famline-tree .fl-legend-item .fl-lg-dot {fill: var(--famline-brass); stroke: var(--famline-brass); stroke-width: 1.5; }
.famline-tree .fl-legend-item.rel-widowed .fl-lg-dot {fill: var(--famline-card); }
.famline-tree .edge-child .react-flow__edge-path {stroke: var(--famline-line); stroke-width: 1.5; }
.famline-tree .react-flow__edge.hl .react-flow__edge-path {stroke: var(--famline-pine); stroke-width: 2.5; }
.famline-tree .react-flow__edge.dim {opacity: .3; }
/* ---------- Detail panel ---------- */
.famline-tree .fl-panel {width: 320px; flex-shrink: 0; background: var(--famline-card); border-left: 1px solid color-mix(in srgb, var(--famline-line) 45%, transparent);
  overflow-y: auto; padding: 22px 22px 28px; position: relative; }
.famline-tree .fl-panel h2 {font-family: var(--famline-serif); font-weight: 600; font-size: 1.5rem; line-height: 1.2; margin: 0 36px 4px 0; }
.famline-tree .fl-panel .fl-life {color: var(--famline-muted); margin: 0 0 18px; font-size: .9rem; }
.famline-tree .fl-panel dl {margin: 0 0 20px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .9rem; }
.famline-tree .fl-panel dt {color: var(--famline-muted); }
.famline-tree .fl-panel dd {margin: 0; font-variant-numeric: tabular-nums; }
.famline-tree .fl-panel h3 {font-size: .8rem; font-weight: 600; color: var(--famline-muted); margin: 18px 0 6px; }
.famline-tree .fl-panel ul {list-style: none; padding: 0; margin: 0; }
.famline-tree .fl-panel li + li {margin-top: 2px; }
.famline-tree .fl-rel {background: none; border: none; padding: 5px 8px; margin-left: -8px; border-radius: 4px; font: inherit; color: var(--famline-pine); cursor: pointer; text-align: left; }
.famline-tree .fl-rel:hover {background: var(--famline-pine-soft); }
.famline-tree .fl-rel:focus-visible,
.famline-tree .fl-close:focus-visible {outline: 2px solid var(--famline-pine); outline-offset: 1px; }
.famline-tree .fl-none {color: var(--famline-muted); font-size: .9rem; }
.famline-tree .fl-close {position: absolute; top: 16px; right: 14px; width: 32px; height: 32px; border: none; background: none; color: var(--famline-muted); font-size: 22px; line-height: 1; border-radius: 4px; cursor: pointer; }
.famline-tree .fl-close:hover {background: var(--famline-pine-soft); color: var(--famline-ink); }
.famline-tree .fl-empty {padding-top: 6px; color: var(--famline-muted); font-size: .92rem; }
.famline-tree .fl-empty strong {display: block; font-family: var(--famline-serif); font-size: 1.15rem; color: var(--famline-ink); font-weight: 600; margin-bottom: 6px; }
/* ---------- Direct-line controls ---------- */
.famline-tree .fl-card {position: relative; padding-right: 34px; }
.famline-tree .fl-line-btn {position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 4px; background: transparent; color: var(--famline-muted); cursor: pointer; }
.famline-tree .fl-line-btn:hover {background: var(--famline-pine-soft); color: var(--famline-pine); }
.famline-tree .fl-line-btn:focus-visible {outline: 2px solid var(--famline-pine); outline-offset: 1px; }
.famline-tree .fl-line-btn[aria-pressed="true"] {background: var(--famline-pine); color: var(--famline-card); }
.famline-tree .fl-panel-btn {font: inherit; font-size: .86rem; font-weight: 500; color: var(--famline-pine); background: var(--famline-card);
  border: 1px solid color-mix(in srgb, var(--famline-pine) 45%, transparent); border-radius: 4px;
  padding: 6px 12px; cursor: pointer; margin: 0 0 18px; }
.famline-tree .fl-panel-btn:hover {background: var(--famline-pine-soft); }
.famline-tree .fl-panel-btn:focus-visible {outline: 2px solid var(--famline-pine); outline-offset: 2px; }
.famline-tree .fl-panel-actions {display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.famline-tree .fl-panel-actions .fl-panel-btn {margin: 0; }
.famline-tree .fl-marriage-chip {position: absolute; top: -10px; left: 12px; height: 20px; padding: 0 9px;
  font: 600 .7rem/18px var(--famline-sans); color: var(--famline-brass-text); background: var(--famline-card);
  border: 1px solid color-mix(in srgb, var(--famline-brass) 60%, transparent); border-radius: 10px; cursor: pointer; white-space: nowrap; }
.famline-tree .fl-marriage-chip:hover {background: var(--famline-brass-text); color: var(--famline-card); }
.famline-tree .fl-marriage-chip:focus-visible {outline: 2px solid var(--famline-pine); outline-offset: 2px; }
.famline-tree .fl-switch {display: inline-flex; align-items: center; gap: 9px; cursor: pointer; user-select: none;
  background: color-mix(in srgb, var(--famline-card) 88%, transparent); box-shadow: var(--famline-shadow); border-radius: 6px; padding: 7px 12px; font-size: .84rem; color: var(--famline-ink); }
.famline-tree .fl-switch input {position: absolute; opacity: 0; width: 1px; height: 1px; }
.famline-tree .fl-switch-track {position: relative; width: 30px; height: 17px; border-radius: 9px; background: var(--famline-line); transition: background .15s; flex-shrink: 0; }
.famline-tree .fl-switch-track::after {content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: var(--famline-card); transition: transform .15s; }
.famline-tree .fl-switch input:checked + .fl-switch-track {background: var(--famline-pine); }
.famline-tree .fl-switch input:checked + .fl-switch-track::after {transform: translateX(13px); }
.famline-tree .fl-switch input:focus-visible + .fl-switch-track {outline: 2px solid var(--famline-pine); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
.famline-tree .fl-switch-track,
.famline-tree .fl-switch-track::after {transition: none; }
}
.famline-tree .fl-line-banner {display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  background: var(--famline-card); box-shadow: var(--famline-shadow); border-radius: 6px; padding: 8px 10px 8px 16px; font-size: .9rem; }
.famline-tree .fl-line-banner strong {font-family: var(--famline-serif); font-weight: 600; }
.famline-tree .fl-line-banner .fl-panel-btn {margin: 0; }
@media (max-width: 700px) {
.famline-tree .fl-stage {flex-direction: column; }
.famline-tree .fl-panel {width: 100%; max-height: 46%; border-left: none; border-top: 1px solid color-mix(in srgb, var(--famline-line) 45%, transparent); }
.famline-tree .fl-panel.fl-is-empty {display: none; }
.famline-tree .react-flow__minimap {display: none; }
}
@media (prefers-reduced-motion: reduce) {
.famline-tree .fl-card {transition: none; }
}

/* Additions for the plugin. */
.famline-tree .fl-privacy-note { color: var(--famline-muted); font-size: .82rem; margin: -8px 0 16px; }
.famline-tree a.fl-panel-link { display: inline-block; text-decoration: none; }
.famline-tree .fl-error { padding: 20px; }
.famline-tree .fl-error pre { white-space: pre-wrap; font-size: 12px; }
.famline-notice { padding: 12px 16px; border-left: 4px solid #9A7426; background: #f6f7f7; }

/* Search and tree tools (top left). */
.famline-tree .fl-search { position: relative; width: min(420px, calc(100vw - 80px)); }
.famline-tree .fl-search-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.famline-tree .fl-search-input {
	flex: 1 1 180px; min-width: 0; height: 34px; padding: 4px 10px; margin: 0;
	font: inherit; font-size: .9rem; color: var(--famline-ink); background: var(--famline-card);
	border: 1px solid color-mix(in srgb, var(--famline-line) 70%, transparent); border-radius: 6px; box-shadow: var(--famline-shadow);
}
.famline-tree .fl-search-input:focus { outline: 2px solid var(--famline-pine); outline-offset: 1px; }
.famline-tree .fl-tool-btn {
	height: 34px; padding: 0 10px; font: inherit; font-size: .8rem; font-weight: 500; white-space: nowrap;
	color: var(--famline-pine); background: var(--famline-card); cursor: pointer;
	border: 1px solid color-mix(in srgb, var(--famline-pine) 40%, transparent); border-radius: 6px; box-shadow: var(--famline-shadow);
}
.famline-tree .fl-tool-btn:hover { background: var(--famline-pine-soft); }
.famline-tree .fl-tool-btn:focus-visible { outline: 2px solid var(--famline-pine); outline-offset: 2px; }
.famline-tree .fl-search-list {
	position: absolute; left: 0; top: 40px; z-index: 10; width: 100%; max-height: 300px; overflow-y: auto;
	margin: 0; padding: 4px 0; background: var(--famline-card); border-radius: 6px; box-shadow: var(--famline-shadow);
	border: 1px solid color-mix(in srgb, var(--famline-line) 50%, transparent);
}
.famline-tree .fl-search-list li { margin: 0; padding: 7px 12px; cursor: pointer; font-size: .9rem; }
.famline-tree .fl-search-list li.fl-active { background: var(--famline-pine-soft); }
.famline-tree .fl-search-none {
	position: absolute; left: 0; top: 40px; margin: 0; padding: 7px 12px; font-size: .85rem; color: var(--famline-muted);
	background: var(--famline-card); border-radius: 6px; box-shadow: var(--famline-shadow);
}

/* Fold tag (bottom left of a card): always shown when folded, otherwise on hover or keyboard focus. */
.famline-tree .fl-fold-chip {
	position: absolute; bottom: -10px; left: 12px; height: 20px; padding: 0 9px;
	font: 600 .7rem/18px var(--famline-sans); color: var(--famline-pine); background: var(--famline-card);
	border: 1px solid color-mix(in srgb, var(--famline-pine) 55%, transparent); border-radius: 10px; cursor: pointer; white-space: nowrap;
	opacity: 0; transition: opacity .15s;
}
.famline-tree .fl-fold-chip.fl-is-folded { opacity: 1; color: var(--famline-card); background: var(--famline-pine); }
.famline-tree .fl-card:hover .fl-fold-chip,
.famline-tree .react-flow__node:focus-within .fl-fold-chip,
.famline-tree .fl-fold-chip:focus-visible { opacity: 1; }
.famline-tree .fl-fold-chip:focus-visible { outline: 2px solid var(--famline-brass); outline-offset: 2px; }
.famline-tree .fl-fold-chip:hover { background: var(--famline-pine-soft); color: var(--famline-pine); }
@media (hover: none) { .famline-tree .fl-fold-chip { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .famline-tree .fl-fold-chip { transition: none; } }

/* Minimap colours are set in tree.js (the minimap uses inline styles, which CSS can't override). */

/* "Family members only" message (shown instead of the tree). */
.famline-locked {
	max-width: 40em;
	margin: 1.5em 0;
	padding: 1.25em 1.5em;
	border-left: 4px solid #2E5E52;
	background: #E6ECE8;
	color: #1D2A2A;
	border-radius: 4px;
}
.famline-locked p:last-child {
	margin-bottom: 0;
}
.famline-locked-login {
	display: inline-block;
	text-decoration: none;
}

/* Full screen: the whole tree fills the screen. */
.famline-tree:fullscreen {
	height: 100vh !important;
	min-height: 0;
	border-radius: 0;
}
.famline-tree .react-flow__controls-button svg {
	max-width: 14px;
	max-height: 14px;
}

/* Side panel: slides in over the tree when someone is selected (from the right; on phones, from the bottom). */
.famline-tree .fl-stage {
	position: relative;
	display: block;
	height: 100%;
}
.famline-tree .fl-canvas {
	width: 100%;
	height: 100%;
}
.famline-tree .fl-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(340px, 88%);
	max-height: none;
	z-index: 20;
	border-left: 1px solid color-mix(in srgb, var(--famline-line) 45%, transparent);
	border-top: 0;
	box-shadow: -8px 0 24px rgba(29, 42, 42, 0.12);
	transform: translateX(105%);
	visibility: hidden;
	transition: transform .28s ease, visibility 0s linear .28s;
}
.famline-tree .fl-panel.fl-open {
	transform: none;
	visibility: visible;
	transition: transform .28s ease, visibility 0s;
}
@media (max-width: 700px) {
	.famline-tree .fl-panel {
		top: auto;
		left: 0;
		width: 100%;
		height: 58%;
		border-left: 0;
		border-top: 1px solid color-mix(in srgb, var(--famline-line) 45%, transparent);
		border-radius: 12px 12px 0 0;
		box-shadow: 0 -8px 24px rgba(29, 42, 42, 0.14);
		transform: translateY(105%);
	}
	.famline-tree .fl-panel.fl-open {
		transform: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.famline-tree .fl-panel,
	.famline-tree .fl-panel.fl-open {
		transition: none;
	}
}
/* Nearby family banner */
.famline-tree .fl-near-label {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}
.famline-tree .fl-near-select {
	font: inherit;
	font-size: .88rem;
	padding: 2px 6px;
	border: 1px solid color-mix(in srgb, var(--famline-pine) 40%, transparent);
	border-radius: 4px;
	background: var(--famline-card);
	color: var(--famline-ink);
}

/* Side panel: compact layout. "Known as", "Born", "Died" and the section headings share one
   small bold all-caps style, with tight spacing between headings, lists and people. */
.famline-tree .fl-panel dl {
	gap: 3px 12px;
	margin: 0 0 12px;
	font-size: .88rem;
	line-height: 1.35;
}
.famline-tree .fl-panel dt,
.famline-tree .fl-panel h3 {
	margin: 0;
	font-family: var(--famline-sans);
	font-size: .7rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--famline-muted);
}
.famline-tree .fl-panel dt {
	padding-top: 2px; /* lines the small label up with the larger text beside it */
}
.famline-tree .fl-panel dd {
	margin: 0;
}
.famline-tree .fl-panel h3 {
	margin: 12px 0 1px;
}
.famline-tree .fl-panel ul {
	margin: 0;
	padding: 0;
}
.famline-tree .fl-panel li,
.famline-tree .fl-panel li + li {
	margin: 0;
	padding: 0;
	line-height: 1.3;
}
.famline-tree .fl-panel .fl-rel {
	display: block;
	width: calc(100% + 6px);
	margin: 0 0 0 -6px;
	padding: 2px 6px;
	font-size: .88rem;
	line-height: 1.3;
}
.famline-tree .fl-panel .fl-rel-note {
	margin-left: 5px;
}
.famline-tree .fl-panel .fl-none {
	margin: 0;
	font-size: .85rem;
	line-height: 1.3;
}
.famline-tree .fl-panel .fl-panel-actions {
	gap: 6px;
	margin: 0 0 12px;
}
.famline-tree .fl-panel .fl-life {
	margin: 0 0 10px;
}
.famline-tree .fl-panel .fl-privacy-note {
	margin: -6px 0 10px;
}
