@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Serif+Bengali:wght@500;600;700&display=swap";*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.\!visible{visibility:visible!important}.visible{visibility:visible}.relative{position:relative}.inline-block{display:inline-block}.flex{display:flex}.hidden{display:none}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.border{border-width:1px}.overline{text-decoration-line:overline}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:root{font-family:DM Sans,sans-serif;color:#163b2a;background:#eef5ee;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{width:100%;max-width:100%;min-height:100%;margin:0;overflow-x:hidden}body{min-width:320px}a{color:inherit;text-decoration:none}button,select,input{font:inherit}button{cursor:pointer}.gallery-shell,.timeline-shell{width:100%;max-width:100%;min-width:0;overflow-x:hidden}.homepage-shell{position:relative;display:flex;width:100%;max-width:100%;min-width:0;min-height:100vh;flex-direction:column;isolation:isolate;background:#edf5ed;overflow-x:hidden}.hero-backdrop,.hero-wash{position:absolute;inset:0;z-index:-2}.hero-backdrop{background-image:url(/WhatsApp_Image_2026-11-01_at_1.14.02_AM.jpeg);background-position:center;background-size:cover}.hero-wash{z-index:-1;background:linear-gradient(90deg,#082819c2,#09301e7a 42%,#09301e1a 78%),linear-gradient(180deg,#05221654,#08251824,#051e13b8)}.site-header{display:flex;align-items:center;justify-content:space-between;width:min(100% - 64px,1240px);margin:0 auto;padding:24px 0}.brand-lockup{display:block;width:108px;height:108px;border-radius:50%;box-shadow:0 12px 32px #031d1138;transition:transform .18s ease,box-shadow .18s ease;flex-shrink:0}.brand-lockup:hover{transform:translateY(-2px);box-shadow:0 16px 36px #031d114d}.brand-logo{display:block;width:100%;height:100%;border-radius:50%;-o-object-fit:cover;object-fit:cover}.header-actions{display:flex;align-items:center;gap:12px}.text-link,.signup-button,.language-picker{display:inline-flex;align-items:center;gap:8px;min-height:44px;border:0;border-radius:999px;font-size:.92rem;font-weight:600;transition:background-color .18s ease,border-color .18s ease,transform .18s ease}.text-link{padding:0 16px;color:#fff;background:transparent}.text-link:hover{background:#ffffff24}.signup-button{padding:0 20px;color:#123d29;background:#fff;box-shadow:0 8px 20px #0323151f}.signup-button:hover{background:#edf8ee;transform:translateY(-1px)}.language-picker{position:relative;padding:0 13px;color:#fff;border:1px solid rgba(255,255,255,.38);background:#072b1b38}.language-picker:hover{background:#072b1b6b}.language-picker select{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;color:inherit;border:0;outline:0;background:transparent;padding-right:4px;font-size:.88rem;font-weight:600}.language-picker option{color:#163b2a;background:#fff}.hero-content{display:flex;flex:1;align-items:center;width:min(100% - 64px,1240px);margin:0 auto;padding:72px 0 120px}.hero-copy{max-width:650px;color:#fff}.hero-kicker{display:flex;align-items:center;gap:12px;margin-bottom:18px;color:#d9f3d9;font-size:.76rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.kicker-line{width:38px;height:1px;background:#bde5bd}.hero-copy h1{max-width:620px;margin:0;font-family:"Noto Serif Bengali",serif;font-size:clamp(2.8rem,6vw,5.6rem);font-weight:600;letter-spacing:-.04em;line-height:1.18;text-wrap:balance}.hero-description{max-width:500px;margin:18px 0 0;color:#f3faf1;font-size:1.03rem;line-height:1.7}.site-footer{display:flex;align-items:center;justify-content:center;gap:18px;width:min(100% - 64px,1240px);margin:0 auto;padding:0 0 20px;color:#eff9ed;font-family:"Noto Serif Bengali",serif;font-size:.9rem}.site-footer p{margin:0}.footer-rule{width:54px;height:1px;background:#e1f6dd99}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.auth-shell{display:grid;width:100%;max-width:100%;min-width:0;min-height:100vh;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);background:#f7fbf7;overflow-x:hidden}.auth-image-panel{position:relative;display:flex;min-height:100vh;flex-direction:column;justify-content:space-between;overflow:hidden;padding:34px 48px;color:#fff;background:url(/WhatsApp_Image_2026-11-01_at_1.14.02_AM.jpeg) center / cover}.auth-image-overlay{position:absolute;inset:0;background:linear-gradient(180deg,#05281959,#052518d1)}.auth-brand,.auth-image-copy{position:relative;z-index:1}.auth-brand{display:block;width:106px;height:106px;border-radius:50%;box-shadow:0 12px 30px #001e0f40}.auth-brand img{display:block;width:100%;height:100%;border-radius:inherit;-o-object-fit:cover;object-fit:cover}.auth-image-copy p{max-width:410px;margin:0;font-family:"Noto Serif Bengali",serif;font-size:clamp(2rem,4vw,4rem);line-height:1.25}.auth-image-copy span{display:block;margin-top:20px;color:#d4ebd4;font-size:.95rem}.auth-form-panel{display:flex;flex-direction:column;padding:38px clamp(28px,7vw,100px)}.back-home{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;padding:7px 0;color:#547263;border:0;background:transparent;font-size:.88rem}.back-home:hover{color:#155b3b}.auth-form-content{width:min(100%,450px);margin:auto}.auth-heading-icon{display:grid;width:48px;height:48px;place-items:center;border-radius:14px;color:#155b3b;background:#e5f2e5}.auth-overline{margin:22px 0 10px;color:#155b3b;font-size:.8rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase}.auth-form-content h1{margin:0;color:#173c2b;font-family:"Noto Serif Bengali",serif;font-size:clamp(2rem,4vw,3.1rem);font-weight:600;line-height:1.25}.auth-subtitle{margin:12px 0 28px;color:#63776b;line-height:1.6}.auth-form{display:grid;gap:17px}.field-label{display:grid;gap:8px;color:#315340;font-size:.87rem;font-weight:600}.field-label input{width:100%;height:48px;padding:0 15px;color:#173c2b;border:1px solid #d4e2d6;border-radius:10px;outline:none;background:#fff;transition:border-color .16s ease,box-shadow .16s ease}.field-label input:focus{border-color:#4c9967;box-shadow:0 0 0 4px #4c996721}.password-field{position:relative;display:block}.password-field input{padding-right:48px}.password-toggle{position:absolute;top:50%;right:4px;display:grid;width:40px;height:40px;place-items:center;color:#688074;border:0;background:transparent;transform:translateY(-50%)}.password-toggle:hover{color:#155b3b}.form-message{display:flex;align-items:center;gap:7px;margin:0;padding:11px 13px;border-radius:9px;font-size:.86rem;line-height:1.5}.form-error{color:#8a302d;background:#fbeceb}.form-success{color:#24633b;background:#e8f5ea}.auth-submit{display:flex;align-items:center;justify-content:center;gap:9px;height:50px;margin-top:4px;color:#fff;border:0;border-radius:10px;background:#155b3b;box-shadow:0 8px 18px #155b3b2e;font-weight:700;transition:background-color .16s ease,transform .16s ease}.auth-submit:hover{background:#0d482d;transform:translateY(-1px)}.auth-submit:disabled{cursor:wait;opacity:.65;transform:none}.auth-switch{margin:25px 0 0;color:#718178;font-size:.88rem;text-align:center}.auth-switch button{padding:0;color:#155b3b;border:0;background:transparent;font-weight:700}.auth-switch button:hover{text-decoration:underline}.auth-switch.otp-actions{display:flex;flex-direction:column;gap:12px}.auth-switch.otp-actions button{font-weight:600}.otp-resend-cooldown{opacity:.55;cursor:not-allowed}.otp-input{font-size:1.4rem!important;font-weight:700!important;letter-spacing:.4em!important;text-align:center!important;height:56px!important}.segmented-date{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.field-label .segmented-date-select,.segmented-date-select{height:48px;padding:0 28px 0 10px;font-size:.88rem;font-weight:500;color:#173c2b;border:1px solid #d4e2d6;border-radius:10px;outline:none;background:#fff;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236a7e70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;width:auto;min-width:70px}.field-label .segmented-date-select:focus,.segmented-date-select:focus{border-color:#4c9967;box-shadow:0 0 0 4px #4c996721}.field-label .segmented-date-select:disabled,.segmented-date-select:disabled{opacity:.6;cursor:not-allowed}.segmented-date-month{min-width:120px!important;flex:1 1 120px}.segmented-date-year{min-width:96px!important}.segmented-date-select option{color:#173c2b}.auth-loading{display:grid;min-height:100vh;place-items:center;color:#155b3b;background:#f7fbf7;font-family:"Noto Serif Bengali",serif}.dashboard-shell,.profile-shell{width:100%;max-width:100%;min-width:0;min-height:100vh;background:#f4f8f4;overflow-x:hidden}.dashboard-header,.profile-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;height:auto;min-height:82px;padding:12px max(24px,calc((100% - 1240px)/2));border-bottom:1px solid #e0eae1;background:#ffffffe6}.dashboard-brand{display:inline-flex;align-items:center;gap:10px;padding:0;color:#155b3b;border:0;background:transparent;font-family:"Noto Serif Bengali",serif;font-size:1.3rem;font-weight:700;min-width:0}.dashboard-tagline{display:block;width:100%;font-size:.72rem;font-weight:400;color:#6a7e70;font-family:Noto Sans Bengali,sans-serif}.dashboard-brand img{width:48px;height:48px;border-radius:50%;-o-object-fit:cover;object-fit:cover}.dashboard-actions{display:flex;align-items:center;gap:10px}.profile-button,.logout-button,.icon-button,.back-dashboard{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 13px;border:1px solid #dbe7dd;border-radius:9px;background:#fff;color:#315340;font-size:.84rem;font-weight:600}.profile-button-avatar{width:26px;height:26px;border-radius:50%;-o-object-fit:cover;object-fit:cover;flex-shrink:0}.profile-button:hover,.icon-button:hover,.back-dashboard:hover{color:#155b3b;border-color:#a6c9ad;background:#f3faf3}.logout-button{color:#8b3d38;border-color:#f0d6d3;background:#fff8f7}.logout-button:hover{background:#fbeceb}.dashboard-welcome{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;width:min(100% - 48px,1240px);margin:0 auto;padding:58px 0 36px}.dashboard-overline,.panel-eyebrow{margin:0 0 8px;color:#4c8a5d;font-size:.76rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.dashboard-welcome h1{margin:0;color:#173c2b;font-family:"Noto Serif Bengali",serif;font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.3}.dashboard-welcome p:not(.dashboard-overline){margin:10px 0 0;color:#6a7e70;line-height:1.6}.dashboard-stat{min-width:160px;padding:18px 20px;border:1px solid #dce8de;border-radius:13px;background:#fff}.dashboard-stat span{display:block;color:#6a7e70;font-size:.8rem}.dashboard-stat strong{display:block;margin-top:4px;color:#155b3b;font-size:1.8rem}.tree-name-display{display:inline-flex;align-items:center;gap:6px;margin-top:6px;color:#6b8371;font-size:.82rem}.tree-name-edit-btn{display:inline-grid;place-items:center;width:22px;height:22px;color:#6a7e70;border:1px solid #dce8de;border-radius:6px;background:#f7faf7;cursor:pointer;transition:background .16s ease,color .16s ease;flex-shrink:0}.tree-name-edit-btn:hover{color:#155b3b;background:#e5f2e5;border-color:#b8dcc6}.tree-name-edit-row{display:flex;align-items:center;gap:6px;margin-top:6px}.tree-name-input{flex:1;min-width:0;height:32px;padding:0 8px;font-size:.82rem;color:#173c2b;border:1px solid #d4e2d6;border-radius:7px;outline:none;background:#fff}.tree-name-input:focus{border-color:#4c9967;box-shadow:0 0 0 3px #4c996721}.tree-name-save-btn{display:inline-grid;place-items:center;width:30px;height:30px;color:#fff;border:0;border-radius:7px;background:#155b3b;cursor:pointer;transition:background .16s ease;flex-shrink:0}.tree-name-save-btn:hover{background:#0d482d}.tree-name-save-btn:disabled{opacity:.65;cursor:wait}.tree-name-cancel-btn{display:inline-grid;place-items:center;width:30px;height:30px;color:#547263;border:1px solid #d4e2d6;border-radius:7px;background:#fff;cursor:pointer;transition:background .16s ease;flex-shrink:0}.tree-name-cancel-btn:hover{background:#f3faf3}.tree-name-status{display:block;margin-top:6px;font-size:.76rem;font-weight:600}.tree-name-status-error{color:#c5392b}.tree-name-status-success{color:#155b3b}.dashboard-workspace{display:grid;grid-template-columns:330px minmax(0,1fr);gap:24px;width:min(100% - 48px,1240px);margin:0 auto;padding-bottom:48px}.member-panel{min-height:430px;padding:26px;border:1px solid #dce8de;border-radius:16px;background:#fff;box-shadow:0 12px 30px #1b4c2a0b}.tree-panel{padding:18px 20px;border:1px solid #dce8de;border-radius:16px;background:#fff;box-shadow:0 12px 30px #1b4c2a0b}.panel-heading,.tree-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.panel-heading h2,.tree-panel-header h2{margin:0;color:#173c2b;font-size:1.15rem;font-weight:700}.panel-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:10px;color:#155b3b;background:#e5f2e5}.panel-description{margin:26px 0;color:#6a7e70;font-size:.9rem;line-height:1.7}.disabled-action{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:46px;color:#71917a;border:1px dashed #bfd5c3;border-radius:9px;background:#f5faf5;font-weight:600}.disabled-action:disabled{cursor:not-allowed}.panel-note{display:flex;gap:10px;margin-top:26px;padding:15px;color:#5e7b67;border-radius:10px;background:#f1f8f2;font-size:.8rem;line-height:1.55}.tree-status{padding:7px 10px;color:#65816d;border-radius:999px;background:#f0f6f1;font-size:.72rem;font-weight:600}.dashboard-error{width:min(100% - 48px,1240px);margin:0 auto 20px}.member-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0;padding:0;list-style:none}.member-item{display:flex;flex-direction:column;gap:0;padding:0;border:1px solid #e1ece3;border-radius:10px;background:#f7fbf7;overflow:hidden}.member-item-active{border-color:#7fb88e;box-shadow:0 0 0 3px #4c99671a}.member-row{display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;border:0;background:transparent;text-align:left}.member-row:hover{background:#ffffff80}.relation-buttons{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 12px}.relation-button{display:inline-flex;align-items:center;gap:4px;min-height:30px;padding:0 10px;color:#155b3b;border:1px solid #c8dcc9;border-radius:999px;background:#edf7ee;font-size:.76rem;font-weight:600;flex:1 1 auto}.relation-button:hover{background:#e0f0e0;border-color:#7fb88e}.relation-button:disabled{color:#a0b8a8;background:#f2f6f2;border-color:#e0e8e0;cursor:not-allowed}.member-avatar{display:grid;width:38px;height:38px;place-items:center;color:#155b3b;border-radius:50%;background:#e5f2e5}.member-info{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.member-info strong{color:#173c2b;font-size:.9rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-badge{display:inline-block;padding:2px 8px;color:#155b3b;border-radius:999px;background:#e5f2e5;font-size:.68rem;font-weight:700}.member-item-deceased{background:#1a1a1a;border-color:#333}.member-item-deceased .member-row:hover{background:#ffffff14}.member-item-deceased .member-avatar{background:#333;color:#999}.member-item-deceased .member-list-photo{filter:grayscale(1) brightness(.6)}.member-item-deceased .member-info strong{color:#fff}.member-item-deceased .member-info span{color:#ccc}.tree-canvas{display:flex;flex-direction:column;padding:20px 16px}.tree-chart-wrapper{position:relative;height:70vh;min-height:320px;display:flex;flex-direction:column}.tree-chart-scroll{overflow:auto;flex:1;min-height:0;touch-action:pan-x pan-y pinch-zoom;cursor:grab}.tree-chart-scroll:active{cursor:grabbing}.tree-chart-inner{position:relative;margin:0 auto}.tree-chart-svg{display:block;margin:0 auto}.tree-chart-node{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:2px;width:116px;height:80px;padding:6px 8px;text-align:center;border:2px solid;border-radius:10px;background:#fff;box-shadow:0 4px 12px #1b4c2a14;transition:transform .18s ease,box-shadow .18s ease;cursor:default}.tree-chart-node:hover{transform:translateY(-2px);box-shadow:0 8px 20px #1b4c2a24}.tree-chart-node[role=button]{cursor:pointer}.tree-chart-node[role=button]:active{transform:scale(.97)}.tree-chart-node strong{font-size:.72rem;font-weight:600;color:#173c2b;line-height:1.25;max-width:96px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-chart-relation{font-size:.6rem;color:#6a7e70;font-weight:500;line-height:1.25;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.field-checkbox{flex-direction:row;align-items:center;gap:8px;cursor:pointer}.field-checkbox input{width:18px;height:18px;cursor:pointer;flex-shrink:0}.field-checkbox span{font-size:.88rem;color:#315340}.tree-chart-node-self{border-width:2.5px;border-color:#1a6a43;background:linear-gradient(180deg,#f6fbf6,#edf7ee)}.tree-chart-node-self strong{color:#0d482d}.tree-chart-node-deceased{filter:grayscale(1);opacity:.85;background:#1a1a1a;border-color:#333}.tree-chart-node-deceased strong{color:#fff}.tree-chart-node-deceased span{color:#ccc}.tree-chart-node-deceased .tree-chart-photo{filter:grayscale(1) brightness(.6)}.tree-chart-badge{display:inline-block;padding:1px 7px;margin-top:1px;color:#fff;border-radius:999px;background:#155b3b;font-size:.62rem;font-weight:700}.tree-chart-avatar{display:grid;width:22px;height:22px;place-items:center;color:#fff;border-radius:50%;flex-shrink:0}.tree-edge-parent{stroke:#8bba9e;stroke-width:2.5;fill:none;stroke-linecap:round;stroke-linejoin:round}.tree-edge-spouse{stroke:#c44569;stroke-width:3;stroke-dasharray:8 5;fill:none;stroke-linecap:round}.tree-spouse-mark{fill:#c44569;stroke:#fff;stroke-width:2}.tree-zoom-controls{position:absolute;top:12px;right:12px;display:flex;flex-direction:column;gap:5px;z-index:5;align-items:center}.tree-zoom-btn{display:grid;width:34px;height:34px;place-items:center;color:#155b3b;border:1px solid #dce8de;border-radius:8px;background:#fff;box-shadow:0 2px 8px #1b4c2a14;transition:background .16s ease,transform .16s ease;cursor:pointer}.tree-zoom-btn:hover{background:#f3faf3;transform:scale(1.05)}.tree-zoom-btn:active{transform:scale(.95)}.tree-zoom-label{font-size:.65rem;color:#6a7e70;font-weight:600}.member-edit-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;color:#155b3b;border:1px solid #c8dcc9;border-radius:8px;background:#edf7ee;font-size:.78rem;font-weight:600;cursor:pointer;transition:background .16s ease;flex-shrink:0}.member-edit-btn:hover{background:#e0f0e0}.member-edit-form{display:grid;gap:14px}.member-edit-actions{display:flex;gap:10px;margin-top:4px}.member-edit-actions .modal-cancel{flex:1;height:44px}.member-edit-actions .auth-submit{flex:1;margin-top:0}.field-hint{color:#8a9990;font-size:.75rem;font-weight:400;line-height:1.4}.tree-chart-legend{display:flex;flex-wrap:wrap;gap:14px;margin:8px 4px 0;padding:0;flex-shrink:0}.legend-item{display:flex;align-items:center;gap:6px;color:#6a7e70;font-size:.76rem}.legend-dot{width:14px;height:14px;border-radius:50%;flex-shrink:0}.legend-dot.male{background:#3b6fb8}.legend-dot.female{background:#b8456a}.legend-dot.other{background:#5d7b8a}.legend-line{width:24px;height:0;border-top:2px solid #9bb8a8;flex-shrink:0}.legend-line-spouse{width:24px;height:0;border-top:3px dashed #c44569;flex-shrink:0}.tree-root-node{display:grid;justify-items:center;margin:64px auto 0;text-align:center}.tree-node-self{display:grid;justify-items:center;width:120px;padding:20px 16px;color:#fff;border-radius:16px;background:linear-gradient(180deg,#1a6a43,#0f4a2c);box-shadow:0 14px 30px #155b3b38}.tree-node-self strong{margin-top:8px;font-size:.95rem;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-node-self span{margin-top:4px;font-size:.72rem;opacity:.82}.tree-root-hint{max-width:360px;margin:22px 0 0;color:#718178;font-size:.86rem;line-height:1.7}.tree-empty-state{display:grid;max-width:420px;margin:72px auto 0;justify-items:center;text-align:center}.tree-empty-icon{display:grid;width:78px;height:78px;place-items:center;color:#4c8a5d;border:1px solid #cfe3d2;border-radius:50%;background:#f1f8f2}.tree-empty-state h3{margin:22px 0 8px;color:#315340;font-family:"Noto Serif Bengali",serif;font-size:1.25rem}.tree-empty-state p{margin:0;color:#718178;line-height:1.7;font-size:.9rem}.modal-overlay{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:#061e128c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fadeIn .16s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-card{position:relative;width:min(100%,480px);max-height:calc(100vh - 40px);overflow-y:auto;padding:32px;border-radius:18px;background:#fff;box-shadow:0 24px 60px #051e124d;animation:slideUp .2s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.modal-close{position:absolute;top:16px;right:16px;display:grid;width:36px;height:36px;place-items:center;color:#6b8371;border:0;border-radius:50%;background:#f1f6f1}.modal-close:hover{color:#155b3b;background:#e5f2e5}.modal-header{margin-bottom:24px}.modal-header h2{margin:8px 0 10px;color:#173c2b;font-family:"Noto Serif Bengali",serif;font-size:1.5rem}.modal-helper{margin:0;color:#6a7e70;font-size:.86rem;line-height:1.6}.modal-form{gap:14px}.field-label select,.field-label textarea{width:100%;color:#173c2b;border:1px solid #d4e2d6;border-radius:10px;outline:none;background:#fff;transition:border-color .16s ease,box-shadow .16s ease}.field-label select{height:48px;padding:0 15px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.field-label textarea{min-height:72px;padding:12px 15px;resize:vertical;line-height:1.5}.field-label select:focus,.field-label textarea:focus{border-color:#4c9967;box-shadow:0 0 0 4px #4c996721}.modal-actions{display:flex;gap:10px;margin-top:4px}.modal-cancel{flex:1;height:48px;color:#547263;border:1px solid #d4e2d6;border-radius:10px;background:#fff;font-weight:600}.modal-cancel:hover{background:#f3faf3}.modal-actions .auth-submit{flex:1;margin-top:0}.member-detail-card{width:min(100%,460px);max-height:calc(100vh - 40px);padding:0;overflow-y:auto}.member-detail-header{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:28px 32px 20px;background:linear-gradient(135deg,#f6fbf6,#edf7ee);border-bottom:1px solid #e1ece3}.member-detail-avatar{display:grid;width:56px;height:56px;place-items:center;color:#155b3b;border-radius:50%;background:#e5f2e5;flex-shrink:0}.member-detail-photo-btn{position:relative;width:64px;height:64px;flex-shrink:0;border:0;padding:0;border-radius:50%;cursor:pointer;overflow:hidden;background:transparent;transition:transform .18s ease}.member-detail-photo-btn:hover{transform:scale(1.05)}.member-detail-photo-btn:active{transform:scale(.97)}.member-detail-photo-btn:disabled{cursor:wait}.member-detail-photo{width:64px;height:64px;border-radius:50%;-o-object-fit:cover;object-fit:cover;display:block;border:2px solid #dce8de}.member-detail-photo-placeholder{display:grid;place-items:center;color:#fff}.member-detail-photo-overlay{position:absolute;inset:0;display:grid;place-items:center;border-radius:50%;background:#0d38208c;color:#fff;opacity:0;transition:opacity .16s ease;font-size:0}.member-detail-photo-btn:hover .member-detail-photo-overlay{opacity:1}.member-detail-photo-overlay svg{font-size:1rem}.detail-upload-error{margin:6px 0 0;color:#c5392b;font-size:.76rem;font-weight:600}.member-detail-remove-photo{display:inline-flex;align-items:center;gap:6px;margin-top:12px;padding:6px 14px;color:#c5392b;border:1px solid #f0d6d0;border-radius:8px;background:#fdf6f4;font-size:.78rem;font-weight:600;cursor:pointer;transition:background .16s ease,border-color .16s ease}.member-detail-remove-photo:hover{background:#fbeee9;border-color:#e6b9b0}.member-detail-remove-photo:disabled{cursor:wait;opacity:.65}.spin{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.tree-chart-photo,.member-list-photo{width:100%;height:100%;border-radius:50%;-o-object-fit:cover;object-fit:cover;display:block}.member-detail-name{min-width:0}.member-detail-name h2{margin:0 0 6px;color:#173c2b;font-family:"Noto Serif Bengali",serif;font-size:1.4rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:280px}.member-detail-tags{display:flex;flex-wrap:wrap;gap:6px}.detail-tag{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;color:#4a6b54;border-radius:999px;background:#fff;border:1px solid #dce8de;font-size:.74rem;font-weight:600}.detail-tag-self{color:#fff;background:#155b3b;border-color:#155b3b}.detail-tag-deceased{color:#fff;background:#1a1a1a;border-color:#333}.detail-tag-age{color:#8a6d3b;background:#fdf8ec;border-color:#f0e6c8}.member-detail-body{padding:20px 32px 28px;display:flex;flex-direction:column;gap:16px}.detail-row{display:flex;gap:12px;align-items:flex-start}.detail-label{display:flex;align-items:center;gap:6px;flex-shrink:0;width:110px;color:#6a7e70;font-size:.8rem;font-weight:600}.detail-value{color:#315340;font-size:.88rem;line-height:1.55;flex:1;min-width:0;word-break:break-word}.detail-value-bio{color:#4a6b54;line-height:1.65}.detail-value-id{font-family:monospace;font-size:.78rem;color:#6b8371;border:1px solid #e1ece3;border-radius:6px;padding:2px 8px;cursor:pointer;background:#f7faf7}.detail-value-id:hover{background:#edf7ee;border-color:#bfd5c3}.detail-relations{margin-top:4px;padding:16px 18px;border-radius:12px;background:#f7fbf7;border:1px solid #e1ece3}.detail-relations-title{margin:0 0 10px;color:#315340;font-size:.82rem;font-weight:700}.relation-row{display:flex;gap:10px;padding:7px 0;border-top:1px solid #ecf2ed;font-size:.82rem}.relation-row:first-of-type{border-top:0}.relation-relation{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;width:90px;color:#6a7e70;font-weight:600;font-size:.78rem}.relation-name{color:#173c2b;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.relation-empty{margin:0;color:#9aa8a0;font-size:.82rem;font-style:italic}.detail-tag-linked{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;font-size:.74rem;color:#155b3b;background:#e8f5ee;border-radius:20px;font-weight:600;white-space:nowrap}.invite-section{margin-top:20px;padding:18px;border:1px solid #dce8de;border-radius:12px;background:#f8fcf8}.invite-helper{font-size:.82rem;color:#6b8371;line-height:1.5;margin:0 0 14px}.invite-link-box{display:flex;align-items:center;gap:8px;margin-bottom:10px}.invite-link-box input{flex:1;min-width:0;padding:10px 12px;font-size:.82rem;color:#4a5e52;border:1px solid #d0e5d8;border-radius:8px;background:#fff}.invite-copy-btn{display:inline-flex;align-items:center;gap:6px;padding:10px 14px;font-size:.82rem;color:#155b3b;border:1px solid #b8dcc6;border-radius:8px;background:#e8f5ee;cursor:pointer;transition:all .16s ease;white-space:nowrap;flex-shrink:0}.invite-copy-btn:hover{background:#d4eddc;border-color:#6bb88f}.invite-whatsapp-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;font-size:.85rem;color:#fff;border:0;border-radius:8px;background:#25d366;cursor:pointer;transition:background .16s ease;font-weight:600}.invite-whatsapp-btn:hover{background:#1da851}.invite-share-row{display:flex;flex-wrap:wrap;gap:8px}.invite-share-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;font-size:.82rem;font-weight:600;border:0;border-radius:8px;cursor:pointer;transition:background .16s ease;color:#fff}.invite-share-whatsapp{background:#25d366}.invite-share-whatsapp:hover{background:#1da851}.invite-share-facebook{background:#1877f2}.invite-share-facebook:hover{background:#1463cc}.invite-share-email{background:#5b7c99}.invite-share-email:hover{background:#4a6b88}.invite-create-btn{margin-top:4px}.invite-status{margin-top:10px;font-size:.8rem;font-weight:500}.invite-status-pending{color:#b8860b}.invite-status-accepted{color:#155b3b}.member-delete-section{margin-top:20px;padding-top:16px;border-top:1px solid #e8f0ea}.member-delete-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;font-size:.84rem;font-weight:600;color:#c0392b;border:1px solid #f0c8c3;border-radius:10px;background:#fdf5f4;cursor:pointer;transition:background .16s ease,border-color .16s ease}.member-delete-btn:hover{background:#f9e8e6;border-color:#e6a9a0}.detail-add-relation-section{margin-top:20px}.detail-add-relation-buttons{display:flex;flex-wrap:wrap;gap:8px}.detail-add-relation-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;font-size:.82rem;font-weight:600;color:#155b3b;border:1px solid #b8dcc6;border-radius:10px;background:#e8f5ee;cursor:pointer;transition:background .16s ease,border-color .16s ease,transform .12s ease}.detail-add-relation-btn:hover:not(:disabled){background:#d4f0dd;border-color:#6bb88f;transform:translateY(-1px)}.detail-add-relation-btn:active:not(:disabled){transform:translateY(0)}.detail-add-relation-btn:disabled{opacity:.5;cursor:not-allowed}.member-delete-confirm{margin-top:20px;padding:18px;border:1px solid #f0c8c3;border-radius:12px;background:#fdf5f4}.member-delete-confirm-text{margin:0 0 14px;font-size:.88rem;color:#7d3a32;line-height:1.5}.member-delete-actions{display:flex;gap:10px}.member-delete-confirm-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;font-size:.84rem;font-weight:700;color:#fff;border:0;border-radius:8px;background:#c0392b;cursor:pointer;transition:background .16s ease}.member-delete-confirm-btn:hover{background:#a93226}.member-delete-confirm-btn:disabled{opacity:.65;cursor:wait}.invite-info-card{display:flex;flex-direction:column;gap:12px;padding:18px;margin:16px 0;border:1px solid #dce8de;border-radius:12px;background:#f8fcf8}.invite-info-row{display:flex;flex-direction:column;gap:2px}.invite-info-label{font-size:.76rem;color:#6b8371;text-transform:uppercase;letter-spacing:.05em;font-weight:600}.invite-info-row strong{color:#173c2b;font-size:1rem}.profile-content{width:min(100% - 48px,760px);margin:0 auto;padding:64px 0}.profile-intro{text-align:center}.profile-avatar{display:grid;width:76px;height:76px;place-items:center;color:#155b3b;border-radius:50%;background:#e5f2e5}.profile-avatar-btn{position:relative;width:80px;height:80px;margin:0 auto 16px;padding:0;border:0;border-radius:50%;cursor:pointer;overflow:hidden;background:transparent;transition:transform .18s ease}.profile-avatar-btn:hover{transform:scale(1.05)}.profile-avatar-btn:active{transform:scale(.97)}.profile-avatar-btn:disabled{cursor:wait}.profile-avatar-img{width:80px;height:80px;border-radius:50%;-o-object-fit:cover;object-fit:cover;display:block;border:2px solid #dce8de}.profile-avatar-overlay{position:absolute;inset:0;display:grid;place-items:center;border-radius:50%;background:#0d38208c;color:#fff;opacity:0;transition:opacity .16s ease}.profile-avatar-btn:hover .profile-avatar-overlay{opacity:1}.profile-avatar-overlay svg{font-size:1.1rem}.profile-remove-photo{display:flex;align-items:center;justify-content:center;gap:6px;margin:0 auto 14px;padding:6px 14px;color:#c5392b;border:1px solid #f0d6d0;border-radius:8px;background:#fdf6f4;font-size:.78rem;font-weight:600;cursor:pointer;transition:background .16s ease,border-color .16s ease}.profile-remove-photo:hover{background:#fbeee9;border-color:#e6b9b0}.profile-remove-photo:disabled{cursor:wait;opacity:.65}.profile-photo-error{margin:0 0 12px;text-align:center}.profile-intro h1{margin:0;color:#173c2b;font-family:"Noto Serif Bengali",serif;font-size:clamp(2rem,4vw,3rem)}.profile-intro>p:last-child{margin:10px 0 0;color:#718178;line-height:1.6}.profile-card{display:grid;gap:22px;margin-top:38px;padding:30px;border:1px solid #dce8de;border-radius:16px;background:#fff;box-shadow:0 12px 30px #1b4c2a0b}.profile-field{display:grid;gap:8px;color:#315340;font-size:.87rem;font-weight:600}.profile-input-wrap,.profile-readonly{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 14px;color:#6b8371;border:1px solid #d4e2d6;border-radius:10px;background:#fff}.profile-input-wrap:focus-within{border-color:#4c9967;box-shadow:0 0 0 4px #4c996721}.profile-input-wrap input{flex:1;min-width:0;color:#173c2b;border:0;outline:0;background:transparent}.profile-readonly{color:#6d7f74;background:#f7faf7}.profile-field small{color:#8a9990;font-size:.75rem;font-weight:400}.profile-save{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;color:#fff;border:0;border-radius:9px;background:#155b3b;font-weight:700}.profile-save:hover{background:#0d482d}.profile-save:disabled{cursor:wait;opacity:.65}.profile-section-divider{display:flex;align-items:center;gap:12px;margin:8px 0 4px}.profile-section-divider:before,.profile-section-divider:after{content:"";flex:1;height:1px;background:#e1ece3}.profile-section-divider span{font-size:.8rem;font-weight:600;color:#2d6a4f;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}.back-dashboard{color:#547263;border-color:transparent;background:transparent}.profile-header{height:82px}@media(max-width:780px){.auth-shell{display:block}.auth-image-panel{min-height:250px;padding:22px 24px}.auth-brand{width:78px;height:78px}.auth-image-copy p{font-size:1.8rem}.auth-image-copy span{margin-top:8px;font-size:.8rem}.auth-form-panel{min-height:calc(100vh - 250px);padding:24px}.auth-form-content{margin:48px auto 20px}.dashboard-header,.profile-header{padding:0 20px}.dashboard-actions{gap:6px}.dashboard-workspace{grid-template-columns:1fr}}@media(max-width:640px){.site-header,.hero-content,.site-footer{width:min(100% - 40px,1240px)}.site-header{align-items:flex-start;padding-top:20px}.brand-lockup{width:82px;height:82px}.header-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:220px}.text-link,.signup-button,.language-picker{min-height:38px;font-size:.78rem}.text-link{padding:0 10px}.signup-button{padding:0 13px}.language-picker{padding:0 10px}.hero-content{align-items:center;padding:16px 0}.hero-kicker{margin-bottom:14px;font-size:.66rem;letter-spacing:.1em}.kicker-line{width:38px}.hero-copy h1{font-size:clamp(2.3rem,11vw,3.7rem)}.hero-description{margin-top:18px;font-size:.94rem;line-height:1.7}.site-footer{gap:10px;padding-bottom:60px;font-size:.76rem;text-align:center}.footer-rule{width:24px}.hero-wash{background:linear-gradient(90deg,#082819c7,#09301e61),linear-gradient(180deg,#05221638,#051e13cc)}.dashboard-welcome,.dashboard-workspace,.profile-content{width:min(100% - 32px,1240px)}.dashboard-welcome{align-items:flex-start;flex-direction:column;padding:38px 0 26px}.dashboard-stat{width:100%}.member-panel,.profile-card{padding:20px}.tree-panel{padding:16px}.tree-canvas{padding:16px 10px}.tree-chart-wrapper{height:70vh;min-height:280px}.tree-empty-state{margin-top:52px}.modal-card{padding:24px}.modal-header h2{font-size:1.3rem}.member-detail-card{padding:0}.member-detail-header{padding:22px 24px 16px}.member-detail-body{padding:16px 24px 22px;gap:12px}.member-detail-name h2{font-size:1.2rem;max-width:200px}.member-detail-photo-btn,.member-detail-photo{width:56px;height:56px}.detail-label{width:90px;font-size:.76rem}.dashboard-brand span{display:none}.back-dashboard{padding:0;font-size:.76rem}.profile-content{padding:40px 0}}.tree-modal-overlay{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:24px;background:#061e1299;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fadeIn .16s ease}.tree-modal{position:relative;width:min(100%,1100px);max-height:calc(100vh - 48px);display:flex;flex-direction:column;border-radius:18px;background:#fff;box-shadow:0 24px 60px #051e124d;animation:slideUp .2s ease;overflow:hidden}.tree-modal-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:22px 28px;border-bottom:1px solid #e1ece3;background:linear-gradient(135deg,#f6fbf6,#edf7ee)}.tree-modal-header h2{margin:4px 0 0;color:#173c2b;font-family:"Noto Serif Bengali",serif;font-size:1.35rem}.tree-modal-title-row{display:flex;align-items:center;gap:8px}.tree-modal-title-row .tree-name-edit-btn{margin-top:4px}.tree-modal-header-info{display:flex;align-items:center;gap:16px}.tree-crest-btn{flex-shrink:0;width:64px;height:64px;border-radius:50%;border:2px dashed #a3c4a8;background:#f0f7f1;display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;transition:border-color .2s,box-shadow .2s;padding:0}.tree-crest-btn:hover:not(:disabled){border-color:#5d8c6b;box-shadow:0 0 0 3px #5d8c6b26}.tree-crest-btn:disabled{cursor:default;opacity:.6}.tree-crest-img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:50%}.tree-crest-placeholder{color:#7ba388;display:flex;align-items:center;justify-content:center}.tree-crest-remove{display:inline-flex;align-items:center;gap:4px;margin-top:6px;background:none;border:none;color:#b8546a;font-size:.75rem;cursor:pointer;padding:2px 0;transition:opacity .2s}.tree-crest-remove:hover:not(:disabled){opacity:.7}.tree-crest-remove:disabled{opacity:.5;cursor:default}.tree-crest-error{color:#b8546a;font-size:.75rem;margin:4px 0 0}.tree-modal-close{display:grid;width:38px;height:38px;place-items:center;color:#6b8371;border:0;border-radius:50%;background:#f1f6f1;cursor:pointer;transition:background .16s ease,color .16s ease;flex-shrink:0}.tree-modal-close:hover{color:#155b3b;background:#e5f2e5}.tree-modal-body{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;padding:24px 28px;overflow-y:auto;flex:1}.tree-modal-body-view,.tree-modal-body-add{grid-template-columns:1fr}@media(max-width:780px){.tree-modal-body,.member-list{grid-template-columns:1fr}}@media(max-width:640px){.tree-modal{width:min(100%,100vw);max-height:100vh;border-radius:0}.tree-modal-header,.tree-modal-body{padding:16px 20px}}.gallery-shell{--gallery-green: #2d6a4f}.back-button{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;color:#2d6a4f;font-size:.9rem;font-weight:500;border:1px solid #d0e5d8;border-radius:10px;background:#fff;cursor:pointer;transition:all .18s ease}.back-button:hover{background:#f1f8f3;border-color:#a8d5b8}.gallery-hero .hero-eyebrow{font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;color:#2d6a4f;font-weight:600;margin:0 0 8px}.gallery-filter-select{margin-top:8px;padding:8px 12px;font-size:.85rem;border:1px solid #d0e5d8;border-radius:8px;background:#fff;color:#2d4a3a;cursor:pointer;max-width:100%}.gallery-grid-section{padding:0 28px 60px}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}.gallery-card{display:flex;flex-direction:column;border:1px solid #e1ece3;border-radius:14px;overflow:hidden;background:#fff;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;text-align:left}.gallery-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #051e121f;border-color:#b8dcc6}.gallery-card-image{position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;background:#eef4f0}.gallery-card-image img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .3s ease}.gallery-card:hover .gallery-card-image img{transform:scale(1.04)}.gallery-card-info{padding:12px 14px;display:flex;flex-direction:column;gap:6px}.gallery-card-caption{font-size:.88rem;color:#2d4a3a;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.gallery-card-date{font-size:.78rem;color:#6b8371}.gallery-card-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:2px}.gallery-tag-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;font-size:.74rem;color:#2d6a4f;background:#e8f5ee;border-radius:20px;font-weight:500}.tag-chip-avatar{width:16px;height:16px;border-radius:50%;-o-object-fit:cover;object-fit:cover}.gallery-loading{display:flex;flex-direction:column;align-items:center;gap:12px;padding:60px 0;color:#6b8371}.gallery-empty-state{display:flex;flex-direction:column;align-items:center;gap:14px;padding:60px 24px;text-align:center}.gallery-empty-icon{display:grid;width:72px;height:72px;place-items:center;border-radius:50%;background:#e8f5ee;color:#2d6a4f}.gallery-empty-state h3{margin:0;color:#2d4a3a;font-family:"Noto Serif Bengali",serif;font-size:1.2rem}.gallery-empty-state p{margin:0;color:#6b8371;max-width:340px;line-height:1.5}.gallery-no-members-note{font-size:.85rem;color:#8a9b8f;padding:12px;background:#f4f8f4;border-radius:8px}.photo-viewer-card{max-width:720px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.photo-viewer-image{width:100%;max-height:52vh;overflow:hidden;background:#0a1e14}.photo-viewer-image img{width:100%;height:100%;max-height:52vh;-o-object-fit:contain;object-fit:contain}.photo-viewer-body{padding:20px 24px;overflow-y:auto}.photo-viewer-caption{font-size:1rem;color:#2d4a3a;line-height:1.5;margin:0 0 8px}.photo-viewer-date{font-size:.85rem;color:#6b8371;margin:0 0 16px}.photo-viewer-tags-label{font-size:.8rem;font-weight:600;color:#2d6a4f;margin:0 0 8px}.photo-viewer-tag-list{display:flex;flex-wrap:wrap;gap:8px}.photo-viewer-untagged{font-size:.85rem;color:#8a9b8f;font-style:italic}.photo-viewer-actions{display:flex;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid #e8f0ea}.gallery-delete-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;font-size:.88rem;color:#c0392b;border:1px solid #f0c8c3;border-radius:10px;background:#fdf5f4;cursor:pointer;transition:all .18s ease}.gallery-delete-btn:hover{background:#f9e8e6;border-color:#e6a9a0}.gallery-delete-btn:disabled{opacity:.6;cursor:default}.gallery-post-card{cursor:default}.gallery-card-image-btn{border:none;background:none;padding:0;cursor:pointer;text-align:left;display:block;width:100%}.reaction-bar{margin-top:6px;padding-top:8px;border-top:1px solid #eef4f0;display:flex;flex-direction:column;gap:6px}.reaction-pick-row{display:flex;align-items:center;gap:6px;position:relative}.reaction-trigger{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;font-size:.82rem;font-weight:500;color:#6b8371;border:1px solid #dce8de;border-radius:20px;background:#f8fcf8;cursor:pointer;transition:all .16s ease}.reaction-trigger:hover{border-color:#b8dcc6;background:#f1f8f3;color:#2d6a4f}.reaction-trigger-active{font-weight:600;background:#fff}.reaction-picker{position:absolute;bottom:100%;left:0;margin-bottom:8px;display:flex;gap:4px;padding:6px 8px;background:#fff;border:1px solid #dce8de;border-radius:28px;box-shadow:0 8px 24px #051e121f;z-index:10;animation:reactionPickerIn .18s ease}@keyframes reactionPickerIn{0%{opacity:0;transform:translateY(6px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}.reaction-picker-btn{display:grid;place-items:center;width:36px;height:36px;border:none;background:none;border-radius:50%;cursor:pointer;transition:transform .12s ease;font-size:1.2rem}.reaction-picker-btn:hover{transform:scale(1.25)}.reaction-picker-btn-active{background:#e8f5ee}.reaction-emoji{font-size:1.25rem;line-height:1}.reaction-emoji-sm{font-size:1rem;line-height:1}.reaction-summary-row{display:flex;align-items:center;gap:8px}.reaction-emoji-stack{display:flex}.reaction-emoji-badge{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#fff;border:2px solid #e8f0ea;font-size:.7rem;margin-left:-6px}.reaction-emoji-badge:first-child{margin-left:0}.reaction-count-text{font-size:.76rem;color:#8a9b8f;font-weight:500}.photo-editor-card{max-width:560px;max-height:90vh;display:flex;flex-direction:column;overflow-y:auto}.photo-editor-header{padding:22px 24px 0}.photo-editor-header h2{margin:0;color:#173c2b;font-family:"Noto Serif Bengali",serif;font-size:1.25rem}.photo-editor-preview{padding:16px 24px}.photo-editor-preview img{width:100%;max-height:220px;-o-object-fit:cover;object-fit:cover;border-radius:12px;border:1px solid #e1ece3}.photo-editor-form{padding:0 24px 24px;display:flex;flex-direction:column;gap:16px}.tag-member-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.tag-member-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;font-size:.84rem;color:#4a5e52;border:1px solid #dce8de;border-radius:20px;background:#f8fcf8;cursor:pointer;transition:all .16s ease}.tag-member-chip:hover{border-color:#b8dcc6;background:#f1f8f3}.tag-member-chip-active{color:#155b3b;border-color:#6bb88f;background:#e8f5ee;font-weight:600}.tag-member-chip small{font-size:.72rem;color:#2d6a4f;opacity:.7}@media(max-width:640px){.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.gallery-grid-section{padding:0 16px 40px}.photo-viewer-card,.photo-editor-card{max-width:100%;max-height:100vh;border-radius:0}.photo-viewer-actions{flex-direction:column}}.timeline-shell{--timeline-green: #2d6a4f}.timeline-hero .hero-eyebrow{font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;color:#2d6a4f;font-weight:600;margin:0 0 8px}.timeline-section{padding:0 28px 60px}.timeline-container{max-width:760px;margin:0 auto}.timeline-track{position:relative;padding-left:28px}.timeline-track:before{content:"";position:absolute;left:7px;top:4px;bottom:4px;width:2px;background:linear-gradient(to bottom,#6bb88f,#b8dcc6);border-radius:1px}.timeline-year-group{position:relative}.timeline-year-marker{display:flex;align-items:center;gap:10px;margin:24px 0 12px -28px;padding-left:0}.timeline-year-dot{width:14px;height:14px;border-radius:50%;background:#2d6a4f;border:3px solid #e8f5ee;box-shadow:0 0 0 2px #6bb88f;flex-shrink:0}.timeline-year-label{font-family:"Noto Serif Bengali",serif;font-size:1.1rem;font-weight:700;color:#173c2b}.timeline-entry{position:relative;padding-bottom:20px}.timeline-node{position:absolute;left:-28px;top:18px;width:10px;height:10px;border-radius:50%;background:#fff;border:2px solid #6bb88f;z-index:1}.timeline-card{display:flex;gap:14px;padding:16px 18px;background:#fff;border:1px solid #e1ece3;border-radius:14px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.timeline-card:hover{transform:translate(4px);box-shadow:0 8px 24px #051e1214;border-color:#b8dcc6}.timeline-card-avatar{width:48px;height:48px;border-radius:50%;overflow:hidden;background:#e8f5ee;color:#2d6a4f;display:grid;place-items:center;flex-shrink:0}.timeline-avatar-img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.timeline-card-body{flex:1;min-width:0}.timeline-card-header{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:4px}.timeline-card-header strong{font-size:.98rem;color:#173c2b;font-family:"Noto Serif Bengali",serif}.timeline-badge-self{font-size:.72rem;font-weight:600;color:#155b3b;background:#e8f5ee;padding:2px 8px;border-radius:20px}.timeline-badge-relation{font-size:.72rem;font-weight:500;color:#2d6a4f;background:#f1f8f3;padding:2px 8px;border-radius:20px}.timeline-card-date{font-size:.82rem;color:#6b8371}.timeline-card-age{color:#8a9b8f}.timeline-card-bio{font-size:.84rem;color:#4a5e52;line-height:1.5;margin:6px 0 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.timeline-undated{margin-top:40px;padding-top:28px;border-top:1px dashed #d0e5d8}.timeline-undated-title{font-size:.85rem;font-weight:600;color:#6b8371;margin:0 0 16px;text-transform:uppercase;letter-spacing:.08em}.timeline-undated-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}.timeline-undated-card{display:flex;gap:12px;padding:14px 16px;background:#f8fcf8;border:1px solid #e8f0ea;border-radius:12px}@media(max-width:640px){.timeline-section{padding:0 16px 40px}.timeline-card{padding:12px 14px;gap:10px}.timeline-card-avatar{width:40px;height:40px}.timeline-undated-grid{grid-template-columns:1fr}}.tree-page{padding-bottom:48px}.tree-page-hero{padding:22px 28px 18px;border-bottom:1px solid #e1ece3;background:linear-gradient(135deg,#f6fbf6,#edf7ee)}.tree-page-back{display:inline-flex;align-items:center;gap:8px;color:#4a6b57;font-size:.88rem;font-weight:600;border:0;background:transparent;cursor:pointer;padding:6px 4px;transition:color .16s ease;margin-left:auto;flex-shrink:0}.tree-page-back:hover{color:#155b3b}.tree-page-hero-row{display:flex;align-items:flex-start;gap:16px}.tree-page-title-block{flex:1;min-width:0}.tree-page-title-block .dashboard-overline{display:inline-flex;align-items:center;gap:6px;margin:0 0 6px}.tree-page-title-block h1{margin:0;color:#173c2b;font-family:"Noto Serif Bengali",serif;font-size:1.6rem;line-height:1.2}.tree-page-body{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;padding:24px 28px;align-items:start}.tree-page-panel{position:sticky;top:24px}.tree-page-body-single{display:block}.tree-page-canvas{min-height:70vh;display:flex;flex-direction:column}@media(min-width:1024px){.tree-chart-wrapper{height:80vh;min-height:400px}}@media(max-width:860px){.tree-page-body{grid-template-columns:1fr}.tree-page-panel{position:static}.tree-page-canvas{min-height:55vh}}@media(max-width:640px){.tree-page-hero,.tree-page-body{padding:16px 20px}.tree-page-title-block h1{font-size:1.3rem}.tree-page-canvas{min-height:50vh}}.dashboard-shell,.profile-shell{background:#f4f8f4}.dashboard-header{min-width:0;height:auto;min-height:56px;padding-top:6px;padding-bottom:6px;border-bottom:0;background:linear-gradient(90deg,#0d4a2c,#155b3b);box-shadow:0 6px 18px #09301e2e}.dashboard-brand{color:#fff}.dashboard-brand img{border:2px solid rgba(255,255,255,.5)}.dashboard-tagline{padding-left:14px;margin-left:4px;color:#d9f0dc;border-left:1px solid rgba(255,255,255,.35);font-family:"Noto Serif Bengali",serif;font-size:.8rem;font-weight:500}.dashboard-header .profile-button,.dashboard-header .logout-button{color:#fff;border-color:#ffffff5c;background:#ffffff14}.dashboard-header .profile-button:hover,.dashboard-header .logout-button:hover{color:#155b3b;background:#fff}.dashboard-hero{position:relative;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:32px;width:100%;min-height:220px;padding:32px max(24px,calc((100% - 1240px)/2));overflow:hidden;background:linear-gradient(90deg,#f0f9f0f7,#f0f9f0db 45%,#f0f9f01a),url(https://images.pexels.com/photos/10211887/pexels-photo-10211887.jpeg?auto=compress&cs=tinysrgb&h=650&w=940) center / cover}.dashboard-hero-line{width:min(100% - 48px,1240px);margin:0 auto;padding:28px max(24px,calc((100% - 1240px)/2)) 0;font-family:"Noto Serif Bengali",serif;font-size:clamp(1.05rem,2vw,1.4rem);font-weight:500;line-height:1.6;color:#2d6a4f;text-align:center;letter-spacing:.01em}.dashboard-hero-copy{max-width:560px}.dashboard-hero h1{margin:0;color:#0f3f27;font-family:"Noto Serif Bengali",serif;font-size:clamp(2rem,4vw,3.1rem);font-weight:700;line-height:1.2}.dashboard-hero-text{margin:18px 0 0;color:#2f5a43;font-size:.98rem;line-height:1.75}.dashboard-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.hero-primary,.hero-secondary{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 22px;border-radius:10px;font-size:.92rem;font-weight:700;transition:background-color .18s ease,transform .18s ease,box-shadow .18s ease}.hero-primary{color:#fff;background:#155b3b;box-shadow:0 10px 22px #155b3b38}.hero-primary:hover{background:#0d482d;transform:translateY(-1px)}.hero-secondary{color:#155b3b;border:1px solid #9cc7a8;background:#fff}.hero-secondary:hover{background:#edf8ee;transform:translateY(-1px)}.dashboard-hero .dashboard-stat{flex-shrink:0;min-width:190px;padding:22px 24px;border-color:#155b3b1f;background:#ffffffeb;box-shadow:0 14px 32px #0f3f271f}.dashboard-hero .dashboard-stat small{display:block;margin-top:6px;color:#6a7e70;font-size:.78rem}.dashboard-cards{display:grid;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:min(100% - 48px,1240px);margin:8px auto 0;position:relative;z-index:1}.dashboard-cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}.feature-card{display:flex;min-width:0;flex-direction:row;align-items:center;gap:16px;padding:16px 24px;text-align:left;color:#173c2b;border:1px solid #dce8de;border-radius:14px;background:#fff;box-shadow:0 10px 24px #1b4c2a14;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.feature-card:hover{transform:translateY(-3px);border-color:#9cc7a8;box-shadow:0 18px 40px #1b4c2a2e}.feature-icon{display:grid;width:46px;height:46px;place-items:center;margin-bottom:0;flex-shrink:0;color:#fff;border-radius:12px;background:#155b3b}.feature-card strong{min-width:0;overflow-wrap:anywhere;font-family:"Noto Serif Bengali",serif;font-size:1.15rem;font-weight:700;line-height:1.2}.feature-text{min-width:0;overflow-wrap:anywhere;color:#6a7e70;font-size:.9rem;line-height:1.4;font-style:italic}.feature-link{display:inline-flex;align-items:center;gap:6px;margin-top:4px;color:#155b3b;font-size:.86rem;font-weight:700}.dashboard-workspace{margin-top:40px}.dashboard-village{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:stretch;gap:0;width:min(100% - 48px,1240px);margin:0 auto 40px;overflow:hidden;border-radius:18px;background:#e9f5e9;border:1px solid #dce8de}.dashboard-village-copy{display:flex;flex-direction:column;justify-content:center;gap:10px;padding:40px 36px}.dashboard-village-copy h2{margin:0;color:#0f3f27;font-family:"Noto Serif Bengali",serif;font-size:1.6rem;font-weight:700;line-height:1.3}.dashboard-village-copy p{margin:0;color:#4b6b57;line-height:1.6}.dashboard-village-photo{display:block;width:100%;height:100%;min-height:220px;-o-object-fit:cover;object-fit:cover}.dashboard-footer{display:flex;align-items:center;justify-content:center;gap:18px;padding:14px 24px;color:#fff;background:linear-gradient(90deg,#0d4a2c,#155b3b);font-family:"Noto Serif Bengali",serif}.dashboard-footer p{margin:0;font-size:1.05rem;font-weight:600}.dashboard-footer .footer-rule{background:#e1f6dd99}@media(max-width:780px){.dashboard-tagline{display:none}.dashboard-hero{flex-direction:column;align-items:flex-start;padding:40px 20px 72px}.dashboard-hero .dashboard-stat{min-width:0;width:100%}.dashboard-cards,.dashboard-cards-3{grid-template-columns:1fr;width:min(100% - 32px,1240px)}.dashboard-cards-3 .feature-card{padding:20px 24px}.dashboard-village{grid-template-columns:1fr;width:min(100% - 32px,1240px)}.dashboard-hero-line{padding:20px 20px 0;font-size:1rem}}.dashboard-hero .hero-eyebrow{margin:0 0 14px;font-size:.8rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#2d6a4f}.dashboard-hero.dashboard-hero-large{min-height:280px;padding-top:40px;padding-bottom:40px}.dashboard-hero.dashboard-hero-large .dashboard-hero-copy{max-width:640px}.dashboard-hero.dashboard-hero-large h1{font-size:clamp(2rem,4vw,3.2rem)}.dashboard-hero.dashboard-hero-large .dashboard-hero-text{font-size:1rem;line-height:1.7;margin-top:14px}.dashboard-hero.dashboard-hero-large .dashboard-hero-actions{margin-top:34px}.hero-tree-btn{flex-direction:row!important;align-items:center!important;gap:26px!important;min-height:auto!important;padding:36px 44px!important;border-radius:22px!important;box-shadow:0 16px 36px #155b3b57!important}.hero-tree-btn:hover{box-shadow:0 22px 48px #155b3b70!important}.hero-tree-btn-icon{display:grid;place-items:center;width:78px;height:78px;flex-shrink:0;border-radius:18px;background:#ffffff26}.hero-tree-btn-content{display:flex;flex-direction:column;gap:8px;text-align:left}.hero-tree-btn-label{font-size:1.7rem;font-weight:700;line-height:1.2}.hero-tree-btn-tagline{font-family:"Noto Serif Bengali",serif;font-size:1rem;font-weight:500;font-style:italic;line-height:1.4;opacity:.88}.dashboard-hero.dashboard-hero-large .hero-primary,.dashboard-hero.dashboard-hero-large .hero-secondary{min-height:52px;padding:0 26px;font-size:1rem;border-radius:12px}.hero-primary-lg{min-height:56px!important;padding:0 32px!important;font-size:1.05rem!important;border-radius:14px!important;gap:10px}.dashboard-hero-line{font-style:italic;opacity:.92}@media(min-width:781px){.dashboard-shell{display:flex;flex-direction:column;min-height:100vh}.dashboard-footer{margin-top:auto}.dashboard-hero.dashboard-hero-large{min-height:390px;padding-top:72px;padding-bottom:72px}.dashboard-hero.dashboard-hero-large h1{font-size:clamp(2.6rem,4.4vw,4rem)}.dashboard-hero.dashboard-hero-large .dashboard-hero-text{max-width:720px;font-size:1.08rem;line-height:1.8}.dashboard-cards-3{gap:24px;margin-top:16px}.dashboard-cards-3 .feature-card{min-height:220px;padding:28px 30px}.dashboard-cards-3 .feature-icon{width:64px;height:64px}.dashboard-cards-3 .feature-card strong{font-size:1.35rem}.dashboard-cards-3 .feature-text{font-size:1rem;line-height:1.6}.dashboard-footer{margin-top:28px;padding-top:18px;padding-bottom:18px}}
