@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Playfair+Display:wght@400;600;700&display=swap";@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Playfair+Display:wght@400;600;700&display=swap";@media (max-width:768px){.nav-bar{height:56px!important;padding:0 12px!important}.nav-links{gap:4px!important}.nav-links button{padding:6px 10px!important;font-size:12px!important}.nav-logo-text{display:none!important}.nav-sign-out{padding:6px 10px!important;font-size:12px!important}.nav-admin-icon{padding:4px!important;font-size:16px!important}.chat-wrapper{flex-direction:column!important;height:calc(100vh - 100px)!important;margin:0 8px!important}.chat-sidebar{border-bottom:1px solid #eee!important;border-right:none!important;flex-shrink:0!important;width:100%!important;height:120px!important}.chat-sidebar h3{padding:10px 15px!important;font-size:14px!important}.chat-user-list{white-space:nowrap!important;flex-direction:row!important;gap:6px!important;padding:6px 10px!important;display:flex!important;overflow:auto hidden!important}.chat-user-item{flex-shrink:0!important;min-width:auto!important;padding:8px 12px!important;font-size:12px!important}.chat-input-area{padding:10px!important}.chat-input-area input{font-size:14px!important}.edit-modal{border-radius:0!important;width:100%!important;max-width:100%!important;height:100vh!important;max-height:100vh!important}.edit-modal .grid-2col{grid-template-columns:1fr!important}.dashboard-grid,.stats-grid{grid-template-columns:1fr!important}.members-table{font-size:12px!important;display:block!important;overflow-x:auto!important}.quick-add-modal{border-radius:0!important;width:100%!important;max-width:100%!important;height:100vh!important;max-height:100vh!important;overflow-y:auto!important}.tree-controls button{padding:6px 12px!important;font-size:12px!important}.auth-card{max-width:100%!important;box-shadow:none!important;border:none!important;border-radius:0!important;flex-direction:column!important;justify-content:center!important;min-height:100vh!important;display:flex!important}body{-webkit-text-size-adjust:100%}input,select,textarea,button{font-size:16px!important}nav{gap:5px!important;height:50px!important;padding:0 10px!important}nav h2{display:none!important}nav>div:first-child>div:first-child{width:32px!important;height:32px!important;font-size:16px!important}nav button{border-radius:14px!important;padding:5px 8px!important;font-size:11px!important}nav>div:last-child button{padding:4px 8px!important;font-size:10px!important}nav>div:last-child>div{padding:4px!important;font-size:16px!important}.chat-wrapper{border:none!important;border-radius:0!important;flex-direction:column!important;height:calc(100vh - 70px)!important;margin:0!important}.chat-sidebar{border-bottom:1px solid #eee!important;border-right:none!important;flex-shrink:0!important;width:100%!important;min-height:80px!important;max-height:100px!important}.chat-sidebar h3{display:none!important}.chat-user-list{flex-direction:row!important;align-items:center!important;gap:4px!important;height:100%!important;padding:8px!important;display:flex!important;overflow:auto hidden!important}.chat-user-item{text-align:center!important;flex-direction:column!important;flex-shrink:0!important;gap:4px!important;min-width:60px!important;padding:6px 10px!important;font-size:10px!important}.chat-user-item span:first-child{width:28px!important;height:28px!important;font-size:10px!important}.chat-user-item>div>span:last-child{display:none!important}.chat-body{flex:1!important;min-height:0!important}.chat-input-area{gap:8px!important;padding:8px!important}.chat-input-area input{padding:10px!important;font-size:14px!important}.chat-input-area button{padding:0 14px!important;font-size:13px!important}.chat-wrapper>div:nth-child(2)>div:first-child{padding:8px 12px!important;font-size:12px!important}.edit-modal{border-radius:0!important;width:100vw!important;max-width:100vw!important;height:100vh!important;max-height:100vh!important;margin:0!important}.grid-2col{grid-template-columns:1fr!important;gap:12px!important}.edit-modal>div:nth-child(2) button{padding:10px 8px!important;font-size:12px!important}.edit-modal-footer{flex-wrap:wrap!important;gap:8px!important;padding:12px!important}.edit-modal-footer button{padding:10px 14px!important;font-size:12px!important}.edit-modal img:first-of-type{width:60px!important;height:60px!important}.dashboard-container{padding:16px!important}.dashboard-header{flex-direction:column!important;align-items:flex-start!important;gap:10px!important}.dashboard-header h1{font-size:20px!important}.dashboard-grid{grid-template-columns:1fr!important;gap:12px!important}.stats-grid{grid-template-columns:1fr!important;gap:10px!important}.members-table{white-space:nowrap!important;font-size:11px!important;display:block!important;overflow-x:auto!important}.members-table th,.members-table td{padding:8px 6px!important}.dashboard-container>div{padding:14px!important}.quick-add-modal{border-radius:0!important;width:100vw!important;max-width:100vw!important;height:100vh!important;max-height:100vh!important;padding:20px!important;overflow-y:auto!important}.quick-add-modal h2{font-size:20px!important}.tree-controls{top:8px!important;right:8px!important}.tree-controls button,.tree-controls label{padding:6px 10px!important;font-size:11px!important}.fab-button{width:48px!important;height:48px!important;font-size:22px!important;bottom:16px!important;right:16px!important}.react-flow__controls{bottom:8px!important;left:8px!important}.react-flow__controls button{width:24px!important;height:24px!important}.react-flow__minimap{width:100px!important;height:60px!important}.auth-card{width:100%!important;max-width:100%!important;box-shadow:none!important;border:none!important;border-radius:0!important;flex-direction:column!important;justify-content:center!important;min-height:100vh!important;padding:24px!important;display:flex!important}.media-vault-container{padding:16px!important}.media-vault-header{flex-direction:column!important;align-items:flex-start!important;gap:12px!important}.media-vault-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))!important;gap:12px!important}input,select,textarea{font-size:16px!important}button{min-height:36px!important}*{-webkit-overflow-scrolling:touch}body{-webkit-text-size-adjust:100%;overflow-x:hidden!important}.chat-wrapper{box-shadow:none!important}}@media (max-width:380px){nav button{padding:4px 6px!important;font-size:10px!important}.chat-user-item{min-width:50px!important;font-size:9px!important}.edit-modal-footer button{padding:8px 10px!important;font-size:11px!important}}@media (max-width:768px){nav{gap:5px!important;height:50px!important;padding:0 10px!important}nav h2{display:none!important}nav>div:first-child>div:first-child{width:32px!important;height:32px!important;font-size:16px!important}nav button{border-radius:14px!important;padding:5px 8px!important;font-size:11px!important}nav>div:last-child button{padding:4px 8px!important;font-size:10px!important}nav>div:last-child>div{padding:4px!important;font-size:16px!important}.chat-wrapper{border:none!important;border-radius:0!important;flex-direction:column!important;height:calc(100vh - 70px)!important;margin:0!important}.chat-sidebar{border-bottom:1px solid #eee!important;border-right:none!important;flex-shrink:0!important;width:100%!important;min-height:80px!important;max-height:100px!important}.chat-sidebar h3{display:none!important}.chat-user-list{flex-direction:row!important;align-items:center!important;gap:4px!important;height:100%!important;padding:8px!important;display:flex!important;overflow:auto hidden!important}.chat-user-item{text-align:center!important;flex-direction:column!important;flex-shrink:0!important;gap:4px!important;min-width:60px!important;padding:6px 10px!important;font-size:10px!important}.chat-user-item span:first-child{width:28px!important;height:28px!important;font-size:10px!important}.chat-user-item>div>span:last-child{display:none!important}.chat-body{flex:1!important;min-height:0!important}.chat-input-area{gap:8px!important;padding:8px!important}.chat-input-area input{padding:10px!important;font-size:14px!important}.chat-input-area button{padding:0 14px!important;font-size:13px!important}.chat-wrapper>div:nth-child(2)>div:first-child{padding:8px 12px!important;font-size:12px!important}.edit-modal{border-radius:0!important;width:100vw!important;max-width:100vw!important;height:100vh!important;max-height:100vh!important;margin:0!important}.grid-2col{grid-template-columns:1fr!important;gap:12px!important}.edit-modal>div:nth-child(2) button{padding:10px 8px!important;font-size:12px!important}.edit-modal-footer{flex-wrap:wrap!important;gap:8px!important;padding:12px!important}.edit-modal-footer button{padding:10px 14px!important;font-size:12px!important}.edit-modal img:first-of-type{width:60px!important;height:60px!important}.dashboard-container{padding:16px!important}.dashboard-header{flex-direction:column!important;align-items:flex-start!important;gap:10px!important}.dashboard-header h1{font-size:20px!important}.dashboard-grid{grid-template-columns:1fr!important;gap:12px!important}.stats-grid{grid-template-columns:1fr!important;gap:10px!important}.members-table{white-space:nowrap!important;font-size:11px!important;display:block!important;overflow-x:auto!important}.members-table th,.members-table td{padding:8px 6px!important}.dashboard-container>div{padding:14px!important}.quick-add-modal{border-radius:0!important;width:100vw!important;max-width:100vw!important;height:100vh!important;max-height:100vh!important;padding:20px!important;overflow-y:auto!important}.quick-add-modal h2{font-size:20px!important}.tree-controls{top:8px!important;right:8px!important}.tree-controls button,.tree-controls label{padding:6px 10px!important;font-size:11px!important}.fab-button{width:48px!important;height:48px!important;font-size:22px!important;bottom:16px!important;right:16px!important}.react-flow__controls button{width:24px!important;height:24px!important}.react-flow__minimap{width:100px!important;height:60px!important}.auth-card{width:100%!important;max-width:100%!important;box-shadow:none!important;border:none!important;border-radius:0!important;flex-direction:column!important;justify-content:center!important;min-height:100vh!important;padding:24px!important;display:flex!important}.media-vault-container{padding:16px!important}.media-vault-header{flex-direction:column!important;align-items:flex-start!important;gap:12px!important}.media-vault-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))!important;gap:12px!important}input,select,textarea{font-size:16px!important}button{min-height:36px!important}*{-webkit-overflow-scrolling:touch}body{-webkit-text-size-adjust:100%;overflow-x:hidden!important}.chat-wrapper{box-shadow:none!important}.react-flow{touch-action:none!important;width:100%!important;height:100%!important}.react-flow__controls{bottom:70px!important;left:8px!important}.react-flow__controls button{width:32px!important;height:32px!important;font-size:16px!important}.react-flow__minimap{display:none!important}.react-flow__renderer,.react-flow__viewport{width:100%!important;height:100%!important}.react-flow__node{transform-origin:50%!important}}@media (max-width:380px){nav button{padding:4px 6px!important;font-size:10px!important}.chat-user-item{min-width:50px!important;font-size:9px!important}.edit-modal-footer button{padding:8px 10px!important;font-size:11px!important}}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}:root{--color-cream:#f9f7f2;--color-forest:#2f5233;--color-gold:#d4a373;--color-text:#1a1a1a}body{background-color:var(--color-cream);color:var(--color-text);margin:0;padding:0;font-family:DM Sans,sans-serif;overflow:hidden}.family-node{border:2px solid var(--color-gold);text-align:center;cursor:grab;background:#fff;border-radius:12px;min-width:160px;padding:15px;transition:transform .2s,box-shadow .2s;box-shadow:0 4px 12px #0000001a}.family-node:hover{border-color:var(--color-forest);transform:translateY(-2px);box-shadow:0 8px 16px #2f523326}.family-node img{object-fit:cover;border:3px solid var(--color-cream);border-radius:50%;width:70px;height:70px;margin-bottom:10px;box-shadow:0 2px 4px #0000001a}.family-node strong{color:var(--color-forest);margin-bottom:4px;font-family:Playfair Display,serif;font-size:16px;display:block}.react-flow{direction:ltr}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1px;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:-webkit-grab;cursor:grab;position:absolute}.react-flow__node.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:-webkit-grab;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background:#1a192b;border:1px solid #fff;border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:-4px;left:50%;transform:translate(-50%)}.react-flow__handle-top{top:-4px;left:50%;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{top:50%;right:-4px;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{background:#ffffff80;margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{color:#222;text-align:center;background-color:#fff;border:1px solid #1a192b;border-radius:3px;width:150px;padding:10px;font-size:12px}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted #0059dccc}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{box-sizing:content-box;cursor:pointer;-webkit-user-select:none;user-select:none;background:#fefefe;border:none;border-bottom:1px solid #eee;justify-content:center;align-items:center;width:16px;height:16px;padding:5px;display:flex}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:#3367d9;border:1px solid #fff;border-radius:1px;width:4px;height:4px;transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border:0 solid #3367d9}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}
