@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-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{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.static{position:static}.block{display:block}.hidden{display:none}.inline{display:inline}.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,)}.rounded{border-radius:.25rem}.sepia{--tw-sepia:sepia(100%);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{--paper:#f8f9f4;--ink:#384432;--muted:#8c9483;--line:#e2e6d9;--green:#586e49}*{box-sizing:border-box}html,body{overscroll-behavior-x:none}body{color:var(--ink);background:var(--paper);margin:0;font:13px Arial,Helvetica,sans-serif}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:8px;display:inline-flex}button:disabled{opacity:.5;cursor:default}button:hover:not(:disabled){filter:brightness(.96)}button:focus-visible,summary:focus-visible{outline-offset:3px;outline:2px solid #8b9e78}input,textarea,select{outline-color:#8b9e78}.canvas-app{flex-direction:column;height:100dvh;min-height:420px;display:flex;overflow:hidden}.topbar{background:var(--surface);border-bottom:1px solid var(--line);z-index:5;flex-shrink:0;justify-content:space-between;align-items:center;gap:20px;height:66px;padding:0 25px;display:flex}.identity,.header-controls{align-items:center;gap:18px;display:flex}.brand{letter-spacing:-1px;align-items:center;gap:8px;font:25px Georgia,serif;display:flex}.brand>span{color:#788b63;font-size:31px}.divider{background:var(--line);flex-shrink:0;width:1px;height:22px}.board-name{color:#7f8876;font-size:12px}.save-status{color:#969d8e;font-size:10px}.save-status.error{color:#986e49}.primary{background:var(--green);color:#fff;white-space:nowrap;border:1px solid #526744;border-radius:7px;padding:11px 16px;font-size:12px}.icon-button{color:#808b74;border-radius:5px;flex-shrink:0;width:32px;height:32px}.icon-button:hover{background:#eff2e8}.more-menu{position:relative}.more-menu summary{cursor:pointer;letter-spacing:2px;color:#7e8874;padding:8px;list-style:none}.more-menu summary::-webkit-details-marker{display:none}.menu-content{background:var(--surface);border:1px solid var(--line);border-radius:9px;width:185px;padding:6px;position:absolute;top:38px;right:0;box-shadow:0 10px 30px #34462212}.menu-content button{border-radius:5px;justify-content:flex-start;width:100%;padding:12px;font-size:12px}.menu-content button:hover{background:#f1f4e9}.canvas{overscroll-behavior:none;background-color:var(--paper);background-image:radial-gradient(var(--dot) .8px, transparent .8px);touch-action:none;cursor:grab;flex:1;position:relative;overflow:hidden}.canvas:active{cursor:grabbing}.canvas-world{transform-origin:0 0;pointer-events:none;position:absolute;inset:0}.connection-lines{width:1px;height:1px;position:absolute;overflow:visible}.connection-lines path{fill:none;stroke:#a9b69b;stroke-width:1.6px}.person-card{border:1px solid var(--line);background:var(--surface);pointer-events:auto;-webkit-user-select:none;user-select:none;cursor:default;touch-action:none;border-radius:10px;flex-direction:column;gap:6px;width:220px;min-height:140px;padding:18px;display:flex;position:absolute;box-shadow:0 3px 10px #52663b08}.person-card.selected{border-color:#8c9e78;box-shadow:0 0 0 3px #9daf821c}.person-card h2{overflow-wrap:anywhere;margin:3px 0 0;font:17px Georgia,serif}.avatar{background:var(--accent-soft);color:#7f9268;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;font:15px Georgia,serif;display:inline-flex}.avatar.rose{color:#b18d7d;background:#f2e6e0}.avatar.ochre{color:#a2946f;background:#eee8d7}.avatar.tiny{width:28px;height:28px;font-size:10px}.avatar.large{width:58px;height:58px;margin-bottom:26px;font-size:22px}.life-dates,.place{color:var(--muted);font-size:10px}.place{align-items:center;gap:4px;display:flex}.empty-state{text-align:center;cursor:default;width:min(440px,100% - 40px);position:absolute;top:46%;left:50%;transform:translate(-50%,-50%)}.empty-icon{background:var(--accent-soft);color:#81976a;border:1px solid #e1e7d6;border-radius:18px;justify-content:center;align-items:center;width:65px;height:65px;margin:0 auto 24px;display:flex}.empty-state h1{letter-spacing:-.6px;margin:0 0 14px;font:33px Georgia,serif}.empty-state p{color:var(--muted);margin:0 0 26px;font-size:12px;line-height:1.9}.empty-state>span{color:var(--muted);margin-top:18px;font-size:10px;display:block}.canvas-toolbar{border:1px solid var(--line);background:var(--surface);cursor:default;border-radius:10px;align-items:center;gap:3px;padding:6px;display:flex;position:absolute;bottom:28px;left:50%;transform:translate(-50%);box-shadow:0 4px 18px #50603b0a}.canvas-toolbar button{color:#849174;border-radius:5px;width:34px;height:34px;font-size:21px}.canvas-toolbar button.active{background:var(--accent-soft);color:#647d4e}.canvas-toolbar .divider{height:18px;margin:0 5px}.zoom-value{color:#7f8b72;text-align:center;min-width:36px;font-size:11px}.canvas-hint{color:var(--muted);pointer-events:none;font-size:9px;position:absolute;bottom:10px;left:20px}.search-panel{background:var(--surface);border:1px solid var(--line);z-index:4;cursor:default;border-radius:13px;flex-direction:column;width:365px;max-width:calc(100% - 32px);max-height:calc(100% - 105px);display:flex;position:absolute;top:14px;right:22px;overflow:hidden;box-shadow:0 12px 38px #3a4a2514}.search-heading{flex-shrink:0;justify-content:space-between;align-items:center;padding:14px 14px 8px 18px;display:flex}.search-heading h2{margin:0;font:18px Georgia,serif}.search-field{border:1px solid var(--line);background:var(--surface-muted);color:#8e9e7b;border-radius:7px;flex-shrink:0;align-items:center;gap:9px;margin:0 16px;padding:10px 11px;display:flex}.search-field:focus-within{border-color:#a8b895;box-shadow:0 0 0 2px #9eb88613}.search-field input{background:0 0;border:0;outline:none;width:100%;min-width:0;margin:0;padding:0;font-size:12px;line-height:1.5}.search-field button{border-radius:3px;flex-shrink:0;padding:3px}.search-summary{color:var(--muted);flex-shrink:0;justify-content:space-between;padding:17px 19px 8px;font-size:9px;display:flex}.search-summary>span:first-child{letter-spacing:1.4px;font-size:8px}.search-results{scrollbar-width:thin;scrollbar-color:#d9e2cd transparent;min-height:0;max-height:330px;padding:0 8px 9px;overflow-y:auto}.search-result{text-align:left;border-radius:7px;justify-content:flex-start;gap:11px;width:100%;padding:10px;display:flex}.search-result:hover,.search-result:focus-visible{background:var(--surface-muted)}.search-result .avatar{width:34px;height:34px;font-size:12px}.search-result-copy{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.search-result-copy strong{overflow-wrap:anywhere;font-size:12px;font-weight:500;line-height:1.4}.search-result-copy small{color:var(--muted);font-size:10px}.search-result-copy>span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.search-result-arrow{color:#abb69d;flex-shrink:0;font-size:12px}.search-empty{text-align:center;color:#98a689;padding:27px 15px}.search-empty>svg{margin:0 auto 12px}.search-empty strong{color:#798d68;font-size:12px;font-weight:500;display:block}.search-empty p{margin:8px 0 0;font-size:11px;line-height:1.7}.search-footer{border-top:1px solid var(--line);color:var(--muted);flex-shrink:0;justify-content:space-between;gap:8px;padding:12px 17px;font-size:9px;display:flex}.search-footer kbd{font:inherit;color:var(--muted);white-space:nowrap}.detail-panel{z-index:3;background:var(--surface);border:1px solid var(--line);border-radius:11px;flex-direction:column;width:330px;display:flex;position:absolute;top:82px;bottom:16px;right:16px;box-shadow:0 8px 32px #3a4c2110}.panel-heading{border-bottom:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;padding:15px 20px;font-size:12px;display:flex}.panel-body{padding:24px;overflow-y:auto}label{color:var(--muted);margin-bottom:19px;font-size:11px;display:block}input,textarea,select{background:var(--surface);border:1px solid var(--line);border-radius:5px;width:100%;margin-top:8px;padding:10px;font-size:12px;display:block}textarea{resize:vertical;line-height:1.7}input::placeholder,textarea::placeholder{color:#abb29e}.form-row{gap:12px;display:flex}.form-row>label{width:50%}.section-heading{color:var(--muted);margin-top:28px;margin-bottom:12px;font-size:11px}.relative-list button{text-align:left;justify-content:flex-start;width:100%;padding:8px 0;font-size:12px}.relative-list button>.relative-name{color:var(--ink);margin-left:0}.secondary{color:#83966c;border:1px dashed #d4dfc7;border-radius:5px;width:100%;margin-top:12px;padding:11px;font-size:11px}.muted{color:#959e88;font-size:12px;line-height:1.8}.memory{white-space:pre-wrap;overflow-wrap:anywhere;color:#8a815f;background:#f4f0de;border-radius:5px;margin-bottom:18px;padding:17px;font:16px/1.7 Georgia,serif}.add-dialog{background:var(--surface);color:var(--ink);border:1px solid #e0e5d7;border-radius:12px;width:420px;max-width:calc(100% - 30px);max-height:calc(100dvh - 40px);margin:auto;padding:0;box-shadow:0 20px 80px #2e411d33}.add-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#34452a30}.dialog-inner{padding:26px}.add-dialog .panel-heading{border:0;padding:0}.add-dialog h2{color:var(--ink);margin:0;font:26px Georgia,serif}.add-dialog .muted{margin:12px 0 25px}.add-dialog .primary{width:100%;margin-top:5px}.toast{z-index:10;color:#fff;background:#4d633e;border-radius:8px;max-width:calc(100% - 40px);padding:14px 20px;font-size:12px;position:fixed;bottom:90px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #29362022}@media (max-width:750px){.topbar{gap:10px;padding:0 14px}.save-status,.board-name,.identity>.divider{display:none}.header-controls{gap:7px}.brand{font-size:22px}.detail-panel{width:min(330px,100% - 24px);top:78px;bottom:12px;right:12px}.canvas-hint{display:none}.empty-state h1{font-size:29px}}.relationship-fields{border:0;min-width:0;margin:24px 0 18px;padding:0}.relationship-fields>legend{color:#6c7d5e;margin-bottom:15px;font-size:12px;line-height:1.6}.relative-picker{border:1px solid var(--line);border-radius:7px;max-height:220px;padding:12px;overflow-y:auto}.relative-picker legend{color:var(--muted);padding:0 4px;font-size:11px}.field-hint{color:#969e8b;margin:0 0 10px;font-size:10px}.relative-option{cursor:pointer;align-items:center;gap:9px;margin:0;padding:8px 0;display:flex}.relative-option input{width:15px;height:15px;accent-color:var(--green);margin:0}.relative-name{flex-direction:column;gap:4px;display:flex}.relative-name small{color:#94a085;font-size:10px}.person-card{height:184px;overflow:hidden}.person-card h2{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.connection-lines .connection-hit{stroke:#0000;stroke-width:14px;pointer-events:stroke;cursor:pointer}.connection-lines .connection-hit:hover,.connection-lines .connection-hit:focus{stroke:#77935833;outline:none}.connection-lines .divorced-line{stroke-dasharray:0 5;stroke-linecap:round;stroke:#a39177}.connection-lines .separated-line{stroke-dasharray:5 4;stroke:#a39177}.connection-label{fill:#8c8f7d;paint-order:stroke;stroke:var(--paper);stroke-width:5px;pointer-events:none;font:10px Arial,sans-serif}.relationship-row{align-items:center;gap:8px;display:flex}.relationship-row>button:first-child{flex:1}.relative-list .edit-relationship{color:#7f936a;width:auto;padding:8px;font-size:10px}.relative-list .relative-name{margin-left:0}.remove-connection{color:#9b6f59;width:100%;margin-top:14px;padding:10px;font-size:11px}.undo-toast{background:var(--surface);border:1px solid var(--line);z-index:10;border-radius:8px;padding:12px 16px;font-size:12px;position:fixed;bottom:90px;left:20px;box-shadow:0 6px 20px #29362015}.undo-toast button{color:var(--green);margin-left:12px;text-decoration:underline}.person-card{text-align:center;justify-content:center;align-items:center}.card-profile-button{color:#839374;cursor:pointer;background:var(--surface-muted);touch-action:manipulation;border-radius:6px;width:28px;height:28px;position:absolute;top:8px;right:8px}.card-profile-button:hover{background:var(--accent-soft);color:#536c3e}.delete-person{color:#a16c58;margin:24px auto 0;padding:10px;font-size:11px;display:block}.delete-person:hover{background:#f8eee8;border-radius:5px}.family-branch-control{pointer-events:auto;cursor:pointer;outline:none}.family-branch-control rect{fill:var(--surface);stroke:#dbe3d0}.family-branch-control text{fill:#7f916c;font:9px Arial,sans-serif}.family-branch-control:hover rect,.family-branch-control:focus rect{fill:var(--accent-soft);stroke:#8fa678}.floating-add{right:max(26px, env(safe-area-inset-right));bottom:max(26px, env(safe-area-inset-bottom));z-index:4;color:#fff;background:var(--green);border:1px solid #50663f;border-radius:50%;width:56px;height:56px;transition:transform .15s,box-shadow .15s;position:fixed;box-shadow:0 5px 18px #41572d26}.floating-add:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 7px 22px #41572d35}.floating-add:active:not(:disabled){transform:translateY(0)}.user-profile-menu{position:relative}.user-profile-menu>summary{cursor:pointer;border:1px solid var(--line);background:var(--accent-soft);color:#738960;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font:13px Georgia,serif;list-style:none;display:flex}.user-profile-menu>summary::-webkit-details-marker{display:none}.user-profile-menu[open]>summary{box-shadow:0 0 0 3px #9daf821c}.profile-menu-content{border:1px solid var(--line);background:var(--surface);border-radius:10px;width:265px;max-width:calc(100vw - 30px);padding:20px;position:absolute;top:47px;right:0;box-shadow:0 10px 30px #34462216}.profile-menu-content h2{margin:0 0 12px;font:20px Georgia,serif}.profile-menu-content .field-hint{margin-bottom:18px;line-height:1.7}.profile-menu-content .primary{width:100%}.detail-panel{bottom:98px}@media (max-width:750px){.floating-add{right:max(18px, env(safe-area-inset-right));bottom:max(22px, env(safe-area-inset-bottom))}.canvas-toolbar{bottom:96px}}@media (prefers-reduced-motion:reduce){.floating-add{transition:none}}.person-card{gap:4px;padding:17px 18px 37px}.person-card>.avatar{width:30px;height:30px;font-size:13px}.person-card h2{font-size:16px}.card-drag-handle{color:#a0ad93;cursor:grab;touch-action:none;border-radius:5px;width:27px;height:28px;position:absolute;top:5px;left:5px}.card-drag-handle:hover,.card-drag-handle:focus-visible{background:var(--accent-soft);color:#607b49}.card-drag-handle:active{cursor:grabbing}.card-profile-button{border-top:1px solid var(--line);background:var(--surface-muted);border-radius:0 0 9px 9px;gap:6px;width:100%;height:30px;font-size:10px;inset:auto 0 0}.card-profile-button>span:last-child{position:absolute;right:13px}.pan-tool{color:#647d4e;background:var(--accent-soft);border-radius:5px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.profile-save-actions{justify-content:flex-end;align-items:center;gap:12px;display:flex}.cancel-edit{color:#849273;padding:10px 12px;font-size:11px}.draft-status{color:var(--muted);margin-top:12px;font-size:10px;line-height:1.6}.user-profile-menu>summary{background:var(--surface-muted);border-radius:22px;gap:9px;width:auto;height:38px;padding:4px 11px 4px 4px;font:11px Arial,sans-serif}.account-avatar{background:var(--accent-soft);border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;font:12px Georgia,serif;display:flex}.account-label{white-space:nowrap;text-overflow:ellipsis;max-width:100px;overflow:hidden}@media (max-width:550px){.account-label{display:none}}.person-card h2{white-space:normal;flex-shrink:0;width:100%;line-height:1.2}.person-card h2>span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.person-card h2>small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font:11px/1.5 Arial,sans-serif;display:block;overflow:hidden}.card-locations{flex-direction:column;gap:3px;width:100%;display:flex}.card-locations:empty{display:none}.card-locations .place{text-align:center;justify-content:center;gap:6px;width:100%;line-height:1.3;display:flex}.location-label{color:#7e8e6e;flex-shrink:0;font-size:9px}.location-value{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.unsaved-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;margin-top:24px;display:flex}.unsaved-actions>button{padding:10px 8px;font-size:11px}.add-dialog .unsaved-actions .primary{width:auto;margin:0;padding:10px 13px}.save-error{color:#a16c58;font-size:12px;line-height:1.6}.profile-person-heading{text-overflow:ellipsis;white-space:nowrap;margin-right:8px;overflow:hidden}.person-media{margin-bottom:30px}.person-media>.section-heading{margin-top:0}.person-media .field-hint{line-height:1.7}.media-limit{margin-top:8px}.media-list{gap:15px;margin-top:14px;display:grid}.media-item{border:1px solid var(--line);border-radius:8px;padding:10px}.media-preview{background:var(--surface-muted);border-radius:5px;width:100%;padding:0;overflow:hidden}.media-preview img{object-fit:cover;width:100%;height:130px}.media-filename{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:9px 0;font-size:10px;overflow:hidden}.media-item label{margin-bottom:10px}.media-actions{flex-wrap:wrap;gap:10px;font-size:10px;display:flex}.media-actions button,.media-actions a{color:#71865c;cursor:pointer;padding:3px 0}.media-actions a{text-decoration:underline}.pdf-preview{gap:12px;padding:24px 10px;font:24px Georgia,serif;display:grid}.pdf-preview span{overflow-wrap:anywhere;font:10px Arial,sans-serif}.portrait-image{object-fit:cover;pointer-events:none;border-radius:50%;width:100%;height:100%}.media-dialog{border:1px solid var(--line);background:var(--surface);border-radius:10px;width:min(900px,90vw);max-height:90dvh;margin:auto;padding:0}.media-dialog::backdrop{background:#20301988}.media-dialog>img{object-fit:contain;width:100%;height:65dvh}.media-dialog object{width:100%;height:65dvh}.media-preview-footer{border-top:1px solid var(--line);background:var(--surface-muted);flex-wrap:wrap;justify-content:center;gap:12px;padding:18px 24px;display:flex}.media-download-button{border-radius:8px;max-width:100%;min-height:44px;padding:12px 20px;font-size:13px;font-weight:600;box-shadow:0 2px 6px #1d3b2d14}.media-download-button svg{flex-shrink:0}.media-preview-footer [role=alert]{color:var(--ink);text-align:center;flex-basis:100%;font-size:12px}input[hidden]{display:none}.profile-panel-controls{flex-shrink:0;align-items:center;gap:5px;display:flex}.profile-expand-button{color:#758866;border-radius:5px;gap:5px;padding:7px;font-size:10px;display:flex}.profile-expand-button:hover{background:var(--accent-soft)}.profile-introduction{align-items:center;gap:18px;margin-bottom:26px;display:flex}.profile-introduction .avatar.large{margin:0}.profile-introduction-text{min-width:0}.profile-introduction h2{overflow-wrap:anywhere;margin:0 0 8px;font:21px/1.25 Georgia,serif}.profile-introduction p{color:var(--muted);margin:2px 0;font-size:10px;line-height:1.6}.person-profile.expanded{z-index:6;width:min(1050px,100vw - 48px);top:82px;bottom:24px;right:24px;box-shadow:0 12px 60px #30451f26}.person-profile.expanded .panel-body{padding:34px 40px}.person-profile.expanded .profile-introduction{border-bottom:1px solid var(--line);gap:25px;padding-bottom:28px}.person-profile.expanded .profile-introduction .avatar.large{width:100px;height:100px;font-size:32px}.person-profile.expanded .profile-introduction h2{font-size:32px}.person-profile.expanded .profile-introduction p{font-size:12px}.person-profile.expanded .person-details-form{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start;gap:36px;display:grid}.person-profile.expanded .person-media{min-width:0;position:sticky;top:0}.person-profile.expanded .person-media .section-heading{font:20px Georgia,serif}.person-profile.expanded .media-list{grid-template-columns:repeat(2,minmax(0,1fr))}.person-profile.expanded .media-list:has(>:only-child){grid-template-columns:1fr}.person-profile.expanded .media-list:has(>:only-child) .media-preview img{object-fit:contain;height:260px}.person-profile.expanded .profile-detail-fields{min-width:0}.person-profile.expanded .profile-detail-fields label{font-size:12px}.person-profile.expanded .profile-detail-fields input,.person-profile.expanded .profile-detail-fields textarea,.person-profile.expanded .profile-detail-fields select{padding:12px;font-size:13px}@media (max-width:750px){.person-profile.expanded{width:calc(100vw - 24px);top:78px;bottom:12px;right:12px}.person-profile.expanded .panel-body{padding:22px}.person-profile.expanded .person-details-form{display:block}.person-profile.expanded .person-media{position:static}.person-profile.expanded .profile-introduction .avatar.large{width:70px;height:70px}.person-profile.expanded .profile-introduction h2{font-size:25px}}.profile-family-section{border-top:1px solid var(--line);margin-top:30px;padding-top:26px}.family-section-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.family-section-header h3{margin:0;font:19px Georgia,serif}.family-section-header p{color:var(--muted);margin:7px 0 0;font-size:11px;line-height:1.6}.add-relative-button{border:1px solid var(--line);color:#70875b;white-space:nowrap;border-radius:6px;width:auto;padding:9px 12px;font-size:11px}.add-relative-button:hover{background:var(--surface-muted)}.family-section-grid{align-items:start;gap:22px;display:grid}.profile-family-section .relative-list{gap:10px;min-width:0;display:grid}.profile-family-section .relationship-row{border:1px solid var(--line);background:var(--surface);border-radius:8px;min-width:0;padding:10px 12px}.profile-family-section .relationship-row>button:first-child{gap:11px;width:auto;min-width:0;padding:0}.profile-family-section .relative-name{overflow-wrap:anywhere;min-width:0;margin:0;line-height:1.5}.profile-family-section .edit-relationship{border-radius:5px;flex-shrink:0;padding:7px 8px}.profile-family-section .edit-relationship:hover{background:var(--accent-soft)}.family-relationship-form{border:1px solid var(--line);border-radius:8px;min-width:0;padding:18px}.family-relationship-form .relationship-fields{margin:0 0 16px}.family-relationship-form .relationship-fields>legend{margin-bottom:16px;font-size:12px}.family-relationship-form .primary{width:auto;font-size:11px}.family-relationship-form label:last-child{margin-bottom:0}.family-empty{color:var(--muted);border:1px dashed #dce4d3;border-radius:8px;margin:0;padding:18px;font-size:12px;line-height:1.8}.profile-danger-footer{border-top:1px solid var(--line);justify-content:flex-end;margin-top:28px;padding-top:14px;display:flex}.profile-danger-footer .delete-person{margin:0;padding:8px;font-size:10px}.person-profile.expanded .family-section-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:36px}.person-profile.expanded .profile-family-section{margin-top:34px}.person-profile.expanded .family-relationship-form{padding:22px}@media (max-width:750px){.person-profile.expanded .family-section-grid{grid-template-columns:1fr;gap:20px}}.login-page{isolation:isolate;grid-template-columns:minmax(0,1fr) 420px;align-content:center;column-gap:clamp(40px,8vw,150px);max-width:1440px;min-height:100dvh;margin:auto;padding:110px max(6vw,24px) 80px;display:grid;position:relative}.login-brand{position:absolute;top:32px;left:max(6vw,24px)}.login-story{align-self:center;padding:20px 0}.login-eyebrow{color:#91a07e;letter-spacing:2px;font-size:10px}.login-story h1{letter-spacing:-1.3px;margin:20px 0;font:clamp(34px,4vw,53px)/1.2 Georgia,serif}.login-story>p{color:var(--muted);max-width:390px;font-size:14px;line-height:1.9}.login-illustration{text-align:center;color:#91a47a;width:255px;margin:40px 0 25px}.illustration-person,.login-illustration>div>span{background:var(--surface);border:1px solid #d9e1cc;border-radius:9px;justify-content:center;align-items:center;width:60px;height:64px;font:25px Georgia,serif;display:inline-flex}.login-illustration>i{background:#c3cdb7;width:1px;height:28px;margin:auto;display:block}.login-illustration>div{border-top:1px solid #c3cdb7;justify-content:space-between;padding-top:20px;display:flex}.login-story .login-quote{color:#9aa58b;font:italic 15px Georgia,serif}.login-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;align-self:center;padding:32px;box-shadow:0 12px 50px #50663309}.demo-badge{color:#8fa07b;letter-spacing:1.7px;background:var(--surface-muted);border-radius:4px;padding:5px 7px;font-size:8px}.login-card h2{margin:19px 0 12px;font:28px Georgia,serif}.login-card>p{color:var(--muted);font-size:12px;line-height:1.7}.login-card form{margin-top:25px}.login-card input{padding:12px;font-size:13px}.password-input{position:relative}.password-input input{padding-right:54px}.password-input button{color:var(--muted);font-size:10px;position:absolute;top:0;bottom:0;right:10px}.login-submit{justify-content:space-between;width:100%;margin-top:7px;padding:13px}.login-switch{text-align:center;margin:21px 0}.login-switch button{color:#607d48;padding:0;font-size:12px;display:inline}.login-demo-note{border-top:1px solid var(--line);color:var(--muted);padding-top:17px;font-size:10px;line-height:1.8}.login-footer{text-align:center;color:#a2ad95;font:italic 12px Georgia,serif;position:absolute;bottom:24px;left:0;right:0}.login-loading{color:#8b987c;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:100dvh;display:flex}.login-loading p{font-size:12px}.sign-out-button{border-top:1px solid var(--line);color:#8b785f;width:100%;margin-top:16px;padding:14px 0 0;font-size:12px}@media (max-width:800px){.login-page{grid-template-columns:minmax(0,420px);justify-content:center;gap:25px;padding-top:110px}.login-story{display:none}.login-card{padding:28px}}.login-page:before{content:"";z-index:-1;pointer-events:none;background:radial-gradient(65% 75% at 30% 45%,#edf2e2 0%,#edf2e280 38%,#edf2e200 78%);position:fixed;inset:0}:root{--surface:#fffefa;--surface-muted:#f5f8ef;--accent-soft:#eaf0df;--dot:#cdd4c3}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--paper:#1d241e;--surface:#28312a;--surface-muted:#303c31;--accent-soft:#394b35;--ink:#e1e8d9;--muted:#a4b199;--line:#42523e;--green:#647f50;--dot:#3c4938}:root[data-theme=sepia]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--paper:#f2ebdd;--surface:#fff8eb;--surface-muted:#f0e7d5;--accent-soft:#e8dec3;--ink:#574d38;--muted:#93836b;--line:#dfd2b8;--green:#776945;--dot:#d4c8ac}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark] .login-page:before{background:radial-gradient(65% 75% at 30% 45%,#34482c80,#0000 78%)}:root[data-theme=sepia] .login-page:before{background:radial-gradient(65% 75% at 30% 45%,#e4d6b780,#0000 78%)}:root[data-theme=dark] .person-card.selected{border-color:#91af75}:root[data-theme=dark] .avatar.rose{color:#d8b6a6;background:#564139}:root[data-theme=dark] .avatar.ochre{color:#d5c28d;background:#504a32}:root[data-theme=dark] .memory{color:#d3c898;background:#464430}:root[data-theme=dark] .connection-lines path:not(.connection-hit){stroke:#829570}:root[data-theme=dark] .connection-label{fill:#b9c5a9}.plain-canvas .canvas{background-image:none}.card-shape-square .person-card{border-radius:2px}.card-shape-square .card-profile-button{border-radius:0}.card-shape-circle .person-card{border-radius:50%;width:220px;height:220px;min-height:220px;padding:22px 30px 50px}.card-shape-circle .person-card h2{font-size:15px}.card-shape-circle .card-profile-button{border:1px solid var(--line);border-radius:16px;width:100px;height:26px;font-size:9px;bottom:18px;left:60px}.card-shape-circle .card-profile-button>span:last-child{display:none}.card-shape-circle .card-drag-handle{top:53px;left:8px}.card-shape-circle .card-locations{max-width:155px}.settings-dialog{border:1px solid var(--line);background:var(--surface);width:min(880px,100vw - 32px);height:min(770px,100dvh - 48px);max-height:calc(100dvh - 32px);color:var(--ink);border-radius:16px;margin:auto;padding:0;overflow:hidden;box-shadow:0 25px 100px #15220e35}.settings-dialog[open]{flex-direction:column;display:flex}.settings-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#1a28154d}.settings-header{border-bottom:1px solid var(--line);flex-shrink:0;justify-content:space-between;align-items:center;padding:24px 28px;display:flex}.settings-eyebrow{letter-spacing:1.6px;color:var(--muted);font-size:8px}.settings-header h1{margin:7px 0 0;font:28px Georgia,serif}.settings-layout{flex:1;min-height:0;display:flex}.settings-nav{border-right:1px solid var(--line);background:var(--surface-muted);flex-shrink:0;width:190px;padding:24px 15px}.settings-identity{text-align:center;flex-direction:column;align-items:center;gap:7px;margin-bottom:24px;display:flex}.settings-avatar{background:var(--accent-soft);width:54px;height:54px;color:var(--green);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font:21px Georgia,serif;display:inline-flex}.settings-identity strong{overflow-wrap:anywhere;font-size:12px;font-weight:500}.settings-identity small{color:var(--muted);font-size:10px}.settings-nav>button{width:100%;color:var(--muted);border-radius:6px;justify-content:space-between;margin:3px 0;padding:12px;font-size:12px}.settings-nav>button[aria-current]{color:var(--ink);background:var(--accent-soft)}.settings-nav>p{color:var(--muted);padding:16px 12px;font-size:10px;line-height:1.8}.settings-content{flex:1;min-width:0;padding:30px 36px;overflow-y:auto}.settings-content h2{margin:0;font:23px/1.3 Georgia,serif}.settings-description{color:var(--muted);margin:10px 0 25px;font-size:12px;line-height:1.8}.settings-content label{font-size:12px}.settings-content label>small{color:var(--muted);margin-top:6px;font-size:10px;line-height:1.8;display:block}.settings-content input,.settings-content select{background:var(--surface)}.settings-profile-banner{background:var(--surface-muted);border:1px solid var(--line);border-radius:10px;align-items:center;gap:16px;margin-bottom:28px;padding:20px;display:flex}.settings-profile-banner>div{overflow-wrap:anywhere;min-width:0}.settings-profile-banner strong{font:19px Georgia,serif}.settings-profile-banner p{color:var(--muted);margin:6px 0 12px;font-size:11px}.settings-note{background:var(--surface-muted);border:1px solid var(--line);color:var(--muted);border-radius:7px;margin:20px 0;padding:15px 17px;font-size:11px;line-height:1.8}.settings-footer{border-top:1px solid var(--line);flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:17px 25px;display:flex}.settings-footer>span{color:var(--muted);font-size:10px}.settings-footer>div{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.settings-footer button{font-size:11px}.settings-dialog .settings-secondary,.settings-dialog .primary{border-radius:8px;min-height:40px;padding:10px 16px;font-size:12px;font-weight:500;line-height:1.4}.settings-dialog .settings-secondary{border:1px solid var(--line);background:var(--surface);color:var(--ink)}.settings-dialog button{transition:background-color .15s,border-color .15s}.settings-dialog button:focus-visible{outline:2px solid var(--green);outline-offset:3px}.settings-dialog .settings-secondary:hover:not(:disabled),.settings-text-button:hover:not(:disabled){background:var(--accent-soft);border-color:var(--green);filter:none}.settings-dialog .primary:hover:not(:disabled){filter:brightness(.9)}.settings-dialog button:disabled{opacity:.45;cursor:not-allowed}.settings-nav>button:hover:not([aria-current]){background:var(--accent-soft);color:var(--ink);filter:none}.settings-dialog .theme-options button:hover,.settings-dialog .shape-options button:hover{border-color:var(--green);background:var(--surface-muted);filter:none}.settings-header .icon-button{border:1px solid var(--line);background:var(--surface-muted);width:36px;height:36px;color:var(--muted);border-radius:8px;font-size:24px;line-height:1}.settings-header .icon-button:hover{background:var(--accent-soft);color:var(--ink);filter:none}.settings-notice{background:var(--accent-soft);color:var(--ink);border-radius:6px;padding:13px 15px;font-size:12px;line-height:1.7}.settings-choices{border:0;margin:22px 0;padding:0}.settings-choices legend{margin-bottom:12px;font-size:12px}.theme-options,.shape-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.shape-options{grid-template-columns:repeat(3,minmax(0,1fr))}.theme-options button,.shape-options button{border:1px solid var(--line);color:var(--muted);border-radius:7px;flex-direction:column;gap:10px;padding:12px 8px;font-size:10px;display:flex}.theme-options button.selected,.shape-options button.selected{border-color:var(--green);box-shadow:0 0 0 1px var(--green);color:var(--ink);background:var(--surface-muted)}.theme-swatch{background:#f8f9f4;border:1px solid #cbd4c0;border-radius:4px;width:45px;height:30px;padding:6px}.theme-swatch i{background:#bbc8ae;border-radius:2px;height:4px;margin-bottom:4px;display:block}.theme-swatch.dark{background:#28312a;border-color:#627356}.theme-swatch.dark i{background:#748765}.theme-swatch.sepia{background:#f0e7d5;border-color:#cbbd9e}.theme-swatch.sepia i{background:#b9a87e}.theme-swatch.system{background:linear-gradient(90deg,#f8f9f4 50%,#28312a 50%)}.shape-swatch{background:var(--accent-soft);border:1px solid var(--green);place-items:center;width:30px;height:30px;display:grid}.shape-swatch i{background:var(--green);opacity:.4;border-radius:50%;width:10px;height:10px}.shape-swatch.rounded{border-radius:7px}.shape-swatch.circle{border-radius:50%}.appearance-preview{border:1px solid var(--line);color:#384432;text-align:center;background:#f8f9f4;border-radius:9px;padding:18px}.settings-preview-label{letter-spacing:1px;color:#92a080;margin-bottom:15px;font-size:8px;display:block}.preview-person{background:#fffefa;border:1px solid #dce2d3;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:165px;min-height:130px;margin:auto;padding:20px 12px;display:flex}.preview-person.rounded{border-radius:10px}.preview-person.circle{border-radius:50%;width:155px;height:155px}.preview-person strong{overflow-wrap:anywhere;max-width:125px;font:15px Georgia,serif}.preview-person small{color:#98a689;font-size:9px}.appearance-preview.theme-dark{color:#e1e8d9;background:#1d241e}.theme-dark .preview-person{background:#28312a;border-color:#42523e}.appearance-preview.theme-sepia{color:#574d38;background:#f2ebdd}.theme-sepia .preview-person{background:#fff8eb;border-color:#dfd2b8}.settings-toggle{border-bottom:1px solid var(--line);cursor:pointer;justify-content:space-between;align-items:center;gap:20px;margin:0;padding:18px 0;display:flex}.settings-toggle strong{color:var(--ink);font-size:12px;font-weight:500}.settings-toggle small{color:var(--muted);margin-top:4px;font-size:10px;line-height:1.7;display:block}.settings-toggle input{width:17px;height:17px;accent-color:var(--green);flex-shrink:0;margin:0}.settings-text-button{color:var(--green);border:1px solid var(--line);background:var(--surface-muted);text-align:left;border-radius:7px;min-height:38px;margin-top:16px;padding:10px 12px;font-size:11px}.settings-show-password{align-items:center;gap:8px;display:flex}.settings-show-password input{width:15px;height:15px;accent-color:var(--green);margin:0}.settings-stats{grid-template-columns:1fr 1fr;gap:14px;margin-bottom:24px;display:grid}.settings-stats>div{border:1px solid var(--line);background:var(--surface-muted);border-radius:8px;padding:20px}.settings-stats strong{font:29px Georgia,serif;display:block}.settings-stats span{color:var(--muted);margin-top:6px;font-size:11px;display:block}.settings-data-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;padding:18px 0;display:flex}.settings-data-row h3{margin:0;font-size:12px;font-weight:500}.settings-data-row p{color:var(--muted);margin:7px 0 0;font-size:11px;line-height:1.7}.settings-data-row button{white-space:nowrap;border-color:var(--line);flex-shrink:0}@media (prefers-color-scheme:dark){.appearance-preview.theme-system{color:#e1e8d9;background:#1d241e}.theme-system .preview-person{background:#28312a;border-color:#42523e}}@media (max-width:680px){.settings-dialog{width:calc(100vw - 20px);height:calc(100dvh - 24px)}.settings-header{padding:18px 20px}.settings-layout{flex-direction:column}.settings-nav{border-right:0;border-bottom:1px solid var(--line);gap:3px;width:100%;padding:8px;display:flex}.settings-identity,.settings-nav>p{display:none}.settings-nav>button{justify-content:center;padding:10px 6px;font-size:10px}.settings-nav>button>span{display:none}.settings-content{padding:24px 20px}.settings-footer{flex-wrap:wrap;padding:14px}.settings-footer>span{max-width:140px;line-height:1.6}.settings-data-row{flex-direction:column;align-items:flex-start}}.family-breadcrumbs{min-width:0;color:var(--muted);align-items:center;gap:9px;font-size:11px;display:flex}.family-breadcrumbs button{white-space:nowrap;border-radius:4px;padding:5px}.family-breadcrumbs button:hover{background:var(--accent-soft)}.family-breadcrumbs strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;max-width:190px;font-weight:500;overflow:hidden}.surname-link{font:inherit;color:inherit;text-underline-offset:3px;padding:0;-webkit-text-decoration:underline #9caf8150;text-decoration:underline #9caf8150;display:inline}.surname-link:hover{color:var(--green);text-decoration-color:currentColor}.card-family-button{color:#8a9c76;border-radius:5px;width:26px;height:26px;position:absolute;top:7px;right:7px}.card-family-button:hover{background:var(--accent-soft)}.card-shape-circle .card-family-button{top:53px;right:8px}.explore-family-button{color:var(--green);border:1px solid var(--line);text-align:left;border-radius:5px;margin:8px 0;padding:7px 9px;font-size:10px}.branch-context{pointer-events:none;background:var(--paper);border-radius:6px;flex-direction:column;gap:6px;padding:8px 11px;display:flex;position:absolute;top:20px;left:22px}.branch-context>span{font:17px Georgia,serif}.branch-context small{color:var(--muted);font-size:9px}@media (max-width:750px){.family-breadcrumbs{gap:3px}.family-breadcrumbs strong{max-width:100px}.identity{gap:8px}.branch-context small{max-width:210px;line-height:1.6}}@media (max-width:520px){.family-breadcrumbs{font-size:9px}.family-breadcrumbs strong{max-width:65px}.identity .brand{gap:0;font-size:0}.identity .brand>span{font-size:30px}}.card-notes-button{width:26px;height:26px;color:var(--green);cursor:pointer;border-radius:5px;position:absolute;top:7px;right:37px}.card-notes-button:hover,.card-confidence-icon:hover{background:var(--accent-soft)}.card-shape-circle .card-notes-button{top:83px;right:2px}.card-notes-button:focus-visible,.card-confidence-icon:focus-visible{outline:2px solid var(--green);outline-offset:2px}.person-notes-dialog{border:1px solid var(--line);background:var(--surface);width:min(680px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--ink);border-radius:18px;margin:auto;padding:0;box-shadow:0 24px 90px #15220e35}.person-notes-dialog[open]{flex-direction:column;display:flex}.person-notes-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#1a28154d}.notes-heading{border-bottom:1px solid var(--line);align-items:center;gap:14px;padding:24px 28px;display:flex}.notes-heading .avatar{flex-shrink:0}.notes-heading>div{flex:1;min-width:0}.notes-heading p{color:var(--muted);text-transform:uppercase;letter-spacing:.1em;margin:0 0 6px;font-size:11px}.notes-heading h2{overflow-wrap:anywhere;margin:0;font:26px Georgia,serif}.notes-heading .icon-button{flex-shrink:0;font-size:24px}.notes-content{padding:28px;overflow-y:auto}.notes-content h3{margin:0 0 16px;font:22px/1.4 Georgia,serif}.notes-prose{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.85}.notes-empty,.notes-help{color:var(--muted)}.daily-life-story{background:var(--surface-muted);border:1px solid var(--line);border-radius:12px;margin-top:28px;padding:24px}.notes-eyebrow{color:var(--green);text-transform:uppercase;letter-spacing:.09em;margin-bottom:12px;font-size:11px;display:block}.notes-content textarea{resize:vertical;border:1px solid var(--line);background:var(--surface);width:100%;min-height:130px;color:var(--ink);font:inherit;border-radius:8px;padding:14px;line-height:1.7}.notes-content textarea:focus-visible{outline:2px solid var(--green);outline-offset:2px}.notes-help{margin-bottom:0;font-size:12px;line-height:1.6}.notes-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:18px 28px;display:flex}.notes-footer>span{color:var(--muted);font-size:12px}.notes-footer>div{align-items:center;gap:12px;display:flex}.notes-footer button{border-radius:7px;padding:10px 14px}.notes-footer button:disabled{opacity:.5;cursor:default}@media (max-width:600px){.notes-heading,.notes-content{padding:20px}.daily-life-story{padding:18px}.notes-footer{flex-wrap:wrap;padding:16px}}.origins-story{border:1px solid var(--line);background:var(--surface-muted);border-radius:10px;align-items:center;gap:14px;margin:0 0 22px;padding:16px;display:flex}.origins-symbol{background:var(--accent-soft);width:34px;height:34px;color:var(--green);border-radius:50%;flex-shrink:0;place-items:center;font-size:21px;display:grid}.origins-story h3{margin:0 0 7px;font:17px Georgia,serif}.origins-story p{color:var(--muted);overflow-wrap:anywhere;margin:3px 0;font-size:12px;line-height:1.6}.immigration-fields{border:1px solid var(--line);border-radius:8px;margin-bottom:18px;padding:12px}.immigration-fields summary{cursor:pointer;color:var(--green);font-size:12px}.immigration-fields p{color:var(--muted);margin:12px 0;font-size:11px;line-height:1.6}.immigration-fields label:last-child{margin-bottom:0}.country-select-wrap{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-items:stretch;margin-top:7px;display:flex;overflow:hidden}.country-select-flag{background:var(--accent-soft);width:48px;color:var(--green);flex-shrink:0;justify-content:center;align-items:center;font:25px Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif;display:flex}.country-select-wrap select{cursor:pointer;border:0;border-radius:0;flex:1;width:100%;min-width:0;margin:0;padding:12px 10px}.country-select-wrap:focus-within{outline:2px solid var(--green);outline-offset:2px}.country-select-wrap select:focus{outline:none}.country-custom-label{border-left:2px solid var(--line);padding-left:12px}.card-country-icon{cursor:default;width:26px;height:26px;color:var(--green);border-radius:5px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:7px;right:97px}.card-country-icon>span{font:16px/1 Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif}.card-shape-circle .card-country-icon{top:143px;right:12px}.canvas-toolbar .auto-layout-button{white-space:nowrap;gap:6px;width:auto;padding:0 10px;font:11px Arial,sans-serif}.canvas-toolbar .auto-layout-button:hover:not(:disabled){background:var(--accent-soft)}@media (max-width:680px){.canvas-toolbar{justify-content:flex-start;max-width:calc(100vw - 100px);overflow-x:auto}.canvas-toolbar>*{flex-shrink:0}}.canvas-toolbar .save-layout-button{background:var(--green);color:#fff;border-radius:6px}.canvas-toolbar .save-layout-button:hover:not(:disabled){background:var(--green);filter:brightness(.9)}.layout-beta{color:var(--muted);margin-left:3px;font-size:9px;font-weight:400}.settings-danger-zone{border:1px solid #b96852;border-radius:10px;margin-top:28px;padding:20px}.settings-danger-zone h3{margin:0 0 12px;font:19px Georgia,serif}.settings-danger-zone p{color:var(--muted);font-size:12px;line-height:1.7}.settings-dialog .settings-danger-button{color:#fff;background:#963e2f;border:1px solid #963e2f;border-radius:7px;min-height:40px;padding:11px 14px}.settings-danger-actions{flex-wrap:wrap;gap:10px;display:flex}.settings-danger-zone form{margin-top:18px}.research-confidence{border:1px solid var(--line);background:var(--surface-muted);border-radius:10px;grid-column:1/-1;min-width:0;margin:0 0 8px;padding:16px}.research-confidence legend{color:var(--text);padding:0 6px;font:18px Georgia,serif}.research-confidence p{color:var(--muted);margin:10px 0;font-size:12px;line-height:1.6}.date-confidence-field{color:var(--muted)}.confidence-badge{border:1px solid var(--line);border-radius:20px;margin-bottom:8px;padding:5px 9px;font-size:11px;display:inline-flex}.confidence-badge.confidence-researching{color:#785019;background:#fff0d8}.confidence-badge.confidence-verified{color:#355737;background:#e7eedf}.card-confidence-icon{width:26px;height:26px;color:var(--green);cursor:pointer;border-radius:5px;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:7px;right:67px}.card-shape-circle .card-confidence-icon{top:113px;right:2px}:root[data-theme=dark] .confidence-badge.confidence-researching{color:#f1ce94;background:#493c26}:root[data-theme=dark] .confidence-badge.confidence-verified{color:#c1debd;background:#2c4537}.research-confidence{scroll-margin-top:16px}.research-confidence:focus-visible{outline:2px solid var(--green);outline-offset:3px}.photo-crop-dialog{border:1px solid var(--line);background:var(--surface);width:min(460px,100vw - 24px);max-height:calc(100dvh - 32px);color:var(--text);border-radius:16px;margin:auto;padding:24px;overflow-y:auto}.photo-crop-dialog::backdrop{background:#182c2499}.photo-crop-dialog h2{margin:0;font:23px Georgia,serif}.photo-crop-dialog>p{color:var(--muted);margin:12px 0 18px;font-size:13px;line-height:1.6}.photo-crop-stage{aspect-ratio:1;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:#fff;border-radius:8px;width:min(100%,300px);margin:0 auto 20px;position:relative;overflow:hidden}.photo-crop-stage:active{cursor:grabbing}.photo-crop-stage canvas{width:100%;height:100%;display:block}.photo-crop-guide{pointer-events:none;border:1px solid #fffd;border-radius:50%;position:absolute;inset:0;box-shadow:0 0 0 100px #182c2470}.photo-crop-controls{gap:12px;display:grid}.photo-crop-controls label{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:12px;display:flex}.photo-crop-controls input[type=range]{width:100%;accent-color:var(--green);padding:0}.photo-crop-controls .secondary{justify-self:start}.photo-crop-actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.workspace-save-status{border-bottom:1px solid var(--line);background:var(--surface);color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px 14px;padding:7px 20px;font-size:11px;display:flex}.workspace-save-status .save-indicator{color:var(--green)}.workspace-save-status.is-error,.workspace-save-status.is-error .save-indicator{color:#a15c38}.workspace-save-status time{margin-left:auto}.sync-recovery-actions,.media-recovery-actions{flex-wrap:wrap;gap:8px;margin:10px 0;display:flex}.sync-error .sync-recovery-actions button{border:1px solid var(--line);border-radius:6px;margin:0;padding:6px 10px;text-decoration:none}.sync-recovery-actions button:hover{background:var(--accent-soft)}.sync-error small{color:var(--muted);font-size:12px;display:block}.media-upload-status,.media-upload-error{border:1px solid var(--line);background:var(--surface-muted);overflow-wrap:anywhere;border-radius:8px;margin:12px 0;padding:12px;font-size:12px;line-height:1.6}.media-upload-status progress{width:100%;height:8px;accent-color:var(--green);margin:10px 0;display:block}.media-upload-status small{color:var(--muted)}.media-upload-error p{color:#a15c38;margin:0}.life-timeline{border:1px solid var(--line);background:var(--surface-muted);border-radius:12px;margin:8px 0 24px;padding:20px}.life-timeline-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.timeline-eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:10px}.life-timeline h3{margin:5px 0;font:24px Georgia,serif}.life-timeline p{color:var(--muted);overflow-wrap:anywhere;margin:6px 0;font-size:12px;line-height:1.7}.life-timeline .timeline-help{margin:10px 0 20px}.life-timeline ol{margin:16px 0 0 5px;padding:0;list-style:none}.life-timeline li{border-left:1px solid var(--line);padding:0 0 24px 22px;position:relative}.life-timeline li:last-child{border-left-color:#0000;padding-bottom:4px}.timeline-marker{background:var(--green);border-radius:50%;width:9px;height:9px;position:absolute;top:4px;left:-5px}.timeline-estimated .timeline-marker{background:var(--surface);border:1px dashed var(--green)}.timeline-date{color:var(--green);flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;display:flex}.life-timeline h4{overflow-wrap:anywhere;margin:6px 0 0;font:17px Georgia,serif}.timeline-certainty{border:1px solid var(--line);color:var(--muted);border-radius:10px;padding:2px 6px;font-size:10px}.timeline-undated{border-top:1px solid var(--line);margin-top:20px;padding-top:12px}.timeline-undated>h4{color:var(--muted);font:12px Arial,sans-serif}.timeline-undated .timeline-marker{background:var(--surface);border:1px solid var(--muted)}.timeline-present{border-top:1px solid var(--line);margin-top:20px;padding-top:12px}.timeline-present>span{color:var(--green);font-size:11px}.login-brand{color:var(--ink);text-decoration:none}.welcome-page{padding-top:120px;padding-bottom:105px}.welcome-features{grid-template-columns:repeat(3,1fr);gap:22px;max-width:590px;margin-top:30px;display:grid}.welcome-features article>span{color:var(--muted);font-size:10px}.welcome-features h2{margin:10px 0;font:16px Georgia,serif}.welcome-features p{color:var(--muted);font-size:11px;line-height:1.8}.login-footer{padding:0 24px;font:11px/1.7 Arial,sans-serif}.login-footer span{margin-top:5px;font:italic 12px Georgia,serif;display:block}.forgot-password{color:var(--green);margin:0 auto 22px;font-size:12px;display:block}.auth-error,.sync-error{background:var(--surface);border-bottom:1px solid var(--line);color:#9b532e;padding:12px 20px;line-height:1.6}.sync-error button,.auth-error button{margin-left:12px;text-decoration:underline}.workspace-copyright{color:var(--muted);background:var(--surface);padding:5px 16px;font-size:9px}@media (max-width:760px){.welcome-page .login-story{padding:0;display:block}.welcome-page .login-story h1{font-size:34px}.welcome-features{display:none}.welcome-page{padding-top:100px;padding-bottom:100px}}.relationship-status-field small{color:var(--muted);margin-top:7px;font-size:10px;line-height:1.6;display:block}.profile-family-section .relationship-row{flex-wrap:wrap}.relationship-row>.relationship-status-field{border-top:1px solid var(--line);flex-basis:100%;margin:6px 0 0;padding-top:10px}:root{--paper:#faf7ef;--ink:#203c2f;--muted:#6b7667;--line:#dfe3d6;--green:#244b36;--surface:#fffdf8;--surface-muted:#f1f2e8;--accent-soft:#e8eddd;--dot:#cdd6c1;--brand-gold:#f8c66c;--brand-clay:#df7959;--brand-sage:#869a70}:root[data-theme=dark]{--paper:#17271f;--surface:#22362a;--surface-muted:#2b4031;--accent-soft:#364f39;--ink:#f6f3e9;--muted:#b6c3aa;--line:#435b45;--green:#42634a;--dot:#39523c}:root[data-theme=sepia]{--paper:#f2ebdd;--surface:#fff8eb;--surface-muted:#f0e7d5;--accent-soft:#e8dec3;--ink:#574d38;--muted:#807159;--line:#dfd2b8;--green:#665a3b;--dot:#d4c8ac}.brand-logo{flex-shrink:0;align-items:center;gap:9px;line-height:1;display:inline-flex}.brand-logo-mark{object-fit:contain;width:38px;height:42px;display:block}.brand-logo-lockup{flex-direction:column;align-items:flex-start;gap:2px;display:flex}.brand-logo-tagline{color:var(--muted);letter-spacing:0;white-space:nowrap;font:7px/1.3 Arial,sans-serif}.brand-logo-wordmark{width:79.5px;height:auto;display:block}.login-brand .brand-logo{gap:12px}.login-brand .brand-logo-mark{width:43px;height:47px}.login-brand .brand-logo-wordmark{width:99.375px}.login-loading .brand-logo-mark{width:56px;height:61px}.login-loading .brand-logo-wordmark{width:113.95px}:root[data-theme=dark] .brand-logo-wordmark{filter:brightness(0)invert(95%)sepia(10%)}:root[data-theme=dark] .brand-logo-mark{background:#faf7ef;border-radius:8px;padding:3px}.primary{border-color:var(--green)}.primary:hover:not(:disabled){box-shadow:0 3px 12px #1d3b2d1a}.login-page:before{background:radial-gradient(60% 70% at 24% 45%,#e6eddc 0%,#e6eddc70 42%,#0000 80%),radial-gradient(30% 35% at 90% 12%,#f8c66c14,#0000 80%)}.login-eyebrow,.demo-badge{color:#5e7550}.login-card{border-radius:20px;box-shadow:0 16px 60px #1d3b2d08}.welcome-emblem{flex-direction:column;justify-content:center;align-items:center;width:400px;max-width:100%;margin:22px 0 28px;display:flex}.welcome-emblem img{width:360px;max-width:100%;height:auto;padding:4px}.welcome-emblem p{color:var(--muted);margin:12px 0 0;font:italic 13px Georgia,serif}:root[data-theme=dark] .welcome-emblem img{background:#faf7ef;border-radius:24px;padding:14px}.welcome-features article{border-top:3px solid var(--brand-sage);padding-top:12px}.welcome-features article:nth-child(2){border-color:var(--brand-gold)}.welcome-features article:nth-child(3){border-color:var(--brand-clay)}.login-footer,.workspace-copyright{color:var(--muted)}:root[data-theme=dark] .login-eyebrow,:root[data-theme=dark] .demo-badge{color:#b6c8a1}@media (max-width:760px){.welcome-emblem{display:none}}@media (max-width:520px){.identity .brand-logo-lockup{display:none}.identity .brand-logo-mark{width:31px;height:36px}}.story-preview{border-top:1px solid var(--line);grid-column:1/-1;min-width:0;margin-top:90px;padding-top:64px}.story-preview-heading{text-align:center;max-width:620px;margin:0 auto 36px}.story-preview-heading h2{letter-spacing:-.8px;margin:16px 0;font:clamp(29px,3.2vw,42px)/1.2 Georgia,serif}.story-preview-heading>p{color:var(--muted);font-size:14px;line-height:1.8}.story-preview-window{border:1px solid var(--line);background:var(--surface);border-radius:20px;overflow:hidden;box-shadow:0 20px 65px #1d3b2d0a}.story-preview-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:20px 26px;display:flex}.story-preview-toolbar>span:first-child{font:19px Georgia,serif}.story-preview-toolbar>span:last-child{color:var(--muted);font-size:10px}.story-preview-content{grid-template-columns:1.2fr 1fr;display:grid}.story-preview-tree{text-align:center;background-color:var(--surface-muted);background-image:radial-gradient(var(--dot) 1px, transparent 1px);background-size:18px 18px;min-width:0;padding:26px}.story-preview-tree>p{color:var(--muted);margin:0 0 18px;font-size:11px}.story-preview-nodes{grid-template-rows:145px 145px;grid-template-columns:1fr 1fr;gap:40px 28px;max-width:400px;margin:auto;display:grid;position:relative}.story-preview-lines{pointer-events:none;fill:none;width:100%;height:100%;stroke:var(--brand-sage);stroke-width:2px;position:absolute;inset:0}.story-preview-person{z-index:1;background:var(--surface);border:1px solid var(--line);border-radius:12px;flex-direction:column;justify-self:center;gap:9px;width:100%;max-width:168px;padding:16px 8px;position:relative;box-shadow:0 5px 14px #1d3b2d08}.story-preview-person[aria-pressed=true]{border-color:var(--brand-sage);box-shadow:0 0 0 2px var(--brand-sage)}.story-preview-person strong{font:16px Georgia,serif}.story-preview-person small{color:var(--muted);font-size:10px}.story-preview-child{grid-column:1/-1}.story-preview-avatar{color:#344b32;background:#e0e7d3;border-radius:50%;flex-shrink:0;place-items:center;width:46px;height:46px;font:18px Georgia,serif;display:grid}.gold .story-preview-avatar{color:#74561c;background:#fbe5b4}.clay .story-preview-avatar{color:#884931;background:#f5d5c7}.story-preview-tree-caption{color:var(--muted);margin-top:24px;font:italic 13px/1.6 Georgia,serif;display:block}.story-preview-profile{border-left:1px solid var(--line);min-width:0;padding:36px}.story-preview-label{letter-spacing:1.5px;color:var(--muted);font-size:9px}.story-preview-profile-heading{align-items:center;gap:14px;margin:24px 0 16px;display:flex}.story-preview-profile-heading .story-preview-avatar{width:60px;height:60px;font-size:23px}.story-preview-profile h3{margin:0 0 7px;font:27px Georgia,serif}.story-preview-profile-heading p,.story-preview-role{color:var(--muted);margin:0;font-size:11px;line-height:1.7}.story-preview-memory{background:var(--surface-muted);border-radius:10px;margin:26px 0;padding:22px}.story-preview-memory>span,.story-preview-connections>span{color:var(--muted);font-size:10px}.story-preview-memory blockquote{margin:12px 0 0;font:17px/1.7 Georgia,serif}.story-preview-connections{border-top:1px solid var(--line);padding-top:18px}.story-preview-connections p{font-size:12px;line-height:1.7}.story-preview-start{text-align:center;padding:34px 0 12px}.story-preview-start p{margin:0 0 18px;font:21px/1.5 Georgia,serif}.story-preview-start button{border-radius:8px;padding:14px 22px}.story-preview-start small{color:var(--muted);margin-top:14px;font-size:10px;line-height:1.7;display:block}@media (max-width:1000px){.story-preview-content{grid-template-columns:1fr 1fr}.story-preview-profile{padding:26px}}@media (max-width:800px){.story-preview{margin-top:36px;padding-top:40px}.story-preview-content{grid-template-columns:1fr}.story-preview-profile{border-left:0;border-top:1px solid var(--line);padding:26px 22px}.story-preview-toolbar{flex-wrap:wrap;padding:18px}.story-preview-tree{padding:26px 18px}.story-preview-person strong{font-size:14px}.story-preview-nodes{column-gap:22px}}.person-profile.profile-organized{flex-direction:column;width:min(440px,100vw - 24px);display:flex}.person-profile.profile-organized.expanded{width:min(1000px,100vw - 40px)}.profile-organized>.panel-heading{flex-shrink:0;padding:16px 20px}.profile-section-nav{border-bottom:1px solid var(--line);background:var(--surface);flex-shrink:0;gap:4px;padding:8px 12px;display:flex;overflow-x:auto}.profile-section-nav button{color:var(--muted);white-space:nowrap;border-radius:6px;flex:1 0 auto;padding:9px 10px;font-size:11px}.profile-section-nav button:hover,.profile-section-nav button:focus-visible{color:var(--green);background:var(--accent-soft)}.profile-section-nav button:focus-visible{outline:2px solid var(--green);outline-offset:-2px}.person-profile.profile-organized .panel-body{min-height:0;padding:24px;overflow-y:auto}.profile-organized [data-profile-section]{min-width:0;scroll-margin-top:20px}.profile-organized [data-profile-section]:focus-visible{outline:2px solid var(--green);outline-offset:4px;border-radius:8px}.person-profile.profile-organized .profile-introduction{border:0;align-items:flex-start;gap:16px;margin:0;padding:0 0 20px;display:flex}.person-profile.profile-organized .profile-introduction .avatar.large{width:64px;height:64px;margin:0;font-size:23px}.person-profile.profile-organized .profile-introduction h2{overflow-wrap:anywhere;margin:4px 0 10px;font:27px/1.15 Georgia,serif}.profile-organized .profile-introduction-text{min-width:0}.person-profile.profile-organized .profile-introduction p{margin:4px 0;font-size:12px;line-height:1.6}.profile-organized .explore-family-button{margin:0 0 10px;font-size:11px}.profile-organized .confidence-badge{margin-bottom:5px;font-size:10px}.profile-organized .life-timeline{margin:0 0 24px;padding:18px}.person-profile.profile-organized .person-details-form{display:block}.person-profile.profile-organized .person-media{border:0;margin:0;padding:0;position:static}.profile-organized .person-media>.section-heading{display:none}.profile-edit-section{border:1px solid var(--line);background:var(--surface);border-radius:12px;margin:0 0 20px;padding:20px}.profile-edit-section>header{margin-bottom:20px}.profile-edit-section>header h3{color:var(--green);margin:0;font:21px Georgia,serif}.profile-edit-section>header p{color:var(--muted);margin:7px 0 0;font-size:12px;line-height:1.6}.profile-subheading{border-top:1px solid var(--line);color:var(--green);margin:20px 0 14px;padding-top:18px;font-size:12px}.profile-field-grid{grid-template-columns:minmax(0,1fr);gap:16px;display:grid}.person-profile.profile-organized .profile-detail-fields label{margin:0 0 16px;font-size:12px;line-height:1.5;display:block}.person-profile.profile-organized .profile-field-grid label{margin-bottom:0}.person-profile.profile-organized .profile-detail-fields input,.person-profile.profile-organized .profile-detail-fields textarea,.person-profile.profile-organized .profile-detail-fields select{border-radius:7px;width:100%;min-width:0;margin-top:6px;padding:10px 12px;font-size:13px}.person-profile.profile-organized .profile-detail-fields input[type=range]{padding:0}.profile-organized .profile-detail-fields small{color:var(--muted);margin-top:6px;font-size:11px;line-height:1.5;display:block}.life-date-pair{grid-column:1/-1;gap:12px;display:grid}.profile-organized .immigration-fields{border-radius:8px;grid-column:1/-1;margin:0;padding:14px}.profile-organized .immigration-fields label{margin-top:12px}.profile-organized .research-confidence{background:0 0;border:0;margin:0;padding:0}.profile-organized .research-confidence legend{margin-bottom:12px;padding:0;font:14px Georgia,serif}.profile-save-bar{z-index:3;background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin:0 -24px 24px;padding:14px 24px;display:flex;position:sticky;bottom:-24px;box-shadow:0 -5px 20px #182c2408}.profile-save-bar .draft-status{margin:0;font-size:11px}.profile-save-bar .profile-save-actions{gap:8px;margin-left:auto}.person-profile.profile-organized .profile-family-section{margin:0;padding:20px}.person-profile.profile-organized .family-section-grid{grid-template-columns:minmax(0,1fr);gap:18px}.profile-organized .family-section-header{margin-bottom:18px}.profile-link-existing{border-top:1px solid var(--line);padding-top:14px}.profile-link-existing summary{cursor:pointer;color:var(--green);font-size:12px;line-height:1.6}.person-profile.profile-organized .family-relationship-form{margin-top:14px;padding:14px}.profile-organized .profile-danger-footer{margin-top:20px}@media (min-width:751px){.profile-organized.expanded .panel-body{padding:32px}.profile-organized.expanded .profile-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-organized.expanded .life-date-pair{grid-template-columns:1fr 1fr;align-items:start}.profile-organized.expanded .profile-save-bar{margin-left:-32px;margin-right:-32px;padding-left:32px;padding-right:32px;bottom:-32px}.profile-organized.expanded .media-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:450px){.person-profile.profile-organized .panel-body,.profile-organized .profile-edit-section{padding:16px}.profile-save-bar{margin-left:-16px;margin-right:-16px;padding:12px 16px;bottom:-16px}.profile-section-nav{padding:6px}}.profile-organized .profile-mode[hidden]{display:none}.profile-mode-button{border:1px solid var(--line);color:var(--green);background:var(--accent-soft);white-space:nowrap;border-radius:7px;padding:8px 12px;font-size:11px}.profile-section-nav button[aria-current=location]{color:var(--green);background:var(--accent-soft);box-shadow:inset 0 -2px var(--green)}.profile-organized .profile-panel-controls{gap:6px}.person-profile.profile-organized .profile-introduction .avatar.large{width:80px;height:80px;font-size:28px}.person-profile.profile-organized.expanded .profile-introduction .avatar.large{width:100px;height:100px;font-size:34px}.reader-section-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.reader-section-heading button{color:var(--green);text-underline-offset:4px;padding:8px 0;font-size:12px;text-decoration:underline}.profile-facts{gap:14px;margin:0;display:grid}.profile-facts>div{gap:4px;display:grid}.profile-facts dt{color:var(--muted);font-size:11px}.profile-facts dd{overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.6}.profile-empty-prompt,.reader-source{color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.8}.reader-story+.reader-story{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}.reader-story h4{margin:0 0 10px;font:17px Georgia,serif}.reader-story p,.story-excerpt{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);font-size:13px;line-height:1.8}.reader-story p{margin:0}.reader-story summary{cursor:pointer;list-style:none}.reader-story summary::-webkit-details-marker{display:none}.story-excerpt{display:block}.story-more,.story-less{color:var(--green);text-underline-offset:4px;padding:10px 0;font-size:12px;text-decoration:underline;display:inline-block}.story-less,.reader-story details[open] .story-more,.reader-story details[open] .story-excerpt{display:none}.reader-story details[open] .story-less{display:inline-block}.reader-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.reader-gallery-item{text-align:left;flex-direction:column;align-items:stretch;gap:7px;min-width:0;display:flex}.reader-thumbnail{aspect-ratio:4/3;background:var(--surface-muted);border:1px solid var(--line);border-radius:8px;justify-content:center;align-items:center;display:flex;overflow:hidden}.reader-thumbnail img{object-fit:cover;width:100%;height:100%;transition:transform .16s}.reader-gallery-item:hover img{transform:scale(1.035)}.reader-caption{color:var(--muted);overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;display:-webkit-box;overflow:hidden}.reader-portrait-badge{color:var(--green);background:var(--accent-soft);border-radius:4px;align-self:flex-start;padding:3px 7px;font-size:10px}.reader-document{color:var(--green);font:22px Georgia,serif}.reader-view-all{margin-top:16px}.gallery-navigation{color:var(--muted);align-items:center;gap:14px;font-size:12px;display:flex}.gallery-navigation button{min-width:40px;min-height:40px}.media-preview-footer{flex-wrap:wrap}.profile-draft-notice{border:1px solid var(--line);background:var(--accent-soft);border-radius:8px;margin-bottom:18px;padding:12px;font-size:12px;line-height:1.6}.profile-draft-notice button{color:var(--green);text-decoration:underline}.profile-organized button{transition:background-color .14s,color .14s}.profile-organized button:focus-visible,.profile-organized summary:focus-visible{outline:2px solid var(--green);outline-offset:3px;border-radius:4px}.profile-organized button:disabled{opacity:.5;cursor:not-allowed}.profile-organized .profile-panel-controls button{min-height:36px}@media (min-width:751px){.profile-organized.expanded .reader-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-organized.expanded .profile-facts{grid-template-columns:1fr 1fr}}@media (max-width:450px){.profile-organized .profile-expand-button span{display:none}.person-profile.profile-organized .profile-introduction .avatar.large{width:64px;height:64px}.profile-organized>.panel-heading{gap:6px;padding:12px}.profile-mode-button{padding:8px}}@media (prefers-reduced-motion:reduce){.profile-organized button,.reader-thumbnail img{transition:none}}.relative-group{border-bottom:1px solid var(--line);padding-bottom:12px}.relative-group:last-child{border-bottom:0}.relative-group>summary{cursor:pointer;color:var(--green);padding:10px 0;font-size:12px}.relative-group>summary span{color:var(--muted);margin-left:8px;font-size:11px}.relative-group-list{gap:8px;padding-top:6px;display:grid}@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-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}
