/* WP My Family Tree — readable source stylesheet. GPL-3.0-or-later. */
.wpmft-app, .wpmft-overlay {
    --wpmft-accent: #355b3e;
    --wpmft-bg: #f7f5ec;
    --wpmft-ink: #263f30;
    --wpmft-muted: #6c7565;
    --wpmft-line: #dce1d1;
    --wpmft-maroon: #803443;
    --wpmft-serif: Georgia, 'Times New Roman', serif;
    --wpmft-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--wpmft-ink);
    font-family: var(--wpmft-sans);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    -webkit-font-smoothing: antialiased;
}
.wpmft-app *, .wpmft-app *::before, .wpmft-app *::after,
.wpmft-overlay *, .wpmft-overlay *::before, .wpmft-overlay *::after { box-sizing: border-box; }
.wpmft-app button, .wpmft-app input, .wpmft-app textarea,
.wpmft-overlay button, .wpmft-overlay input, .wpmft-overlay textarea { font: inherit; }
.wpmft-app button, .wpmft-overlay button { cursor: pointer; letter-spacing: normal; text-transform: none; }
.wpmft-app button:disabled, .wpmft-overlay button:disabled { cursor: default; opacity: .6; }
.wpmft-app button, .wpmft-app a, .wpmft-app input, .wpmft-app textarea,
.wpmft-overlay button, .wpmft-overlay a, .wpmft-overlay input, .wpmft-overlay textarea { -webkit-tap-highlight-color: transparent; }
.wpmft-app :focus-visible, .wpmft-overlay :focus-visible { outline: 3px solid #b08741; outline-offset: 4px; }
.wpmft-app h1, .wpmft-app h2, .wpmft-app h3, .wpmft-app h4, .wpmft-app p,
.wpmft-overlay h1, .wpmft-overlay h2, .wpmft-overlay h3, .wpmft-overlay h4, .wpmft-overlay p { margin: 0; padding: 0; color: inherit; text-transform: none; }
.wpmft-app img, .wpmft-overlay img { display: block; max-width: 100%; }
.wpmft-app svg, .wpmft-overlay svg { flex-shrink: 0; vertical-align: middle; }
.wpmft-app a, .wpmft-overlay a { color: var(--wpmft-accent); }
.wpmft-shell { position: relative; min-width: 0; width: 100%; background: var(--wpmft-bg); overflow: clip; }
.wpmft-shell::before { content: ''; display: block; height: 5px; background: repeating-linear-gradient(90deg, #803443 0 14px, #caa299 14px 17px, #803443 17px 20px, #f0d8c6 20px 22px, #803443 22px 36px); }
.wpmft-skip-link { position: absolute; left: 16px; top: 12px; z-index: 100; padding: 10px 18px; border-radius: 8px; background: #fff; transform: translateY(-160%); }
.wpmft-skip-link:focus { transform: none; }
.wpmft-header { border-bottom: 1px solid var(--wpmft-line); background: rgba(255, 254, 248, .72); }
.wpmft-header-inner, .wpmft-main, .wpmft-footer-inner { width: min(100% - 80px, 1680px); margin-inline: auto; }
.wpmft-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 89px; gap: 24px; }
.wpmft-brand { display: inline-flex; gap: 13px; align-items: center; color: var(--wpmft-ink); text-decoration: none; min-width: 0; }
.wpmft-brand-mark { display: grid; place-items: center; width: 46px; height: 50px; color: var(--wpmft-accent); flex: 0 0 auto; }
.wpmft-brand strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.35px; line-height: 1.35; }
.wpmft-brand small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 1.7px; color: var(--wpmft-muted); padding-top: 5px; line-height: 1.4; }
.wpmft-header-actions { display: flex; align-items: center; gap: 19px; flex-shrink: 0; }
.wpmft-languages { display: inline-flex; align-items: center; gap: 4px; background: #ebece1; padding: 4px; border-radius: 30px; }
.wpmft-languages button { display: flex; align-items: center; gap: 7px; color: #66705f; background: none; border: 0; padding: 8px 12px; border-radius: 22px; font-size: 11px; line-height: 1.2; font-weight: 600; }
.wpmft-languages button.is-active { background: #fffef7; color: #2d4934; box-shadow: 0 1px 4px #23391c0e; }
.wpmft-flag { border-radius: 2px; box-shadow: 0 0 0 1px #17261b12; }
.wpmft-icon-button { display: inline-flex; justify-content: center; align-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--wpmft-line); background: #fffef7; color: var(--wpmft-ink); border-radius: 12px; transition: background .18s, border-color .18s; flex: 0 0 auto; }
.wpmft-icon-button:hover { background: #edf0e1; border-color: #b5c1a6; }
.wpmft-lock { background: transparent; border: 0; }
.wpmft-main { padding-bottom: 38px; outline: none; }
.wpmft-intro { display: flex; justify-content: space-between; gap: 32px; align-items: center; padding: 40px 0 34px; }
.wpmft-kicker { display: block; color: var(--wpmft-muted); font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: 2.4px; text-transform: uppercase; }
.wpmft-intro h1 { font-family: var(--wpmft-serif); font-size: clamp(36px, 4vw, 56px); font-weight: 400; line-height: 1.13; letter-spacing: -1.7px; margin: 10px 0 12px; }
.wpmft-intro p { color: var(--wpmft-muted); font-size: 15px; line-height: 1.7; max-width: 840px; }
.wpmft-stat { display: grid; grid-template-columns: 1fr auto; column-gap: 22px; align-items: center; padding: 4px 7px 4px 30px; border-left: 1px solid #d6ddca; flex-shrink: 0; }
.wpmft-stat strong { font-family: var(--wpmft-serif); font-size: 39px; line-height: 1.2; font-weight: 400; }
.wpmft-stat span { grid-row: 2; font-size: 11px; color: var(--wpmft-muted); }
.wpmft-stat svg { grid-column: 2; grid-row: 1 / 3; color: #637255; transform: rotate(19deg); }
.wpmft-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding: 0 0 20px; }
.wpmft-search { display: flex; align-items: center; position: relative; background: #fffef9; border: 1px solid #d7decc; border-radius: 13px; height: 48px; gap: 11px; padding: 0 16px; flex: 1 1 300px; max-width: 500px; min-width: 180px; z-index: 30; box-shadow: 0 2px 2px #53653a03; }
.wpmft-search > svg { color: #637255; }
.wpmft-search input { background: transparent; border: 0; border-radius: 0; width: 100%; min-width: 0; outline: none; padding: 0; box-shadow: none; height: 44px; color: var(--wpmft-ink); font-size: 13px; }
.wpmft-search input:focus-visible { outline: none; }
.wpmft-search:focus-within { border-color: #94a67a; box-shadow: 0 0 0 3px #91a27b22; }
.wpmft-search input::placeholder { color: #637255; opacity: 1; }
.wpmft-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.wpmft-search-clear { display: grid; place-items: center; flex-shrink: 0; width: 25px; height: 25px; padding: 0; border: 0; background: transparent; color: #65745b; }
.wpmft-search-panel { position: absolute; left: -1px; right: -1px; top: calc(100% + 8px); max-height: 370px; overflow: auto; background: #fffef8; border: 1px solid #d7decc; border-radius: 14px; box-shadow: 0 15px 44px #263e2920; padding: 6px; }
.wpmft-search-panel > p { padding: 15px 12px; font-size: 13px; color: var(--wpmft-muted); }
.wpmft-search-panel > button { display: flex; width: 100%; gap: 12px; align-items: center; border: 0; background: none; padding: 10px; color: var(--wpmft-ink); text-align: left; border-radius: 9px; }
.wpmft-search-panel > button:hover, .wpmft-search-panel > button.is-active { background: #f0f2e6; }
.wpmft-search-panel button > span:nth-child(2) { flex: 1; min-width: 0; }
.wpmft-search-panel strong { display: block; font-weight: 600; font-size: 13px; line-height: 1.4; }
.wpmft-search-panel small { display: block; font-size: 11px; color: var(--wpmft-muted); padding-top: 2px; }
.wpmft-view-switch { display: flex; align-items: center; flex-shrink: 0; gap: 4px; background: #e9eddf; border: 1px solid #e2e6d7; border-radius: 12px; padding: 4px; }
.wpmft-view-switch button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 15px; border: 0; border-radius: 8px; background: transparent; color: #637255; font-size: 12px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.wpmft-view-switch button.is-active { color: #35533c; background: #fffef6; box-shadow: 0 2px 4px #34442a0c; }
.wpmft-export-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.wpmft-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: var(--wpmft-ink); border: 1px solid #cdd6bd; background: #fffef8; border-radius: 11px; min-height: 45px; padding: 12px 20px; font-size: 13px; line-height: 1.35; font-weight: 500; text-decoration: none; transition: background .18s, transform .18s, box-shadow .18s; }
.wpmft-button:hover { background: #edf1e0; box-shadow: 0 3px 10px #243b2410; }
.wpmft-button.is-primary { background: var(--wpmft-accent); color: #fffdf3; border-color: var(--wpmft-accent); }
.wpmft-button.is-primary:hover { background: #274d31; box-shadow: 0 4px 12px #264a2d20; }
.wpmft-button.is-small { min-height: 42px; padding: 10px 15px; font-size: 12px; }
.wpmft-button.is-full { width: 100%; }
.wpmft-retry { margin-bottom: 20px; }
.wpmft-tree-panel { overflow: hidden; background: #fcfbf3; border: 1px solid #d7dfc9; border-radius: 21px; box-shadow: 0 5px 26px #3f57240a; }
.wpmft-tree-context { display: flex; align-items: center; justify-content: space-between; position: relative; gap: 20px; padding: 23px 28px 6px; z-index: 2; }
.wpmft-tree-context .wpmft-kicker { font-size: 9px; letter-spacing: 1.6px; }
.wpmft-tree-context h2 { font: 400 24px/1.3 var(--wpmft-serif); margin-top: 3px; letter-spacing: -.3px; }
.wpmft-view-count { color: #637255; font-size: 11px; background: #f0f2e6; border-radius: 20px; padding: 6px 11px; }
.wpmft-tree-viewport { position: relative; width: 100%; height: var(--tree-height, 710px); overflow: hidden; cursor: grab; touch-action: none; outline-offset: -5px; isolation: isolate; background-image: radial-gradient(#c4cfb342 .7px, transparent .7px), radial-gradient(ellipse at 50% 46%, #ecf0db70, transparent 67%); background-size: 20px 20px, 100% 100%; }
.wpmft-tree-viewport.is-dragging, .wpmft-tree-viewport.is-dragging * { cursor: grabbing; }
.wpmft-tree-scene { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; user-select: none; }
.wpmft-oak-art, .wpmft-relationship-lines { position: absolute; inset: 0; pointer-events: none; }
.wpmft-relationship-lines path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.wpmft-relationship-lines .is-parent { stroke: #86996e; stroke-width: 2.8px; opacity: .75; }
.wpmft-relationship-lines .is-spouse { stroke: #af8b76; stroke-width: 2.3px; stroke-dasharray: 5 6; opacity: .85; }
.wpmft-tree-node { position: absolute; transform: translate(-50%, -50%); width: 180px; height: 162px; }
.wpmft-node-person { display: flex; flex-direction: column; align-items: center; width: 180px; height: 162px; padding: 9px 9px 10px; background: #fffef8f5; border: 1px solid #d6dec8; border-radius: 26px 13px 26px 13px; box-shadow: 0 5px 15px #3547280c; color: #2d4934; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; position: relative; }
.wpmft-node-person:hover { border-color: #8ea373; background: #fffef9; transform: translateY(-3px); box-shadow: 0 9px 20px #344b2520; }
.wpmft-node-person > strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.3; max-width: 158px; height: 37px; margin-top: 4px; align-content: center; text-align: center; }
.wpmft-node-dates { font-size: 11px; color: #637255; line-height: 1.3; display: block; margin-top: 3px; max-width: 154px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wpmft-tree-node.is-selected .wpmft-node-person { border: 2px solid #7f9a5c; background: #edf2de; box-shadow: 0 0 0 5px #a3b7891a, 0 7px 20px #34532610; padding-top: 8px; }
.wpmft-tree-node.is-remembered .wpmft-avatar img { filter: saturate(.8); }
.wpmft-node-branch { position: absolute; top: 3px; right: -9px; width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 1px solid #d2dcc2; border-radius: 50%; background: #fffef7; color: #617b4e; box-shadow: 0 2px 5px #3444290b; }
.wpmft-node-branch.has-more { background: #e6ecd7; border-color: #a9bc8f; }
.wpmft-node-branch:hover { background: #355b3e; color: #fff; }
.wpmft-branch-dot { position: absolute; top: 0; right: 0; width: 7px; height: 7px; background: #873f4a; border-radius: 100%; box-shadow: 0 0 0 2px #fcfbf3; }
.wpmft-avatar { display: inline-flex; width: var(--avatar-size, 64px); height: var(--avatar-size, 64px); flex: 0 0 auto; border-radius: 50%; align-items: center; justify-content: center; overflow: hidden; position: relative; background: #e2e9d3; color: #57714a; }
.wpmft-avatar img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 36%; }
.wpmft-avatar.is-leaf { border-radius: 38% 12% 42% 12%; transform: rotate(-4deg); background: linear-gradient(145deg, #e6eccf, #d1dfb8); box-shadow: inset 0 0 0 1px #b4c49b80; }
.wpmft-avatar.is-leaf img { transform: rotate(4deg) scale(1.1); }
.wpmft-initials { font-family: var(--wpmft-serif); font-size: calc(var(--avatar-size, 64px) * .35); font-weight: 400; letter-spacing: -.04em; }
.wpmft-leaf-vein { position: absolute; height: 70%; width: 1px; background: #f8f9e840; transform: rotate(42deg); left: 38%; bottom: -7%; pointer-events: none; }
.wpmft-avatar:has(img) .wpmft-leaf-vein { display: none; }
.wpmft-zoom-tools { display: flex; flex-direction: column; gap: 3px; position: absolute; right: 20px; bottom: 19px; z-index: 4; background: #fffef7ed; border: 1px solid #d7decc; border-radius: 15px; padding: 6px; box-shadow: 0 4px 14px #3545230b; }
.wpmft-zoom-tools button { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; color: #526b43; background: none; padding: 0; }
.wpmft-zoom-tools button:hover { background: #ebf0df; }
.wpmft-zoom-tools button:nth-child(3) { border-top: 1px solid #e1e6d7; border-radius: 0 0 8px 8px; }
.wpmft-zoom-tools > span { text-align: center; font-size: 9px; color: #637255; font-variant-numeric: tabular-nums; padding: 0 0 3px; }
.wpmft-tree-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #e7eadf; min-height: 47px; padding: 13px 25px; background: #fafaf1; }
.wpmft-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.wpmft-legend span { display: flex; align-items: center; gap: 7px; color: #637255; font-size: 10px; line-height: 1.3; }
.wpmft-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 2px 0 2px 0; background: #9bab80; }
.wpmft-legend i.is-selected { background: #466a3e; }
.wpmft-legend i.is-descendant { background: #c6cda2; }
.wpmft-tree-bottom > p { color: #637255; font-size: 10px; line-height: 1.5; }
.wpmft-tree-updating { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: #f9faf1a6; backdrop-filter: blur(2px); }
.wpmft-tree-updating .wpmft-loading { background: #fffef6; border-radius: 12px; border: 1px solid #d7dfc8; padding: 16px 23px; box-shadow: 0 7px 25px #2c422114; }
.wpmft-branch-notice { display: flex; gap: 9px; align-items: center; padding: 13px 25px; background: #f1f3e7; border-top: 1px solid #e1e6d5; color: #637255; font-size: 12px; }
.wpmft-message { display: flex; align-items: center; gap: 10px; border-radius: 10px; padding: 13px 15px; margin-bottom: 16px; border: 1px solid #e4c9c2; background: #fcf1ec; color: #88483d; font-size: 13px; line-height: 1.55; }
.wpmft-message.is-success { border-color: #ccdcbc; background: #eef4e4; color: #486739; }
.wpmft-loading { display: flex; align-items: center; justify-content: center; gap: 13px; padding: 32px; color: #637255; font-size: 13px; }
.wpmft-loading.is-small { padding: 22px 15px; }
.wpmft-spinner { display: inline-block; flex: 0 0 auto; width: 19px; height: 19px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 100%; animation: wpmft-spin .8s linear infinite; }
@keyframes wpmft-spin { to { transform: rotate(360deg); } }
.wpmft-starting { min-height: 430px; display: grid; place-items: center; }
.wpmft-empty { text-align: center; padding: 90px 25px 120px; border: 1px solid #d9dfcc; border-radius: 20px; color: #637255; background: #fcfbf3; }
.wpmft-empty h2 { font: 400 34px/1.3 var(--wpmft-serif); margin-top: 24px; color: #3c583d; }
.wpmft-empty p { max-width: 540px; margin: 15px auto 0; font-size: 14px; }
.wpmft-footer { border-top: 1px solid #dce2d0; background: #eef0e3; padding: 24px 0 20px; }
.wpmft-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wpmft-footer-story { display: flex; align-items: center; gap: 12px; color: #637255; }
.wpmft-footer-story svg { transform: rotate(-23deg); }
.wpmft-footer-story p { color: #637255; font-family: var(--wpmft-serif); font-size: 16px; line-height: 1.6; font-style: italic; }
.wpmft-footer-contact { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.wpmft-footer-contact > span { color: #637255; font-size: 11px; overflow-wrap: anywhere; }
.wpmft-footer-contact .wpmft-button { background: #f9faf0; border-color: #ccd7bb; }
.wpmft-credit { text-align: center; color: #637255; font-size: 10px; padding: 18px 20px 0; }
.wpmft-credit a { text-decoration: none; color: #60754e; }
.wpmft-credit a:hover { text-decoration: underline; }

/* Password gate. No family information is rendered before authorization. */
.wpmft-gate { min-height: 680px; position: relative; display: flex; align-items: center; justify-content: center; margin: -10px 0 6px; padding: 26px 0 55px; }
.wpmft-gate-art { position: absolute; inset: -70px -50px -45px; pointer-events: none; overflow: hidden; opacity: .95; }
.wpmft-gate-art svg { width: 100%; height: 100%; min-height: 600px; }
.wpmft-gate-card { position: relative; width: min(100%, 445px); border: 1px solid #d9e0cc; background: #fffef8ee; border-radius: 26px; padding: 32px 38px 30px; text-align: center; box-shadow: 0 22px 65px #354a2612; backdrop-filter: blur(8px); }
.wpmft-private-badge { display: inline-flex; align-items: center; gap: 6px; color: #637255; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 28px; }
.wpmft-gate-card > .wpmft-oak-mark { display: block; margin: 0 auto; color: #637255; transform: rotate(-12deg); }
.wpmft-gate-card h2 { font: 400 32px/1.2 var(--wpmft-serif); color: #2e4c35; letter-spacing: -.7px; margin-top: 20px; }
.wpmft-gate-lede { font-size: 13px; line-height: 1.8; color: #637255; margin: 13px 0 24px; }
.wpmft-gate-card .wpmft-form { text-align: left; }
.wpmft-access-help { display: block; background: none; border: 0; padding: 0; margin-top: 21px; color: #637255; font-size: 11px; line-height: 1.7; text-decoration: underline; text-decoration-color: #c5d0b3; text-underline-offset: 4px; }
.wpmft-access-help:hover { color: #355b3e; }
.wpmft-form label { display: block; color: #4a6044; font-weight: 500; font-size: 12px; line-height: 1.5; margin-bottom: 17px; }
.wpmft-form input:not([type='checkbox']), .wpmft-form textarea { display: block; width: 100%; min-height: 45px; padding: 11px 13px; margin: 7px 0 0; border: 1px solid #d4ddc5; border-radius: 9px; color: #2e4834; background: #fffef9; box-shadow: none; outline: none; font-size: 14px; line-height: 1.5; font-weight: 400; }
.wpmft-form input:not([type='checkbox']):focus, .wpmft-form textarea:focus { border-color: #8fa775; box-shadow: 0 0 0 3px #8fa77522; }
.wpmft-form textarea { resize: vertical; min-height: 125px; max-height: 360px; }
.wpmft-form textarea::placeholder { color: #637255; }
.wpmft-password-field { display: block; position: relative; }
.wpmft-password-field input { padding-right: 48px; }
.wpmft-password-field button { display: grid; place-items: center; position: absolute; right: 5px; top: 4px; bottom: 4px; width: 36px; padding: 0; background: transparent; border: 0; color: #637255; border-radius: 7px; }
.wpmft-password-field button:hover { color: #355b3e; background: #edf1e1; }
.wpmft-form .wpmft-checkbox { display: flex; align-items: flex-start; gap: 9px; font-size: 11px; font-weight: 400; color: #637255; margin-bottom: 23px; }
.wpmft-checkbox input { appearance: auto; -webkit-appearance: auto; width: 15px; height: 15px; min-height: 0; margin: 2px 0 0; accent-color: #496b3b; flex-shrink: 0; }
.wpmft-form-note { font-size: 11px; color: #637255; margin-bottom: 20px; }
.wpmft-captcha { min-height: 80px; margin: 10px 0 20px; }
.wpmft-captcha > div:first-child { max-width: 100%; }
.wpmft-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Person directory. */
.wpmft-directory { background: #fcfbf5; padding: 30px; border: 1px solid #d7decb; border-radius: 20px; }
.wpmft-directory-top { display: flex; gap: 25px; justify-content: space-between; align-items: center; padding-bottom: 26px; }
.wpmft-directory-top h2 { font: 400 32px/1.3 var(--wpmft-serif); margin-top: 5px; }
.wpmft-directory-top p { color: #637255; font-size: 13px; margin-top: 6px; }
.wpmft-directory-search { display: flex; align-items: center; gap: 10px; border: 1px solid #d7dfc8; border-radius: 10px; background: #fffef8; padding: 0 12px; color: #637255; width: min(340px, 40%); }
.wpmft-directory-search input { width: 100%; border: 0; padding: 12px 0; outline: none; background: none; font-size: 12px; color: #405637; min-width: 0; }
.wpmft-directory-search:focus-within { border-color: #8b9f76; box-shadow: 0 0 0 3px #8b9f761a; }
.wpmft-directory-search input:focus-visible { outline: none; }
.wpmft-directory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.wpmft-directory-card { border: 1px solid #dce3ce; background: #fffef8; border-radius: 21px 11px 21px 11px; overflow: hidden; }
.wpmft-directory-person { display: flex; flex-direction: column; align-items: center; padding: 23px 13px 17px; width: 100%; border: 0; background: none; color: var(--wpmft-ink); }
.wpmft-directory-person:hover { background: #f3f5e9; }
.wpmft-directory-person h3 { font-size: 14px; font-weight: 500; line-height: 1.4; margin-top: 14px; }
.wpmft-directory-person p { font-size: 11px; color: #637255; margin-top: 6px; }
.wpmft-directory-branch { display: flex; gap: 7px; align-items: center; justify-content: center; padding: 11px; width: 100%; border: 0; border-top: 1px solid #e4e9d8; color: #637255; background: #f7f8ee; font-size: 10px; line-height: 1.5; }
.wpmft-directory-branch:hover { background: #eaf0dc; color: #355b3e; }
.wpmft-load-more { display: flex; margin: 28px auto 0; }
.wpmft-directory-empty { padding: 55px 20px; text-align: center; color: #637255; }

/* Portalled dialogs use their own namespace so they work with every theme. */
.wpmft-overlay { position: fixed; inset: 0; z-index: 100050; background: #142a22b8; backdrop-filter: blur(5px); display: flex; justify-content: center; align-items: center; padding: 28px; overflow: auto; animation: wpmft-fade .18s ease-out; }
@keyframes wpmft-fade { from { opacity: 0; } to { opacity: 1; } }
.wpmft-dialog { width: min(100%, 520px); max-height: calc(100dvh - 56px); min-width: 0; background: #fffdf6; border: 1px solid #e0e5d5; border-radius: 26px; overflow: auto; position: relative; box-shadow: 0 30px 100px #08180a45; outline: none; scrollbar-width: thin; scrollbar-color: #b5c0a2 #f8f8ef; overscroll-behavior: contain; }
.wpmft-dialog.is-wide { width: min(100%, 900px); }
.wpmft-modal-close { position: absolute; top: 18px; right: 18px; z-index: 4; background: #fffef8e8; width: 36px; height: 36px; border-radius: 50%; border-color: #d5ddc6; color: #637255; }
.wpmft-modal-close:hover { background: #fff; color: #355b3e; }
.wpmft-modal-loading { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 320px; padding: 55px; }
.wpmft-person-cover { padding: 34px 44px 31px; background-color: #edf1df; background-image: radial-gradient(ellipse at 86% -10%, #ccd8ad70, transparent 60%); position: relative; border-bottom: 1px solid #dce4c9; }
.wpmft-person-cover::after { content: ''; position: absolute; right: 70px; top: 50px; width: 85px; height: 110px; border: 1px solid #b4c19540; border-radius: 100% 0 100% 0; transform: rotate(24deg); pointer-events: none; }
.wpmft-person-cover > .wpmft-kicker { color: #637255; font-size: 9px; letter-spacing: 2px; margin-bottom: 23px; }
.wpmft-person-identity { display: flex; align-items: center; gap: 29px; position: relative; z-index: 1; }
.wpmft-portrait-button { background: none; border: 0; padding: 0; position: relative; flex-shrink: 0; border-radius: 24px; }
.wpmft-portrait-button:disabled { opacity: 1; }
.wpmft-portrait-count { position: absolute; right: -4px; bottom: 3px; display: inline-flex; gap: 4px; align-items: center; background: #fffdf4; border-radius: 20px; padding: 4px 8px; color: #637255; font-size: 10px; border: 1px solid #cddbb6; }
.wpmft-person-identity h2 { font: 400 36px/1.2 var(--wpmft-serif); letter-spacing: -.7px; color: #2a4730; padding-right: 15px; }
.wpmft-life-years { color: #637255; font-size: 15px; letter-spacing: .3px; margin-top: 7px; }
.wpmft-person-location { display: flex; align-items: center; gap: 6px; color: #637255; font-size: 12px; margin-top: 8px; }
.wpmft-person-identity .wpmft-button { margin-top: 18px; min-height: 37px; padding: 9px 14px; font-size: 11px; border-radius: 9px; }
.wpmft-person-body { padding: 30px 44px 40px; }
.wpmft-life-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 25px; margin-bottom: 30px; padding-bottom: 25px; border-bottom: 1px solid #e1e6d5; }
.wpmft-life-facts:empty { display: none; }
.wpmft-life-fact span { display: block; color: #637255; font-size: 10px; margin-bottom: 4px; }
.wpmft-life-fact strong { display: block; color: #4d6343; font-size: 13px; line-height: 1.5; font-weight: 500; overflow-wrap: anywhere; }
.wpmft-person-body h3 { font: 400 23px/1.3 var(--wpmft-serif); color: #3a5537; margin-bottom: 14px; }
.wpmft-prose { color: #68765c; font-size: 14px; line-height: 1.9; overflow-wrap: break-word; }
.wpmft-prose p { margin-bottom: 15px; }
.wpmft-prose h2, .wpmft-prose h3, .wpmft-prose h4 { margin-top: 22px; margin-bottom: 10px; }
.wpmft-prose ul, .wpmft-prose ol { padding-left: 24px; margin: 0 0 17px; }
.wpmft-prose img { max-height: 460px; width: auto; margin: 15px auto; border-radius: 10px; }
.wpmft-prose figure { margin: 18px 0; max-width: 100%; }
.wpmft-prose figcaption { font-size: 11px; color: #637255; text-align: center; }
.wpmft-prose blockquote { margin: 20px 0; border-left: 3px solid #9caf7c; padding: 2px 0 2px 18px; font-style: italic; }
.wpmft-prose table { width: 100%; border-collapse: collapse; font-size: 12px; }
.wpmft-prose td, .wpmft-prose th { padding: 8px; border: 1px solid #dce3ce; }
.wpmft-muted { color: #637255; font-size: 13px; line-height: 1.8; }
.wpmft-gallery-section, .wpmft-relations { margin-top: 31px; padding-top: 27px; border-top: 1px solid #e0e6d2; }
.wpmft-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.wpmft-section-heading h3 { margin: 0; }
.wpmft-section-heading > span { display: inline-flex; align-items: center; justify-content: center; min-width: 25px; padding: 2px 7px; font-size: 10px; background: #edf1e2; border-radius: 20px; color: #637255; }
.wpmft-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.wpmft-gallery > button { aspect-ratio: 4/3; overflow: hidden; border-radius: 11px; padding: 0; border: 0; background: #e4e9d8; position: relative; }
.wpmft-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.wpmft-gallery > button:hover img { transform: scale(1.05); }
.wpmft-gallery button > span { position: absolute; inset: 0; display: grid; place-items: center; background: #253e2c44; color: #fff; opacity: 0; transition: opacity .2s; }
.wpmft-gallery > button:hover > span, .wpmft-gallery > button:focus-visible > span { opacity: 1; }
.wpmft-relation-group { margin-top: 21px; }
.wpmft-relation-group h4 { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.3px; color: #637255; margin-bottom: 11px; }
.wpmft-relation-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.wpmft-relation-list > button { display: flex; align-items: center; gap: 11px; min-width: 0; border: 1px solid #e0e7d2; border-radius: 11px; background: #fafbf2; padding: 10px 12px; text-align: left; color: #637255; }
.wpmft-relation-list > button:hover { background: #eff4e2; border-color: #c4d2b1; }
.wpmft-relation-list > button > span:nth-child(2) { flex: 1; min-width: 0; }
.wpmft-relation-list strong { display: block; color: #4c6540; font-size: 12px; font-weight: 500; line-height: 1.4; }
.wpmft-relation-list small { color: #637255; font-size: 10px; display: block; margin-top: 3px; }
.wpmft-contact-content { padding: 38px 39px 35px; }
.wpmft-contact-symbol { display: grid; place-items: center; width: 57px; height: 57px; color: #637255; background: #edf2df; border-radius: 18px 6px 18px 6px; margin-bottom: 20px; }
.wpmft-contact-content h2 { font: 400 32px/1.2 var(--wpmft-serif); color: #355230; letter-spacing: -.6px; padding-right: 20px; }
.wpmft-contact-intro { margin: 13px 0 25px; font-size: 13px; color: #637255; line-height: 1.8; }
.wpmft-lightbox { z-index: 100060; padding: 25px; background: #101c18eb; backdrop-filter: blur(10px); }
.wpmft-lightbox .wpmft-dialog { width: min(100%, 1300px); height: calc(100dvh - 50px); max-height: 100dvh; border: 0; border-radius: 0; box-shadow: none; background: none; overflow: hidden; color: #f7faee; display: flex; flex-direction: column; }
.wpmft-lightbox-top { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; min-height: 48px; padding: 0 58px 0 12px; color: #c9d2bc; font-size: 11px; }
.wpmft-icon-button.is-dark { background: #d7e5cc16; color: #f7faee; border-color: #d7e5cc25; }
.wpmft-icon-button.is-dark:hover { background: #d7e5cc2b; }
.wpmft-lightbox .wpmft-modal-close { right: 6px; top: 6px; }
.wpmft-lightbox-image { display: flex; justify-content: center; align-items: center; flex: 1; min-height: 0; padding: 10px 55px; overflow: auto; }
.wpmft-lightbox-image > img { width: auto; height: auto; max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 4px; }
.wpmft-lightbox-image.is-zoomed { justify-content: flex-start; align-items: flex-start; padding: 0; }
.wpmft-lightbox-image.is-zoomed > img { min-width: 150%; max-width: none; max-height: none; width: 150%; }
.wpmft-lightbox-caption { text-align: center; color: #c6d0bb; padding: 14px 40px 4px; font-size: 12px; line-height: 1.7; flex-shrink: 0; max-height: 20vh; overflow: auto; }
.wpmft-lightbox-arrow { display: grid; place-items: center; position: absolute; top: calc(50% - 25px); width: 46px; height: 46px; border-radius: 50%; background: #d7e5cc19; border: 1px solid #d7e5cc28; color: #f7faee; padding: 0; z-index: 2; }
.wpmft-lightbox-arrow:hover { background: #d7e5cc35; }
.wpmft-lightbox-arrow.is-previous { left: 0; }
.wpmft-lightbox-arrow.is-next { right: 0; }
.wpmft-lightbox-dots { display: flex; justify-content: center; gap: 7px; flex-wrap: wrap; margin-top: 11px; }
.wpmft-lightbox-dots button { width: 7px; height: 7px; border: 0; border-radius: 50%; background: #8d9b7b60; padding: 0; }
.wpmft-lightbox-dots button.is-active { background: #e4ebd6; }
.wpmft-print-frame { position: fixed; width: 1px; height: 1px; border: 0; bottom: 0; right: 0; opacity: 0; pointer-events: none; }

@media (min-width: 1900px) {
    .wpmft-header-inner, .wpmft-main, .wpmft-footer-inner { width: calc(100% - 110px); max-width: 2000px; }
}
@media (max-width: 1100px) {
    .wpmft-header-inner, .wpmft-main, .wpmft-footer-inner { width: calc(100% - 44px); }
    .wpmft-toolbar { gap: 11px; }
    .wpmft-search { flex-basis: 270px; }
    .wpmft-view-switch button { padding: 9px 11px; }
    .wpmft-export-actions .wpmft-button { padding: 10px 12px; }
    .wpmft-tree-viewport { height: min(var(--tree-height), 680px); }
    .wpmft-tree-bottom { flex-wrap: wrap; gap: 10px; }
    .wpmft-person-identity h2 { font-size: 32px; }
}
@media (max-width: 800px) {
    .wpmft-header-inner { min-height: 80px; }
    .wpmft-header-actions { gap: 9px; }
    .wpmft-intro { padding: 31px 0 26px; }
    .wpmft-intro h1 { font-size: 42px; }
    .wpmft-intro p { max-width: 500px; font-size: 13px; }
    .wpmft-stat { padding-left: 18px; column-gap: 12px; }
    .wpmft-stat strong { font-size: 32px; }
    .wpmft-stat svg { display: none; }
    .wpmft-stat span { max-width: 90px; }
    .wpmft-search { max-width: none; flex: 1 0 calc(100% - 290px); }
    .wpmft-export-actions { gap: 6px; }
    .wpmft-toolbar { row-gap: 13px; }
    .wpmft-footer-inner { align-items: flex-start; }
    .wpmft-footer-contact { gap: 10px; }
    .wpmft-footer-story p { max-width: 250px; font-size: 14px; }
    .wpmft-directory { padding: 24px; }
    .wpmft-directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
    .wpmft-directory-person h3 { font-size: 12px; }
    .wpmft-directory-search { width: 45%; }
    .wpmft-person-cover { padding: 30px; }
    .wpmft-person-body { padding: 26px 30px 33px; }
    .wpmft-person-identity { gap: 24px; }
    .wpmft-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .wpmft-header-inner, .wpmft-main, .wpmft-footer-inner { width: calc(100% - 30px); }
    .wpmft-header-inner { min-height: 73px; gap: 10px; }
    .wpmft-brand { gap: 7px; }
    .wpmft-brand-mark { width: 31px; height: 38px; }
    .wpmft-brand-mark svg { width: 28px; height: 28px; }
    .wpmft-brand strong { font-size: 13px; letter-spacing: -.15px; }
    .wpmft-brand small { font-size: 8px; letter-spacing: .65px; padding-top: 3px; }
    .wpmft-header-actions { gap: 2px; }
    .wpmft-languages { padding: 3px; gap: 1px; }
    .wpmft-languages button { padding: 7px; gap: 4px; font-size: 9px; }
    .wpmft-languages button svg { width: 16px; height: 11px; }
    .wpmft-lock { width: 31px; height: 35px; border-radius: 8px; }
    .wpmft-lock svg { width: 16px; }
    .wpmft-main { padding-bottom: 25px; }
    .wpmft-intro { padding: 27px 2px 24px; gap: 13px; align-items: flex-start; }
    .wpmft-kicker { font-size: 8px; letter-spacing: 1.7px; }
    .wpmft-intro h1 { font-size: 35px; letter-spacing: -1.1px; margin: 10px 0 10px; }
    .wpmft-intro p { font-size: 12px; line-height: 1.8; max-width: 300px; }
    .wpmft-stat { margin-top: 29px; padding: 0 0 0 13px; min-width: 62px; }
    .wpmft-stat strong { font-size: 27px; line-height: 1; }
    .wpmft-stat span { font-size: 8px; line-height: 1.4; max-width: 60px; padding-top: 6px; }
    .wpmft-toolbar { gap: 12px 8px; padding-bottom: 15px; }
    .wpmft-search { flex-basis: 100%; height: 45px; border-radius: 11px; padding: 0 13px; }
    .wpmft-search input { font-size: 12px; height: 42px; }
    .wpmft-view-switch { border-radius: 10px; padding: 3px; gap: 1px; }
    .wpmft-view-switch button { font-size: 10px; gap: 6px; padding: 8px 9px; }
    .wpmft-view-switch svg { width: 16px; height: 16px; }
    .wpmft-export-actions { margin-left: auto; gap: 5px; }
    .wpmft-export-actions .wpmft-button { min-height: 39px; font-size: 10px; gap: 6px; padding: 8px 9px; border-radius: 9px; }
    .wpmft-export-actions .wpmft-icon-button { width: 34px; height: 38px; border-radius: 9px; }
    .wpmft-export-actions .wpmft-icon-button svg { width: 17px; }
    .wpmft-tree-panel { border-radius: 16px; }
    .wpmft-tree-context { padding: 19px 17px 4px; gap: 10px; align-items: flex-start; }
    .wpmft-tree-context .wpmft-kicker { font-size: 8px; letter-spacing: 1.3px; }
    .wpmft-tree-context h2 { font-size: 21px; }
    .wpmft-view-count { font-size: 8px; max-width: 85px; text-align: center; padding: 5px 8px; }
    .wpmft-tree-viewport { height: min(var(--tree-height), 565px); background-size: 17px 17px, 100% 100%; }
    .wpmft-zoom-tools { right: 12px; bottom: 12px; padding: 4px; border-radius: 12px; }
    .wpmft-zoom-tools button { width: 33px; height: 34px; }
    .wpmft-zoom-tools button svg { width: 18px; height: 18px; }
    .wpmft-tree-bottom { padding: 13px 16px; gap: 10px; justify-content: center; }
    .wpmft-legend { justify-content: center; gap: 15px; }
    .wpmft-legend span { font-size: 9px; }
    .wpmft-tree-bottom > p { font-size: 9px; text-align: center; width: 100%; }
    .wpmft-branch-notice { padding: 12px 16px; font-size: 10px; align-items: flex-start; gap: 8px; }
    .wpmft-footer { padding: 21px 0 17px; }
    .wpmft-footer-inner { flex-direction: column; gap: 19px; align-items: center; }
    .wpmft-footer-story { gap: 10px; }
    .wpmft-footer-story p { max-width: none; font-size: 14px; text-align: center; }
    .wpmft-footer-story svg { width: 24px; height: 24px; }
    .wpmft-footer-contact { justify-content: center; gap: 15px; }
    .wpmft-footer-contact .wpmft-button { padding: 9px 12px; font-size: 10px; min-height: 36px; }
    .wpmft-footer-contact > span { font-size: 10px; }
    .wpmft-gate { min-height: 610px; margin: 0; padding: 5px 0 30px; }
    .wpmft-gate-card { width: min(100%, 410px); padding: 27px 26px 25px; border-radius: 22px; }
    .wpmft-gate-card h2 { font-size: 29px; }
    .wpmft-gate-lede { font-size: 12px; margin-bottom: 22px; }
    .wpmft-private-badge { margin-bottom: 23px; font-size: 8px; }
    .wpmft-gate-art { inset: -60px -180px -30px; }
    .wpmft-form input:not([type='checkbox']), .wpmft-form textarea { font-size: 16px; }
    .wpmft-directory { padding: 21px 15px; border-radius: 16px; }
    .wpmft-directory-top { flex-direction: column; align-items: flex-start; gap: 17px; padding-bottom: 20px; }
    .wpmft-directory-top h2 { font-size: 29px; }
    .wpmft-directory-top p { font-size: 12px; }
    .wpmft-directory-search { width: 100%; }
    .wpmft-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .wpmft-directory-person { padding: 19px 9px 15px; }
    .wpmft-directory-person .wpmft-avatar { --avatar-size: 68px; width: 68px; height: 68px; }
    .wpmft-directory-person h3 { font-size: 12px; }
    .wpmft-directory-person p { font-size: 9px; }
    .wpmft-directory-branch { font-size: 9px; gap: 5px; padding: 10px 6px; }
    .wpmft-directory-branch svg { width: 14px; }
    .wpmft-overlay { padding: 12px; }
    .wpmft-dialog { border-radius: 20px; max-height: calc(100dvh - 24px); }
    .wpmft-modal-close { top: 12px; right: 12px; width: 33px; height: 33px; }
    .wpmft-person-cover { padding: 27px 22px 24px; }
    .wpmft-person-cover > .wpmft-kicker { margin-bottom: 23px; font-size: 8px; }
    .wpmft-person-cover::after { right: 30px; width: 65px; height: 80px; }
    .wpmft-person-identity { gap: 18px; align-items: flex-start; }
    .wpmft-person-identity .wpmft-avatar { width: 88px; height: 88px; --avatar-size: 88px; }
    .wpmft-person-identity .wpmft-initials { font-size: 32px; }
    .wpmft-person-identity h2 { font-size: 26px; letter-spacing: -.4px; padding-right: 0; }
    .wpmft-life-years { font-size: 12px; }
    .wpmft-person-location { font-size: 10px; gap: 4px; }
    .wpmft-person-identity .wpmft-button { margin-top: 13px; font-size: 10px; padding: 8px 10px; min-height: 34px; gap: 6px; }
    .wpmft-person-identity .wpmft-button svg { width: 15px; }
    .wpmft-person-body { padding: 25px 22px 30px; }
    .wpmft-life-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 20px; margin-bottom: 25px; }
    .wpmft-life-fact strong { font-size: 12px; }
    .wpmft-life-fact span { font-size: 9px; }
    .wpmft-person-body h3 { font-size: 21px; }
    .wpmft-prose { font-size: 13px; }
    .wpmft-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
    .wpmft-gallery > button { border-radius: 8px; }
    .wpmft-relation-list { grid-template-columns: 1fr; }
    .wpmft-relation-list > button { padding: 9px 11px; }
    .wpmft-contact-content { padding: 31px 25px 28px; }
    .wpmft-contact-content h2 { font-size: 29px; }
    .wpmft-contact-intro { font-size: 12px; }
    .wpmft-lightbox { padding: 10px; }
    .wpmft-lightbox .wpmft-dialog { height: calc(100dvh - 20px); }
    .wpmft-lightbox-top { padding-left: 0; min-height: 45px; }
    .wpmft-lightbox-image { padding: 8px 0; }
    .wpmft-lightbox-arrow { top: auto; bottom: 10px; width: 37px; height: 37px; }
    .wpmft-lightbox-arrow svg { width: 22px; }
    .wpmft-lightbox-caption { padding: 12px 42px 10px; font-size: 11px; min-height: 55px; }
    .wpmft-lightbox-dots { gap: 6px; }
    .wpmft-message { font-size: 12px; padding: 11px 12px; }
}
@media (max-width: 375px) {
    .wpmft-header-inner, .wpmft-main, .wpmft-footer-inner { width: calc(100% - 24px); }
    .wpmft-brand small { max-width: 120px; font-size: 7px; }
    .wpmft-brand strong { max-width: 126px; font-size: 12px; }
    .wpmft-brand-mark { width: 25px; }
    .wpmft-brand-mark svg { width: 24px; }
    .wpmft-languages button { padding: 6px; }
    .wpmft-languages button span { display: none; }
    .wpmft-intro h1 { font-size: 31px; }
    .wpmft-stat { min-width: 52px; padding-left: 10px; }
    .wpmft-view-switch button { gap: 4px; padding: 8px; }
    .wpmft-export-actions { gap: 4px; }
    .wpmft-export-actions .wpmft-button { gap: 4px; font-size: 9px; padding: 8px; }
    .wpmft-export-actions .wpmft-icon-button { width: 31px; }
    .wpmft-gate-card { padding: 25px 21px; }
    .wpmft-person-identity { flex-direction: column; gap: 15px; }
    .wpmft-person-identity h2 { font-size: 28px; }
    .wpmft-contact-content { padding-inline: 20px; }
    .wpmft-captcha { transform: scale(.88); transform-origin: left top; margin-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    .wpmft-app *, .wpmft-overlay * { animation-duration: .01ms; transition-duration: .01ms; scroll-behavior: auto; }
    .wpmft-spinner { animation-duration: 1.6s; }
}
@media print {
    .wpmft-header-actions, .wpmft-toolbar, .wpmft-zoom-tools, .wpmft-node-branch, .wpmft-footer-contact button, .wpmft-overlay { display: none; }
    .wpmft-main, .wpmft-header-inner, .wpmft-footer-inner { width: 100%; }
    .wpmft-shell { background: #fff; }
    .wpmft-tree-panel { break-inside: avoid; }
    .wpmft-footer { background: #fff; }
}
