@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.relative{position:relative}.block{display:block}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--background:#f4f6f1;--surface:#fff;--surface-soft:#eef2ea;--text:#172019;--muted:#667066;--border:#dce3da;--accent:#2f6b4f;--accent-dark:#24543e;--accent-soft:#dcebe2;--danger:#9d352f;--shadow:0 16px 44px #1b2d2214}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--background);color:var(--text);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.app-header{z-index:20;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffeb;position:sticky;top:0}.header-inner{justify-content:space-between;align-items:center;gap:24px;width:min(1180px,100% - 32px);min-height:74px;margin:0 auto;display:flex}.brand{align-items:center;gap:12px;display:flex}.brand-mark{background:var(--accent);color:#fff;letter-spacing:.08em;border-radius:13px;place-items:center;width:42px;height:42px;font-size:13px;font-weight:800;display:grid}.brand strong,.brand small{display:block}.brand small{color:var(--muted);margin-top:1px;font-size:12px}.main-nav{gap:8px;display:flex}.main-nav a{color:var(--muted);border-radius:9px;padding:9px 12px;font-size:14px;font-weight:650}.main-nav a:hover{background:var(--surface-soft);color:var(--text)}.page-shell{width:min(1180px,100% - 32px);margin:0 auto;padding:54px 0 70px}.hero{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:42px;margin-bottom:34px;display:grid}.eyebrow{color:var(--accent);letter-spacing:.11em;text-transform:uppercase;margin-bottom:8px;font-size:12px;font-weight:800;display:inline-block}.hero h1{letter-spacing:-.045em;max-width:760px;margin:0;font-size:clamp(36px,5.4vw,68px);line-height:1.02}.hero p{max-width:700px;color:var(--muted);margin:22px 0 0;font-size:17px}.hero-stats{gap:12px;display:flex}.hero-stats div{border:1px solid var(--border);background:var(--surface);min-width:124px;box-shadow:var(--shadow);border-radius:18px;padding:20px}.hero-stats strong,.hero-stats span{display:block}.hero-stats strong{font-size:30px;line-height:1}.hero-stats span{color:var(--muted);margin-top:7px;font-size:13px}.dashboard-grid{grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);align-items:start;gap:24px;display:grid}.stack{gap:24px;display:grid}.card{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:22px;padding:28px;scroll-margin-top:96px}.card-heading{margin-bottom:23px}.card-heading.compact{margin-bottom:18px}.card-heading h2{letter-spacing:-.025em;margin:0;font-size:24px}.card-heading p{color:var(--muted);margin:7px 0 0;font-size:14px}.form-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.field{gap:7px;display:grid}.field>span{font-size:13px;font-weight:700}.field-small{grid-column:1/2}input,select{width:100%;height:46px;color:var(--text);background:#fbfcfa;border:1px solid #cbd5ca;border-radius:11px;outline:none;padding:0 13px;transition:border-color .14s,box-shadow .14s,background .14s}input:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft);background:#fff}.form-actions{grid-column:1/-1;padding-top:2px}.button{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:11px;min-height:46px;padding:0 18px;font-weight:750;box-shadow:0 9px 18px #2f6b4f2e}.button:hover{background:var(--accent-dark)}.button:disabled{cursor:not-allowed;opacity:.48;box-shadow:none}.notice,.error-box{border-radius:11px;margin:17px 0 0;padding:13px 15px;font-size:13px}.notice{color:#675820;background:#f6f1df}.error-box{color:var(--danger);background:#fff2f1;border:1px solid #efc4c1;gap:3px;margin:0 0 24px;display:grid}.person-list,.relationship-list{margin:0;padding:0;list-style:none}.person-list{gap:10px;display:grid}.person-list li{border:1px solid var(--border);background:#fbfcfa;border-radius:14px;align-items:center;gap:13px;padding:12px;display:flex}.avatar{background:var(--accent-soft);width:40px;height:40px;color:var(--accent-dark);border-radius:50%;flex:none;place-items:center;font-weight:800;display:grid}.person-copy strong,.person-copy small{display:block}.person-copy strong{font-size:15px}.person-copy small{color:var(--muted);margin-top:2px;font-size:12px}.relationship-list{gap:9px;display:grid}.relationship-list li{border:1px solid var(--border);background:#fbfcfa;border-radius:13px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:9px;padding:12px 13px;font-size:14px;display:grid}.relation-person{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.relation-arrow{color:var(--accent);font-weight:900}.empty-state{color:var(--muted);text-align:center;background:#fafbf9;border:1px dashed #c9d3c8;border-radius:14px;padding:26px 18px;font-size:14px}.footer{color:var(--muted);text-align:center;padding:0 16px 34px;font-size:12px}@media (max-width:860px){.hero,.dashboard-grid{grid-template-columns:1fr}.hero{align-items:start}.hero-stats{justify-content:flex-start}}@media (max-width:620px){.header-inner{min-height:64px}.main-nav,.brand small{display:none}.page-shell{width:min(100% - 22px,1180px);padding-top:34px}.hero{gap:24px}.hero-stats{width:100%}.hero-stats div{flex:1;min-width:0}.card{border-radius:18px;padding:21px}.form-grid{grid-template-columns:1fr}.field-small,.form-actions{grid-column:1}.relationship-list li{grid-template-columns:1fr;gap:3px}.relation-arrow{justify-self:start;transform:rotate(90deg)}}.person-list li{padding:0;overflow:hidden}.person-link{align-items:center;gap:13px;width:100%;padding:12px;transition:background .14s,transform .14s;display:flex}.person-link:hover{background:var(--surface-soft)}.person-link .person-copy{flex:1;min-width:0}.list-arrow{color:var(--accent);margin-left:auto;font-weight:900}.back-link{color:var(--muted);margin-bottom:22px;font-size:14px;font-weight:700;display:inline-flex}.back-link:hover{color:var(--accent)}.person-profile{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:24px;align-items:center;gap:24px;margin-bottom:28px;padding:32px;display:flex}.profile-avatar{background:var(--accent);color:#fff;border-radius:26px;flex:none;place-items:center;width:86px;height:86px;font-size:34px;font-weight:850;display:grid}.person-profile h1{letter-spacing:-.04em;margin:0;font-size:clamp(32px,5vw,54px);line-height:1.05}.person-profile p{color:var(--muted);margin:10px 0 0}.detail-grid{gap:18px;display:grid}.detail-section{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:20px;padding:24px}.detail-section-heading{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.detail-section-heading h2{margin:0;font-size:21px}.detail-section-heading span{background:var(--accent-soft);min-width:30px;height:30px;color:var(--accent-dark);border-radius:99px;place-items:center;font-size:13px;font-weight:800;display:grid}.relation-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.relation-cards li{border:1px solid var(--border);background:#fbfcfa;border-radius:14px;overflow:hidden}.relation-cards a{align-items:center;gap:12px;padding:12px;display:flex}.relation-cards a:hover{background:var(--surface-soft)}.relation-cards .person-copy{flex:1;min-width:0}.detail-empty{color:var(--muted);text-align:center;border:1px dashed #c9d3c8;border-radius:13px;margin:0;padding:18px;font-size:14px}.detail-hint{background:var(--accent-soft);color:var(--accent-dark);border-radius:16px;margin-top:18px;padding:18px 20px}.detail-hint strong{display:block}.detail-hint p{margin:5px 0 0;font-size:14px}.not-found-card{text-align:center;max-width:680px;margin:40px auto}.not-found-card h1{margin:0;font-size:36px}.not-found-card p{color:var(--muted)}@media (max-width:620px){.person-profile{align-items:flex-start;padding:22px}.profile-avatar{border-radius:19px;width:62px;height:62px;font-size:25px}.relation-cards{grid-template-columns:1fr}}.network-page{width:min(1380px,100% - 32px)}.network-heading{justify-content:space-between;align-items:end;gap:30px;margin-bottom:28px;display:flex}.network-heading h1{letter-spacing:-.045em;margin:0;font-size:clamp(38px,5vw,64px);line-height:1.02}.network-heading p{max-width:700px;color:var(--muted);margin:16px 0 0}.network-panel{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:24px;overflow:hidden}.network-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:20px;min-height:72px;padding:15px 22px;display:flex}.network-toolbar strong,.network-toolbar span{display:block}.network-toolbar span{color:var(--muted);font-size:12px}.network-legend{align-items:center;gap:8px;display:flex!important}.network-legend i{background:var(--accent);width:28px;height:2px;display:inline-block}.network-scroll{background-color:#f8faf6;background-image:radial-gradient(#d6ded3 .8px,#0000 .8px);background-size:20px 20px;min-height:430px;overflow:auto}.network-canvas{min-width:100%;position:relative}.network-lines{pointer-events:none;position:absolute;inset:0;overflow:visible}.network-lines path{fill:none;stroke:#83a18e;stroke-width:2.5px;stroke-linecap:round}.network-person{z-index:2;background:#fffffff7;border:1px solid #cfdbd0;border-radius:16px;align-items:center;gap:12px;padding:13px;transition:transform .14s,border-color .14s,box-shadow .14s;display:flex;position:absolute;box-shadow:0 10px 25px #1b2d221a}.network-person:hover{z-index:3;border-color:var(--accent);transform:translateY(-3px);box-shadow:0 15px 30px #1b2d2229}.network-avatar{background:var(--accent-soft);width:43px;height:43px;color:var(--accent-dark);border-radius:13px;flex:none;place-items:center;font-weight:850;display:grid}.network-person-copy{min-width:0}.network-person-copy strong,.network-person-copy small{display:block}.network-person-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.network-person-copy small{color:var(--muted);margin-top:4px;font-size:11px}.network-empty{color:var(--muted);text-align:center;padding:90px 25px}.network-note{color:var(--muted);margin:16px 4px 0;font-size:13px}@media (max-width:720px){.network-heading{flex-direction:column;align-items:start}.network-toolbar{flex-direction:column;align-items:flex-start}.network-page{width:min(100% - 22px,1380px)}}.family-explorer{gap:24px;display:grid}.network-controls{border-bottom:1px solid var(--border);background:#ffffffb3;justify-content:space-between;align-items:end;gap:16px;padding:18px 20px;display:flex}.network-controls label{gap:7px;min-width:min(100%,320px);display:grid}.network-controls label span{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:.78rem;font-weight:800}.network-controls select{border:1px solid var(--border);width:100%;min-height:44px;color:var(--text);font:inherit;background:#fff;border-radius:12px;padding:0 42px 0 13px;font-weight:650}.secondary-button{border:1px solid var(--border);min-height:44px;color:var(--text);font:inherit;cursor:pointer;background:#fff;border-radius:12px;padding:0 16px;font-weight:750}.secondary-button:hover{border-color:var(--accent);transform:translateY(-1px)}.network-person.is-focus{border-color:var(--accent);background:linear-gradient(145deg, white, var(--accent-soft));z-index:2;border-width:2px;transform:translateY(-2px);box-shadow:0 0 0 5px #36705c2e,0 18px 42px #21362f33}.network-person.is-focus:before{content:"";background:var(--accent);border-radius:16px 0 0 16px;width:6px;position:absolute;inset:-2px auto -2px -2px}.network-person.is-focus .network-avatar{background:var(--accent);color:#fff}.network-person.is-focus .network-person-copy strong{color:var(--accent-dark,var(--accent))}.kinship-panel{border:1px solid var(--border);background:linear-gradient(145deg,#fffffffa,#f4f8f5eb);border-radius:18px;margin:0 20px 22px;padding:24px}.kinship-heading{max-width:760px}.kinship-heading h2{margin:6px 0 8px;font-size:clamp(1.35rem,3vw,2rem)}.kinship-heading p,.empty-copy{color:var(--muted);margin:0}.kinship-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin-top:20px;display:grid}.kinship-card{border:1px solid var(--border);background:#fff;border-radius:15px;padding:17px}.kinship-card h3{margin:0 0 11px;font-size:.95rem}.kinship-links{gap:7px;display:grid}.kinship-links a{width:fit-content;color:var(--accent-dark,var(--accent));font-weight:700;text-decoration:none}.kinship-links a:hover{text-decoration:underline}@media (max-width:700px){.network-controls{flex-direction:column;align-items:stretch}.secondary-button{width:100%}.kinship-panel{margin-inline:12px;padding:18px}}.network-lines .partnership-line{stroke-dasharray:7 6;stroke-width:2.5px;opacity:.8}.network-info{border:1px solid var(--border,#d9ded8);background:#ffffffb8;border-radius:14px;margin:0 0 20px;padding:14px 16px;line-height:1.55}.network-info code{font-size:.92em}.compact-hero{grid-template-columns:1fr}.compact-hero h1{margin-bottom:10px}.partnership-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.partnership-list li{border:1px solid var(--border);background:#fbfcfa;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:14px;display:flex}.partnership-list a{color:var(--accent-dark);font-weight:800}.partnership-list span{color:var(--muted)}.zoom-controls{align-items:center;gap:7px;margin-left:auto;display:flex}.zoom-controls button{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:10px;min-height:36px;padding:0 11px;font-weight:800}.zoom-controls span{text-align:center;min-width:58px;color:var(--muted);font-size:13px;font-weight:800}.network-scroll.is-draggable{cursor:grab;touch-action:none;min-height:620px}.network-scroll.is-draggable:active{cursor:grabbing}.network-transform{width:max-content;min-width:100%;transition:transform 80ms linear}.network-person{padding:0;overflow:visible}.network-person-main{align-items:center;gap:12px;width:100%;height:100%;padding:13px 16px;display:flex}.branch-toggle{background:var(--accent);color:#fff;cursor:pointer;border:2px solid #fff;border-radius:50%;width:30px;height:30px;font-size:18px;font-weight:900;line-height:1;position:absolute;bottom:-15px;left:50%;transform:translate(-50%);box-shadow:0 4px 12px #00000029}@media (max-width:760px){.zoom-controls{flex-wrap:wrap;margin-left:0}.partnership-list li{flex-direction:column;align-items:flex-start}}textarea{resize:vertical;width:100%;min-height:110px;color:var(--text);font:inherit;background:#fbfcfa;border:1px solid #cbd5ca;border-radius:11px;outline:none;padding:12px 13px}textarea:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft);background:#fff}.field-full{grid-column:1/-1}.source-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.source-list li{border:1px solid var(--border);background:#fbfcfa;border-radius:14px;justify-content:space-between;gap:16px;padding:15px;display:flex}.source-list strong,.source-list small{display:block}.source-list small{color:var(--muted);margin-top:3px}.source-list p{margin:7px 0 0}.source-list a{color:var(--accent);font-size:13px;font-weight:700}.danger-button{color:var(--danger);cursor:pointer;background:0 0;border:0;font-weight:700}.button-link{align-items:center;margin-top:16px;display:inline-flex}@media (max-width:620px){.field-full{grid-column:1}}.success-box{color:#245b30;background:#edf8ef;border:1px solid #b8d8bf;border-radius:14px;gap:.25rem;margin-bottom:1rem;padding:1rem 1.1rem;display:grid}.section-intro{color:var(--muted);margin:-4px 0 18px;line-height:1.55}.name-list{gap:10px;margin:0 0 20px;padding:0;list-style:none;display:grid}.name-list li{border:1px solid var(--border);background:#fbfcfa;border-radius:14px;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px 15px;display:flex}.name-list strong,.name-list small{display:block}.name-list small{color:var(--muted);margin-top:3px}.name-list p{color:var(--muted);margin:7px 0 0;font-size:13px}.name-form{border-top:1px solid var(--border);margin-top:18px;padding-top:18px}.field select{width:100%;min-height:44px;color:var(--text);font:inherit;background:#fbfcfa;border:1px solid #cbd5ca;border-radius:11px;padding:0 40px 0 13px}.field select:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft);background:#fff;outline:none}.name-section{border-top:1px solid var(--border);margin-top:28px;padding-top:24px}.name-section:first-of-type{margin-top:10px}.name-section h3{margin:0;font-size:20px}.name-row-main{min-width:0}.name-row-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.name-badges{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.name-badge{color:#35523a;background:#edf4ed;border-radius:999px;align-items:center;padding:4px 8px;font-size:12px;font-weight:700;display:inline-flex}.secondary-button{border:1px solid var(--border);color:var(--text);cursor:pointer;font:inherit;background:#fff;border-radius:10px;padding:8px 10px;font-size:13px}.check-field{min-height:44px;color:var(--text);align-self:end;align-items:center;gap:9px;display:flex}.check-field input{width:18px;height:18px}.name-edit-hint{border:1px solid var(--border);background:#fbfcfa;border-radius:14px;padding:14px 16px}.name-edit-hint p{color:var(--muted);margin:5px 0 0}@media (max-width:700px){.name-list li{flex-direction:column}.name-row-actions{justify-content:flex-start}}.profile-name-note{font-size:14px;margin-top:5px!important}.search-field{margin:0 0 8px;display:block}.search-field input{width:100%;min-height:48px;color:var(--text);font:inherit;background:#fbfcfa;border:1px solid #cbd5ca;border-radius:12px;padding:0 15px}.search-field input:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft);background:#fff;outline:none}.search-result-count{color:var(--muted);margin:0 0 14px;font-size:13px;font-weight:700}.connection-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.mini-form{border:1px solid var(--border);background:#fbfcfa;border-radius:14px;align-content:start;gap:12px;padding:16px;display:grid}.mini-form .button{width:100%}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (max-width:850px){.connection-form-grid{grid-template-columns:1fr}}.search-card{border-color:#bfd0c2;margin-bottom:24px;box-shadow:0 16px 38px #21362f17}.search-card .card-heading{max-width:760px}.search-card .search-field input{min-height:56px;font-size:17px}.search-results{grid-template-columns:repeat(auto-fit,minmax(290px,1fr));max-height:440px;padding-right:4px;overflow:auto}.search-results .person-link{min-height:78px}.life-dates{flex-wrap:wrap;gap:12px;display:flex!important}.search-help{color:var(--muted);margin:12px 0 0;font-size:12px}@media (max-width:620px){.search-results{grid-template-columns:1fr;max-height:520px}}.stack-tight{gap:10px;display:grid}.quick-create{border-top:1px solid var(--border);padding-top:10px}.quick-create summary{cursor:pointer;color:var(--accent);font-size:13px;font-weight:750}.quick-create[open] summary{margin-bottom:12px}.directory-controls{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px;display:grid}.directory-list{max-height:620px;overflow:auto}.source-editor{border-bottom:1px solid var(--border);padding-bottom:22px}.source-edit-list{gap:10px;margin-top:20px;display:grid}.source-edit-list details{border:1px solid var(--border);background:#fbfcfa;border-radius:14px;padding:14px}.source-edit-list summary{cursor:pointer;justify-content:space-between;gap:12px;display:flex}.source-edit-list summary span{color:var(--muted);font-size:13px}.source-edit-list .form-grid{margin-top:16px}.split-actions{gap:10px;display:flex}.media-empty{margin-top:20px}.media-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin-top:20px;display:grid}.media-card{border:1px solid var(--border);background:#fbfcfa;border-radius:15px;gap:10px;padding:12px;display:grid}.media-card img,.file-preview{object-fit:cover;background:var(--accent-soft);border-radius:10px;width:100%;height:150px}.file-preview{color:var(--accent-dark);place-items:center;font-weight:800;display:grid}.media-card strong,.media-card small{display:block}.media-card small{color:var(--muted);margin-top:3px}.media-card .secondary-button{text-align:center}.media-card .danger-button{padding:5px 0}@media (max-width:620px){.directory-controls{grid-template-columns:1fr}}.network-profile-link{border:1px solid var(--accent);min-height:40px;color:var(--accent);border-radius:999px;align-items:center;margin-top:14px;padding:0 15px;font-weight:750;text-decoration:none;transition:background .18s,color .18s,transform .18s;display:inline-flex}.network-profile-link:hover{background:var(--accent);color:#fff;transform:translateY(-1px)}.network-lines path{stroke-linecap:square;stroke-linejoin:miter;vector-effect:non-scaling-stroke}.network-lines .family-connection path{stroke:#6f927c;stroke-width:2.5px}.network-lines .partnership-line{stroke:#75867c;stroke-width:2px;stroke-dasharray:8 6}.relation-manager-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;display:grid}.relation-manager-group{border:1px solid var(--line,#d8e2da);background:#fbfdfb;border-radius:16px;padding:1rem}.relation-manager-group h3{margin:0 0 .75rem;font-size:1rem}.relation-manager-group ul,.trash-list ul{gap:.65rem;margin:0;padding:0;list-style:none;display:grid}.relation-manager-group li{border-top:1px solid #e7eee8;justify-content:space-between;align-items:center;gap:.75rem;padding-top:.65rem;display:flex}.relation-manager-group li:first-child{border-top:0;padding-top:0}.relation-manager-group form{margin:0}.danger-link{color:#a43a32;font:inherit;cursor:pointer;text-align:right;background:0 0;border:0;font-size:.85rem}.danger-link:hover{text-decoration:underline}.danger-zone{background:snow;border-color:#e5c3bf}.danger-button{color:#fff;cursor:pointer;background:#b94a42;border:1px solid #b94a42;border-radius:10px;padding:.75rem 1rem;font-weight:700}.trash-list li{border:1px solid #dce6de;border-radius:14px;justify-content:space-between;align-items:center;gap:1rem;padding:1rem;display:flex}.trash-list li div{gap:.25rem;display:grid}.trash-list small{color:#66756b}@media (max-width:700px){.trash-list li,.relation-manager-group li{flex-direction:column;align-items:flex-start}}.auth-shell{background:var(--background,#f5f1e8);place-items:center;min-height:100vh;padding:2rem;display:grid}.auth-card{background:#fff;border:1px solid #0000001a;border-radius:22px;width:min(100%,480px);padding:2rem;box-shadow:0 20px 60px #00000014}.auth-brand{margin-bottom:2rem}.form-stack{gap:1rem;display:grid}.form-stack label{gap:.4rem;font-weight:650;display:grid}.form-stack input,.form-stack select,.member-list select{width:100%;color:inherit;background:#fff;border:1px solid #c8c1b5;border-radius:10px;padding:.75rem}.password-reset{margin:1.25rem 0}.password-reset summary{cursor:pointer;font-weight:650}.compact-form{margin-top:1rem}.account-menu{align-items:center;gap:.7rem;margin-left:auto;display:flex}.account-menu small{text-overflow:ellipsis;max-width:180px;overflow:hidden}.nav-button{color:inherit;cursor:pointer;background:0 0;border:1px solid #ffffff59;border-radius:9px;padding:.45rem .7rem}.member-list{gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.member-list li{border-bottom:1px solid #00000014;justify-content:space-between;align-items:center;gap:1rem;padding:.8rem 0;display:flex}.member-list li>div{display:grid}.member-list form{align-items:center;gap:.5rem;display:flex}@media (max-width:1000px){.header-inner{flex-wrap:wrap}.account-menu{justify-content:flex-end;width:100%}.member-list li,.member-list form{flex-direction:column;align-items:stretch}}.narrow-shell{max-width:980px}.settings-card{margin-top:24px;padding:28px}.settings-card h2{margin-top:0}.muted{color:var(--muted)}.form-grid{grid-template-columns:1fr 1fr;gap:18px;margin-top:20px;display:grid}.form-grid label,.inline-form label{flex-direction:column;gap:7px;display:flex}.full-width{grid-column:1/-1}.project-summary{grid-template-columns:1fr 1fr;gap:16px;margin:20px 0;display:grid}.project-summary div{border:1px solid var(--line);background:var(--surface-soft);border-radius:16px;padding:18px}.project-summary span{color:var(--muted);margin-bottom:5px;font-size:13px;display:block}.project-summary strong{font-size:18px}.inline-form{align-items:end;gap:14px;display:flex}.inline-form label{flex:1}.account-link{font-weight:700;text-decoration:none}.success-box{color:#235c35;background:#e8f5ec;border-radius:14px;margin-top:18px;padding:14px 16px}@media (max-width:760px){.form-grid,.project-summary{grid-template-columns:1fr}.inline-form{flex-direction:column;align-items:stretch}}.header-inner{min-height:62px}.brand-mark{border-radius:11px;width:36px;height:36px}.brand strong{font-size:15px}.main-nav{margin-left:auto}.main-nav a{padding:8px 10px}.more-menu{position:relative}.more-menu summary{cursor:pointer;color:var(--muted);border-radius:9px;padding:8px 10px;font-size:14px;font-weight:700;list-style:none}.more-menu summary::-webkit-details-marker{display:none}.more-menu summary:hover,.more-menu[open] summary{background:var(--surface-soft);color:var(--text)}.more-menu-panel{border:1px solid var(--border);background:var(--surface);min-width:220px;box-shadow:var(--shadow);z-index:30;border-radius:14px;padding:8px;display:grid;position:absolute;top:calc(100% + 10px);right:0}.more-menu-panel a,.more-menu-panel button{width:100%;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;padding:10px 12px;font-size:14px}.more-menu-panel a:hover,.more-menu-panel button:hover{background:var(--surface-soft)}.home-page{max-width:1040px;padding-top:32px}.home-intro{justify-content:space-between;align-items:end;gap:28px;margin-bottom:24px;display:flex}.home-intro h1{letter-spacing:-.04em;margin:0;font-size:clamp(30px,4vw,46px);line-height:1.08}.home-stats{color:var(--muted);white-space:nowrap;flex-wrap:wrap;justify-content:flex-end;gap:8px 18px;font-size:13px;display:flex}.home-stats strong{color:var(--text);margin-right:4px;font-size:18px}.home-search{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:20px;padding:24px}.home-search-heading{justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:14px;display:flex}.home-search-heading h2{margin:0;font-size:22px}.home-search-heading p{color:var(--muted);margin:0;font-size:13px}.home-search .search-field input{height:54px;padding-inline:17px;font-size:17px}.home-search .search-results{grid-template-columns:repeat(3,minmax(0,1fr));max-height:none;overflow:visible}.home-search .person-link{min-height:78px}.home-actions{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px;margin-top:18px;display:grid}.action-panel,.home-link-card{border:1px solid var(--border);background:var(--surface);border-radius:16px}.action-panel summary,.home-link-card{cursor:pointer;align-items:center;gap:12px;min-height:82px;padding:18px;font-weight:750;display:flex}.action-panel summary{list-style:none}.action-panel summary::-webkit-details-marker{display:none}.action-panel summary>span,.home-link-icon{background:var(--accent-soft);width:32px;height:32px;color:var(--accent-dark);border-radius:50%;flex:none;place-items:center;font-size:18px;display:grid}.action-panel[open]{grid-column:1/-1}.action-panel[open] summary{border-bottom:1px solid var(--border)}.action-panel-content{padding:20px}.action-panel-content>.card{box-shadow:none;border:0;border-radius:0;padding:0}.home-link-card strong,.home-link-card small{display:block}.home-link-card small{color:var(--muted);margin-top:3px;font-weight:500}@media (max-width:820px){.brand-copy small{display:none}.home-intro{flex-direction:column;align-items:start}.home-stats{justify-content:flex-start}.home-search .search-results{grid-template-columns:1fr 1fr}.home-actions{grid-template-columns:1fr}.action-panel[open]{grid-column:auto}}@media (max-width:620px){.brand-copy{display:none}.home-search-heading{display:block}.home-search-heading p{margin-top:4px}.home-search .search-results{grid-template-columns:1fr}}.detail-page{max-width:1080px}.compact-profile{border-radius:20px;gap:20px;margin-bottom:18px;padding:24px 26px;position:relative}.compact-profile .profile-avatar{border-radius:21px;width:68px;height:68px;font-size:27px}.profile-main{flex:1;min-width:0}.compact-profile h1{font-size:clamp(30px,4vw,44px)}.profile-meta{color:var(--muted);flex-wrap:wrap;gap:7px 14px;margin-top:8px;font-size:14px;display:flex}.profile-meta span+span:before{content:"·";color:#a6b1a7;margin-right:14px}.profile-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.profile-actions .network-profile-link{margin-top:0}.family-overview{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:20px;margin-bottom:18px;padding:22px}.family-overview-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px;display:flex}.family-overview-heading h2{margin:4px 0 0;font-size:24px}.compact-relations{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.compact-relations .detail-section{box-shadow:none;background:#fbfcfa;border-radius:16px;padding:16px}.compact-relations .detail-section-heading{margin-bottom:10px}.compact-relations .detail-section-heading h2{font-size:17px}.compact-relations .detail-section-heading span{min-width:26px;height:26px;font-size:12px}.compact-relations .relation-cards{grid-template-columns:1fr}.compact-relations .relation-cards a{padding:9px 10px}.compact-relations .detail-empty{padding:12px;font-size:13px}.person-workspace{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:20px;overflow:hidden}.workspace-heading{border-bottom:1px solid var(--border);padding:24px 24px 18px}.workspace-heading h2{margin:5px 0 0;font-size:26px}.workspace-heading p{color:var(--muted);margin:7px 0 0}.workspace-panel{border-bottom:1px solid var(--border)}.workspace-panel:last-child{border-bottom:0}.workspace-panel>summary{cursor:pointer;gap:3px;padding:18px 56px 18px 24px;list-style:none;transition:background .14s;display:grid;position:relative}.workspace-panel>summary::-webkit-details-marker{display:none}.workspace-panel>summary:hover{background:var(--surface-soft)}.workspace-panel>summary:after{content:"+";color:var(--accent);font-size:24px;font-weight:500;position:absolute;top:50%;right:24px;transform:translateY(-50%)}.workspace-panel[open]>summary:after{content:"−"}.workspace-panel>summary span{font-size:18px;font-weight:760}.workspace-panel>summary small{color:var(--muted);font-size:13px}.workspace-content{padding:0 18px 18px}.workspace-content>.card{box-shadow:none;background:#fbfcfa;border-radius:16px;margin:0}.workspace-content .card-heading .eyebrow{display:none}.danger-panel>summary span{color:#a23b35}@media (max-width:760px){.compact-profile{flex-wrap:wrap;align-items:flex-start}.profile-actions{justify-content:flex-start;width:100%}.family-overview-heading{flex-direction:column;align-items:flex-start}.compact-relations{grid-template-columns:1fr}.profile-meta span+span:before{content:none;margin:0}}.persons-page{max-width:1040px;padding-top:32px}.compact-section-heading{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:20px;display:flex}.compact-section-heading h1{letter-spacing:-.035em;margin:0;font-size:clamp(32px,4vw,46px)}.compact-section-heading p{color:var(--muted);margin:5px 0 0}.compact-create{position:relative}.compact-create>summary{cursor:pointer;background:var(--accent);color:#fff;border-radius:11px;padding:11px 16px;font-weight:750;list-style:none}.compact-create>summary::-webkit-details-marker{display:none}.compact-create-panel{border:1px solid var(--border);background:var(--surface);width:min(680px,100vw - 32px);box-shadow:var(--shadow);z-index:15;border-radius:18px;padding:20px;position:absolute;top:calc(100% + 10px);right:0}.compact-create-panel>.card{box-shadow:none;border:0;padding:0}.persons-overview{box-shadow:none;padding:20px}.persons-overview .home-search-heading{margin-bottom:10px}.persons-overview .search-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.persons-overview .person-link{min-height:68px}.persons-overview .search-result-count{margin:10px 0}.network-workspace{width:min(1480px,100% - 24px);padding:22px 0 34px}.network-pagebar{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:14px;display:flex}.network-pagebar .eyebrow{margin-bottom:3px}.network-pagebar h1{letter-spacing:-.035em;margin:0;font-size:clamp(28px,3.5vw,40px);line-height:1.05}.network-inline-stats{color:var(--muted);flex-wrap:wrap;justify-content:flex-end;gap:8px 18px;font-size:13px;display:flex}.network-inline-stats strong{color:var(--text);margin-right:4px}.compact-network-panel{box-shadow:none;border-radius:16px;overflow:hidden}.compact-network-panel .network-controls{background:var(--surface);align-items:center;padding:10px 12px}.compact-network-panel .network-controls label{align-items:center;gap:10px;min-width:min(100%,390px);display:flex}.compact-network-panel .network-controls label span{white-space:nowrap;font-size:11px}.compact-network-panel .network-controls select{border-radius:9px;min-height:38px}.compact-network-panel .secondary-button{min-height:38px;padding:0 12px}.compact-network-panel .zoom-controls button{min-height:36px}.compact-network-panel .network-scroll{min-height:68vh;max-height:calc(100vh - 205px)}.compact-network-panel .kinship-panel{border-top:1px solid var(--border);box-shadow:none;border-radius:0;margin:0}@media (max-width:760px){.compact-section-heading,.network-pagebar{flex-direction:column;align-items:flex-start}.compact-create{width:100%}.compact-create>summary{text-align:center}.compact-create-panel{width:100%;margin-top:10px;position:static}.persons-overview .search-results{grid-template-columns:1fr}.network-inline-stats{justify-content:flex-start}.compact-network-panel .network-controls label{flex-direction:column;align-items:stretch}}.source-library-page,.source-detail-page{max-width:1180px}.source-library-header,.source-detail-hero{justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:26px;display:flex}.source-library-header h1,.source-detail-hero h1{letter-spacing:-.04em;margin:5px 0 8px;font-size:clamp(32px,5vw,54px)}.source-library-header p,.source-detail-hero p{color:var(--muted);max-width:720px;margin:0}.source-stats{grid-template-columns:auto auto;align-items:baseline;gap:2px 10px;min-width:150px;display:grid}.source-stats strong{font-size:24px}.source-stats span{color:var(--muted);font-size:13px}.source-toolbar{margin-bottom:28px;padding:18px}.source-search{grid-template-columns:minmax(240px,1fr) 220px auto auto;align-items:end;gap:12px;display:grid}.source-layout,.source-detail-grid{grid-template-columns:minmax(0,1fr) 390px;align-items:start;gap:28px;display:grid}.section-title-row{justify-content:space-between;align-items:end;margin-bottom:15px;display:flex}.section-title-row h2{margin:4px 0 0}.source-library-list{gap:12px;display:grid}.source-library-card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft);border-radius:18px;overflow:hidden}.source-card-main{padding:21px 22px 17px;display:block}.source-card-main:hover{background:var(--surface-soft)}.source-kind{align-items:center;gap:8px;display:flex}.source-kind span,.source-detail-badges span{background:var(--accent-soft);color:var(--accent-strong);border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800}.source-kind small{color:var(--muted)}.source-card-main h3{margin:12px 0 7px;font-size:20px}.source-card-main p{color:var(--muted);margin:0}.source-card-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;margin-top:17px;padding-top:13px;font-size:13px;display:flex}.source-card-footer span:last-child{color:var(--accent);font-weight:800}.source-quick-actions{border-top:1px solid var(--line);padding:10px 22px 13px}.source-quick-actions summary{cursor:pointer;color:var(--accent);font-size:13px;font-weight:800}.inline-source-link-form{gap:8px;margin-top:10px;display:flex}.inline-source-link-form select{flex:1}.create-source-panel>summary,.source-edit-panel>summary{cursor:pointer;flex-direction:column;gap:3px;margin-bottom:18px;font-size:18px;font-weight:850;list-style:none;display:flex}.create-source-panel>summary small{color:var(--muted);font-size:13px;font-weight:500}.source-person-picker{border:1px solid var(--line);border-radius:14px;padding:12px}.source-person-picker legend{padding:0 6px;font-size:13px;font-weight:800}.source-person-picker>div{gap:5px;max-height:180px;display:grid;overflow:auto}.source-person-picker label{align-items:center;gap:8px;font-size:14px;display:flex}.source-detail-badges{gap:7px;display:flex}.source-detail-main{gap:20px;display:grid}.linked-person-list,.source-document-list,.person-source-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.linked-person-list li,.source-document-list li,.person-source-list li{border:1px solid var(--line);border-radius:13px;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;display:flex}.linked-person-list a,.source-document-list a{flex-direction:column;gap:2px;display:flex}.linked-person-list small,.source-document-list small,.person-source-list small{color:var(--muted)}.source-add-person{grid-template-columns:1fr 1fr auto;gap:9px;margin-top:16px;display:grid}.source-upload-form{grid-template-columns:1fr 1fr auto;align-items:center;gap:9px;display:grid}.source-document-list{margin-top:15px}.text-button{cursor:pointer;font:inherit;background:0 0;border:0;padding:5px}.danger-text{color:var(--danger);font-size:12px}.person-source-list li{display:block}.person-source-list li>a{justify-content:space-between;align-items:center;display:flex}.person-source-list li>a span:first-child{flex-direction:column;display:flex}.person-source-list li form{margin-top:6px}.person-source-actions{flex-direction:column;gap:12px;margin-top:16px;display:flex}.source-danger-summary{margin-top:14px}@media (max-width:900px){.source-layout,.source-detail-grid{grid-template-columns:1fr}.source-search{grid-template-columns:1fr 1fr}.source-library-header,.source-detail-hero{flex-direction:column;align-items:flex-start}.source-add-person,.source-upload-form{grid-template-columns:1fr}.source-layout aside{order:-1}}@media (max-width:620px){.source-search{grid-template-columns:1fr}.inline-source-link-form{flex-direction:column}}.citation-overview{border-bottom:1px solid var(--line);margin-bottom:18px;padding-bottom:20px}.citation-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.citation-heading h3,.source-general-links h3{margin:0;font-size:16px}.citation-heading span{background:var(--accent-soft);min-width:28px;height:28px;color:var(--accent-strong);border-radius:999px;place-items:center;font-size:12px;font-weight:800;display:grid}.citation-list{gap:9px;margin:0;padding:0;list-style:none;display:grid}.citation-list li{border:1px solid var(--line);background:var(--surface-soft);border-radius:14px;justify-content:space-between;align-items:flex-start;gap:14px;padding:13px 14px;display:flex}.citation-list li>div{gap:3px;display:grid}.citation-list strong{font-size:14px}.citation-list a{color:var(--accent);font-weight:750}.citation-list small{color:var(--muted)}.citation-list p{margin:3px 0 0;font-size:13px}.citation-create-panel{border:1px solid var(--line);border-radius:14px;margin-bottom:20px;padding:14px}.citation-create-panel>summary{cursor:pointer;color:var(--accent);font-weight:800}.citation-create-panel[open]>summary{margin-bottom:16px}.citation-form{grid-template-columns:1fr 1fr;gap:12px;display:grid}.source-general-links{padding-top:2px}.source-general-links>h3{margin-bottom:12px}.source-citation-list li{display:block}@media (max-width:700px){.citation-form{grid-template-columns:1fr}.citation-form .field-full{grid-column:auto}}.memory-library{gap:22px;display:grid}.memory-empty{border:1px dashed var(--border);background:#fbfcfa;border-radius:15px;padding:20px}.memory-empty strong{margin-bottom:5px;display:block}.memory-empty p{color:var(--muted);margin:0}.memory-list{gap:14px;display:grid}.memory-card{border:1px solid var(--border);background:#fbfcfa;border-radius:17px;padding:20px}.memory-card-top{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.memory-card h3{margin:6px 0 0;font-size:19px}.memory-kind{background:var(--accent-soft);color:var(--accent-dark);border-radius:999px;padding:4px 9px;font-size:11px;font-weight:800;display:inline-block}.memory-card blockquote{border-left:3px solid var(--accent);white-space:pre-wrap;margin:18px 0;padding:0 0 0 17px;font-size:16px;line-height:1.65}.memory-meta{color:var(--muted);flex-wrap:wrap;gap:7px 14px;font-size:12px;display:flex}.memory-meta a{color:var(--accent);font-weight:750}.memory-note{border-top:1px solid var(--border);color:var(--muted);margin:13px 0 0;padding-top:12px;font-size:13px}.memory-create-panel{border-top:1px solid var(--border);padding-top:18px}.memory-create-panel>summary{cursor:pointer;color:var(--accent);font-weight:800}.memory-create-panel[open]>summary{margin-bottom:18px}.memory-form{grid-template-columns:1fr 1fr;gap:14px;display:grid}.memory-form .field-full{grid-column:1/-1}.form-hint{color:var(--muted);margin:0;font-size:12px}.memory-workspace-panel>summary span:before{content:"✦";color:var(--accent);margin-right:9px}@media (max-width:700px){.memory-form{grid-template-columns:1fr}.memory-form .field-full{grid-column:auto}.memory-card-top{flex-direction:column}}.memory-recorder{border:1px solid var(--border);background:var(--surface-soft,#f8f7f3);border-radius:16px;padding:18px}.memory-recorder-controls{flex-wrap:wrap;align-items:center;gap:14px;margin-top:8px;display:flex}.memory-recorder-controls strong{color:var(--text-muted,#5f625e);font-size:.92rem}.memory-audio-preview{flex-wrap:wrap;align-items:center;gap:14px;margin-top:14px;display:flex}.memory-audio-preview audio,.memory-audio audio{width:min(100%,520px)}.memory-audio-list{gap:10px;margin:16px 0;display:grid}.memory-audio{background:var(--surface-soft,#f8f7f3);border:1px solid var(--border);border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;padding:14px 16px;display:flex}.memory-audio>div{flex-direction:column;gap:2px;display:flex}.memory-audio small{color:var(--text-muted,#6d706c)}.form-error{color:#9b2c2c;margin:8px 0 0}@media (max-width:700px){.memory-audio{align-items:stretch}.memory-audio audio{width:100%}}@media (max-width:760px){.home-welcome{flex-direction:column;align-items:flex-start}.welcome-grid{grid-template-columns:1fr}.welcome-origin{padding:22px}}.home-welcome{background:linear-gradient(135deg,var(--surface),var(--surface-soft));justify-content:space-between;align-items:center;gap:28px;margin-bottom:32px;padding:28px 30px;display:flex}.home-welcome h1{letter-spacing:-.035em;max-width:760px;margin:6px 0 10px;font-size:clamp(28px,4vw,46px);line-height:1.05}.home-welcome p{max-width:720px;color:var(--muted);margin:0;font-size:16px;line-height:1.65}.home-welcome .button{flex:none}.welcome-page{max-width:1040px}.welcome-hero{padding:34px 0 20px}.welcome-hero h1{letter-spacing:-.05em;margin:8px 0;font-size:clamp(42px,7vw,72px)}.welcome-lead{color:var(--muted);margin:0 0 28px;font-size:21px}.welcome-letter{max-width:780px;font-size:17px;line-height:1.8}.welcome-letter p{margin:0 0 18px}.welcome-signature{font-family:Georgia,serif;font-size:18px;margin-top:34px!important}.welcome-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:34px 0;display:grid}.welcome-card{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow-soft);border-radius:18px;padding:22px}.welcome-card>span{background:var(--accent-soft);width:34px;height:34px;color:var(--accent-strong);border-radius:999px;place-items:center;font-size:12px;font-weight:850;display:inline-grid}.welcome-card h2{margin:14px 0 8px;font-size:21px}.welcome-card p{color:var(--muted);margin:0 0 16px;line-height:1.6}.welcome-card a,.welcome-contact a{color:var(--accent);font-weight:800}.welcome-origin{margin:26px 0 16px;padding:30px}.welcome-origin h2{margin:7px 0 16px;font-size:30px}.welcome-origin p{max-width:820px;line-height:1.75}.welcome-contact{border-top:1px solid var(--line);color:var(--muted);padding-top:16px}@media (max-width:760px){.home-welcome{flex-direction:column;align-items:flex-start}.welcome-grid{grid-template-columns:1fr}.welcome-origin{padding:22px}}.family-home-hero{border:1px solid var(--border);background:linear-gradient(135deg,var(--surface) 0%,#f4f7f1 100%);box-shadow:var(--shadow);border-radius:24px;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);align-items:center;gap:28px;padding:34px;display:grid}.family-home-copy h1{margin:7px 0 12px;font-size:clamp(34px,5vw,56px);line-height:1.04}.family-home-copy>p{max-width:720px;color:var(--muted);margin:0;font-size:18px;line-height:1.65}.family-home-links{flex-wrap:wrap;align-items:center;gap:18px;margin-top:24px;display:flex}.family-home-hero blockquote{border-left:3px solid var(--accent);color:var(--text);background:#ffffffb8;border-radius:0 18px 18px 0;margin:0;padding:24px;font-family:Georgia,serif;font-size:19px;line-height:1.6}.archive-overview{margin-top:24px}.archive-overview-heading{margin-bottom:15px}.archive-overview-heading h2{margin:5px 0 6px;font-size:27px}.archive-overview-heading p{color:var(--muted);margin:0}.archive-stat-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.archive-stat-grid a{border:1px solid var(--border);background:var(--surface);min-height:150px;box-shadow:var(--shadow);border-radius:18px;flex-direction:column;justify-content:flex-end;padding:20px;transition:transform .14s,border-color .14s;display:flex}.archive-stat-grid a:hover{border-color:var(--accent);transform:translateY(-2px)}.archive-stat-grid strong{color:var(--accent-dark);font-size:34px;line-height:1}.archive-stat-grid span{margin-top:8px;font-size:17px;font-weight:780}.archive-stat-grid small{color:var(--muted);margin-top:5px;line-height:1.35}.home-invitation{grid-template-columns:1.1fr .9fr;align-items:center;gap:30px;margin-top:22px;padding:26px;display:grid}.home-invitation h2{margin:5px 0 8px;font-size:26px}.home-invitation p{color:var(--muted);margin:0}.home-invitation-links{gap:8px;display:grid}.home-invitation-links a{border-radius:10px;padding:10px 12px;font-weight:720}.home-invitation-links a:hover{background:var(--surface-soft)}@media (max-width:960px){.family-home-hero,.home-invitation{grid-template-columns:1fr}.archive-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.family-home-hero{padding:24px}.archive-stat-grid{grid-template-columns:1fr}}.home-page{width:min(1380px,100% - 32px)}.archive-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}.archive-stat-grid a{height:100%;min-height:156px}.settings-card button.button{color:#fff;background:var(--accent);cursor:pointer;justify-content:center;align-items:center;font-weight:800;display:inline-flex}.settings-card button.button:hover:not(:disabled){background:var(--accent-dark)}.settings-card button.button:disabled{cursor:not-allowed;opacity:.45}@media (max-width:960px){.archive-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.archive-stat-grid{grid-template-columns:1fr}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
