:root{--green:#244e40;--green2:#396653;--ink:#273e35;--muted:#7e877d;--paper:#f6f7f2;--line:#e3e7dc;--gold:#bd9b62;--white:#fff;--serif:Georgia,'Times New Roman',serif;font-family:'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit;display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:background .18s,transform .18s}button:disabled{cursor:wait;opacity:.55}button:hover{filter:brightness(.97)}button:focus-visible,a:focus-visible{outline:3px solid #bfad78;outline-offset:4px}a{color:inherit;text-decoration:none}svg{width:21px;height:21px;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2{font-family:var(--serif);font-weight:400;letter-spacing:-1.2px}h1{font-size:44px;line-height:1.15}h2{font-size:30px;line-height:1.2}h3{font-size:15px;font-weight:600}p{line-height:1.7}small{font-size:12px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;color:#7c8c72;line-height:1.7}.primary{background:var(--green);color:#fff;border:1px solid var(--green);border-radius:8px;padding:13px 19px;font-weight:500;font-size:13px;box-shadow:0 3px 6px #244e400c;white-space:nowrap}.primary:hover{background:#32604d}.secondary{border:1px solid var(--line);background:#fff;border-radius:7px;padding:10px 15px}.danger{background:#9b433f;color:white;padding:12px 18px;border-radius:7px}.small{padding:8px 14px;font-size:12px}.wide{width:100%}.link{display:inline;padding:0;color:var(--green);text-decoration:underline;text-underline-offset:4px;font-weight:600}.text-btn{font-size:12px;color:#607462;padding:7px 8px}.text-btn svg{width:16px;height:16px}.icon-only{width:33px;height:33px;padding:6px;border-radius:7px;font-size:0;flex-shrink:0}.icon-only:hover{background:#edf0e7}.tiny{width:24px;height:24px}.tiny svg{width:13px;height:13px}.muted{color:var(--muted);font-size:12px;line-height:1.7}.loading{display:grid;place-content:center;min-height:100vh;color:var(--green)}.brand{display:flex;align-items:center;gap:12px;font-family:var(--serif);font-size:31px;letter-spacing:-.7px}.brand>svg{width:37px;height:43px;color:var(--green)}.brand>span>span{display:block;font-family:'Segoe UI',Arial,sans-serif;font-size:8px;letter-spacing:2.1px;margin-top:3px;font-weight:500;color:#85917e}.auth{display:grid;grid-template-columns:1.08fr 1fr;min-height:100vh}.auth-story{position:relative;background:#e9ede0;padding:44px 9% 35px;overflow:hidden;display:flex;flex-direction:column}.auth-copy{margin:auto 0;padding:70px 0;z-index:1;max-width:580px}.auth h1{font-size:clamp(46px,4.8vw,75px);line-height:1.12;margin:21px 0 25px;color:#294c3c}.auth h1 em{color:#6d805e;font-weight:400}.auth-copy>p{font-size:15px;max-width:395px;color:#6b7764;line-height:1.9}.auth-features{display:flex;flex-direction:column;gap:19px;margin-top:46px;font-size:12px;color:#4f694e}.auth-features span{display:flex;gap:13px;align-items:center}.auth-features svg{width:20px}.auth-footer{letter-spacing:2.5px;font-size:9px;color:#8c967e;z-index:1}.botanical{position:absolute;right:-150px;bottom:5px;transform:rotate(-17deg);opacity:.055;pointer-events:none}.botanical svg{width:620px;height:650px;stroke-width:.7}.auth-form{background:#fbfcf8;display:grid;place-items:center;padding:65px 50px}.auth-form>div{width:100%;max-width:380px}.auth-form h2{font-size:35px;margin:13px 0 13px}.auth-form p{font-size:13px;color:var(--muted)}.auth-form form{margin-top:35px}.auth-form form>.primary{margin-top:7px;padding:14px}.auth-form .primary svg{margin-left:auto;width:17px}.auth-switch{margin-top:25px;text-align:center}.auth-switch button{font-size:12px;margin-left:5px}.private-note{border-top:1px solid var(--line);padding-top:25px;margin-top:32px;display:flex;align-items:center;gap:10px;color:#89927f;font-size:10px;line-height:1.6}.private-note svg{width:19px}form label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:500;margin:17px 0;color:#4e6053}input,textarea,select{border:1px solid #dce2d5;border-radius:7px;background:#fff;color:var(--ink);padding:12px 13px;width:100%;outline:none;min-width:0}input:focus,textarea:focus,select:focus{border-color:#6f8b67;box-shadow:0 0 0 3px #6f8b6714}input::placeholder,textarea::placeholder{color:#a1a89a}textarea{resize:vertical;line-height:1.6}form>small{display:block;color:var(--muted);line-height:1.6}.form-error{color:#aa4c41!important;font-size:12px;min-height:12px;margin:12px 0;white-space:pre-line}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.notice{padding:16px 20px;border:1px solid #dbe4d0;background:#edf2e6;border-radius:9px;color:#52664c;font-size:12px;line-height:1.8;margin:20px 0}.pending{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:35px;text-align:center}.pending h1{margin:20px 0}.pending p{max-width:480px;color:var(--muted)}.shell{display:grid;grid-template-columns:225px minmax(0,1fr);min-height:100vh}.sidebar{background:#fdfdf9;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;width:225px;display:flex;flex-direction:column;padding:31px 21px 18px}.sidebar .brand{margin:0 7px 49px;font-size:29px;gap:10px}.sidebar .brand>svg{width:32px}.sidebar .brand>span>span{font-size:7px}.sidebar-label{font-size:8px;letter-spacing:1.8px;color:#9ba491;margin:0 15px 17px}.sidebar nav{display:flex;flex-direction:column;gap:8px}.nav-item{justify-content:flex-start;padding:13px 15px;border-radius:8px;font-size:12px;color:#7d8777;gap:13px}.nav-item svg{width:19px;height:19px}.nav-item.active{background:#e9efdf;color:#35533d;font-weight:600}.nav-item.active:after{content:'';margin-left:auto;background:#7f9566;border-radius:50%;width:5px;height:5px}.sidebar-note{margin:auto 12px 28px;padding-top:50px;color:#849477}.sidebar-note>svg{width:30px;height:30px;stroke-width:1}.sidebar-note p{font-family:var(--serif);font-size:20px;line-height:1.4;margin:14px 0 12px}.sidebar-note strong{font-weight:400;font-style:italic}.sidebar-note small{font-size:10px;line-height:1.8;color:#a0a891}.user{display:flex;gap:9px;align-items:center;border-top:1px solid var(--line);padding-top:19px}.user-initial{width:33px;height:33px;display:grid;place-items:center;border-radius:50%;background:#e8ebdf;color:#587049;font-family:var(--serif);font-size:17px;flex-shrink:0}.user>div{min-width:0;flex:1}.user strong{font-size:11px;display:block;overflow:hidden;text-overflow:ellipsis}.user small{color:#9ca38e;font-size:9px;display:block;margin-top:3px}.user>button{width:25px;height:25px}.user svg{width:17px;height:17px}.main{grid-column:2;padding:0 42px;min-width:0}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:10px;color:#8f9889}.topbar>span{display:flex;gap:10px;align-items:center}.topbar small{font-size:9px}.topbar>div{display:flex;gap:12px}.status-dot{width:5px;height:5px;border-radius:50%;background:#87a079;margin-left:10px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:36px 0 28px}.page-heading h1{margin:10px 0 12px}.title-dot{color:#9aa77b}.page-heading p{font-size:12px;color:#909784}.stats{display:flex;align-items:center;gap:35px;padding-bottom:25px;border-bottom:1px solid var(--line);font-size:10px;color:#909884}.stats strong{font-family:var(--serif);font-size:22px;color:#4b6045;font-weight:400;margin-right:7px}.stats-note{margin-left:auto;display:flex;align-items:center;gap:9px;font-size:9px;color:#9ca78d}.stats-note svg{width:13px;height:13px}.content-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 0 19px}.search{display:flex;gap:9px;align-items:center;min-width:180px;max-width:340px;width:100%;border:1px solid var(--line);border-radius:7px;padding:0 12px;background:#fff}.search svg{color:#a1aa96;width:15px;height:15px}.search input{border:0;box-shadow:none;background:none;font-size:11px;padding:12px 0}.content-toolbar>select{width:220px;font-size:11px}.legend{display:flex;align-items:center;gap:7px;font-size:9px;color:#8d977e}.legend i{width:15px;height:1px;background:#a1b394;display:inline-block}.legend i.partner{border-top:1px dashed #c2a778;background:none;margin-left:12px}.tree-layout{display:flex;border:1px solid #e0e5d8;border-radius:12px;overflow:hidden;background:#fff;min-height:540px}.tree-area{position:relative;flex:1;min-width:0;background-color:#f7f9f2;background-image:radial-gradient(#cfd7c2 1px,transparent 1px);background-size:22px 22px;isolation:isolate}.tree-caption{position:absolute;left:23px;top:22px;z-index:2;pointer-events:none}.tree-caption .eyebrow{font-size:8px;letter-spacing:1.7px;display:block}.tree-caption small{font-size:9px;color:#9aa38b;display:block;margin-top:7px}.tree-caption:before{content:'';position:absolute;inset:-15px -10px;z-index:-1;background:linear-gradient(#f7f9f2ef,#f7f9f200)}#tree-viewport{height:540px;position:relative;overflow:hidden;touch-action:none;cursor:grab}#tree-viewport:active{cursor:grabbing}#scene{position:absolute;top:0;left:0;transform-origin:0 0;will-change:transform}.tree-lines{position:absolute;overflow:visible;pointer-events:none}.tree-lines path{fill:none;stroke:#aaba9b;stroke-width:1.5}.tree-lines path.partner-line{stroke:#c3a773;stroke-dasharray:5 5;stroke-width:1.3}.tree-node{position:absolute;display:flex;flex-direction:column;width:190px;height:112px;border:1px solid #dce3d3;border-radius:10px;background:#fffffd;box-shadow:0 4px 12px #53644108;padding:12px 10px 9px;gap:0;overflow:visible;cursor:pointer}.tree-node .avatar{width:39px;height:39px;min-height:39px;margin-top:-31px;margin-bottom:7px;border:3px solid #fff;box-shadow:0 0 0 1px #dde4d4;font-size:13px}.tree-node strong{font-family:var(--serif);font-size:16px;font-weight:400;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:1px}.tree-node small{font-size:9px;color:#9ba58d;margin-top:5px}.node-detail{display:flex;align-items:center;font-size:8px;color:#94a080;gap:5px;padding-top:9px;margin-top:auto}.node-detail svg{width:10px;height:10px}.tree-node.selected{border-color:#6b8959;background:#f2f6e9;box-shadow:0 0 0 3px #e1e9d5}.tree-node.dimmed{opacity:.22}.tree-node:hover{transform:translateY(-2px);border-color:#9aae86}.avatar{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;background:#e8eddc;color:#6c805b;font-family:var(--serif);width:36px;height:36px;flex-shrink:0}.avatar[style*="--tone:1"]{background:#eae4d6;color:#968466}.avatar[style*="--tone:2"]{background:#e0e8e4;color:#718b80}.avatar[style*="--tone:3"]{background:#ece4df;color:#9d8173}.avatar img{width:100%;height:100%;object-fit:cover}.avatar.large{width:78px;height:78px;font-size:27px;border:4px solid #f5f7ef}.avatar.hero{width:90px;height:90px;font-size:30px;border:5px solid #eff3e6}.zoom-controls{position:absolute;bottom:20px;left:20px;background:#fff;border:1px solid var(--line);box-shadow:0 3px 8px #58674708;display:flex;align-items:center;border-radius:8px;padding:3px;z-index:3;gap:1px}.zoom-controls .icon-only{font-size:20px;width:29px;height:29px}.zoom-controls [data-act="zoom-out"]{font-size:0}.zoom-controls [data-act="zoom-out"]:after{content:'−';font-size:20px}.zoom-controls [data-act="zoom-in"]{font-size:0}.zoom-controls [data-act="zoom-in"]:after{content:'+';font-size:20px}#zoom-level{font-size:9px;color:#8b967c;min-width:37px;text-align:center}.fit-btn{font-size:9px;border-left:1px solid var(--line);margin-left:4px;padding:8px 11px}.tree-hint{position:absolute;right:20px;bottom:30px;display:flex;align-items:center;gap:7px;color:#a0aa90;font-size:8px;pointer-events:none}.tree-hint svg{width:13px;height:13px}.profile{width:303px;flex-shrink:0;border-left:1px solid var(--line);padding:19px 21px;max-height:680px;overflow-y:auto}.profile-top{display:flex;align-items:center;justify-content:space-between;gap:5px}.profile-top .eyebrow{font-size:7px;letter-spacing:1.2px}.profile-top button{width:23px;height:23px}.profile-top svg{width:15px;height:15px}.profile-identity{text-align:center;padding:14px 0 21px;border-bottom:1px solid var(--line);display:flex;align-items:center;flex-direction:column;gap:10px}.profile-identity h2{font-size:25px;letter-spacing:-.7px}.profile-identity>span:not(.avatar){font-size:10px;color:#94a084}.profile-identity .secondary{margin-top:2px;font-size:10px}.profile-info{padding-top:19px}.profile-info>div{margin-bottom:17px}.profile-info small{font-size:7px;letter-spacing:1.5px;color:#9aa58b}.profile-info p{font-size:11px;margin-top:5px;color:#627258}.profile-info .bio{font-size:11px;white-space:pre-line;line-height:1.8;color:#8b967e}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:23px 0 14px}.section-heading h3{font-size:12px}.section-heading h3 span{font-size:9px;color:#94a080;padding-left:6px}.section-heading .text-btn{font-size:9px;padding:3px}.section-heading svg{width:13px;height:13px}.relation-group{margin:14px 0}.relation-group>small{font-size:9px;color:#97a086}.relative-row{display:flex;align-items:center}.relative{justify-content:flex-start;gap:9px;padding:8px 0;flex:1;min-width:0;text-align:left}.relative .avatar{width:28px;height:28px;font-size:10px}.relative>span:not(.avatar){font-size:10px;overflow:hidden;text-overflow:ellipsis}.profile-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.profile-photos button{padding:0;border-radius:5px;overflow:hidden;aspect-ratio:1}.profile-photos img{width:100%;height:100%;object-fit:cover}.profile-photos p{grid-column:1/-1}.delete-link{color:#ae877b;font-size:10px;text-decoration:underline;text-underline-offset:3px;padding:0;margin-top:25px}.empty{min-height:350px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:50px 25px;grid-column:1/-1}.tree-area .empty{height:100%;position:relative;z-index:1;pointer-events:none}.tree-area .empty button{pointer-events:auto}.empty-icon{width:63px;height:63px;border-radius:20px;background:#eaf0e0;color:#81956a;display:grid;place-items:center;margin-bottom:23px;transform:rotate(-5deg)}.empty-icon svg{width:29px;height:29px;transform:rotate(5deg);stroke-width:1.2}.empty h2{font-size:30px;color:#627651}.empty p{color:#9ba48c;font-size:11px;max-width:310px;margin:15px 0 25px}.empty .primary{font-size:11px;padding:11px 16px}.page-footer{display:flex;justify-content:space-between;color:#b1b8a4;font-size:7px;letter-spacing:1.2px;padding:25px 0}.page-footer>span{letter-spacing:.5px}.people-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:19px}.person-tile{display:flex;align-items:center;flex-direction:column;border:1px solid var(--line);border-radius:11px;background:#fff;padding:26px 19px 0;overflow:hidden}.person-tile h3{font-family:var(--serif);font-size:22px;font-weight:400;margin:15px 0 7px}.person-tile>span:not(.avatar){font-size:11px;color:#8e9b7d}.person-tile>small{font-size:10px;color:#b1b8a5;margin:9px 0 20px}.tile-bottom{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;width:calc(100% + 38px);padding:13px 20px;font-size:9px;color:#96a184;background:#fcfdf8}.tile-bottom svg{width:13px;height:13px}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:22px}.photo-tile{padding:0;background:#fff;border-radius:10px;border:1px solid var(--line);overflow:hidden;flex-direction:column;align-items:stretch;text-align:left;gap:0}.photo-image{position:relative;aspect-ratio:4/3;background:#e5eadb;overflow:hidden}.photo-image>img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.photo-tile:hover img{transform:scale(1.04)}.photo-count{position:absolute;right:11px;bottom:10px;color:white;display:flex;align-items:center;gap:5px;font-size:10px;padding:5px 9px;border-radius:20px;background:#264331a1;backdrop-filter:blur(5px)}.photo-count svg{width:13px;height:13px}.photo-caption{padding:18px 19px}.photo-caption h3{font-family:var(--serif);font-size:20px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.photo-caption small{font-size:9px;color:#9aa38a;display:block;margin-top:8px}.accounts-list{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}.account-row{display:flex;align-items:center;padding:20px;gap:15px;border-bottom:1px solid var(--line)}.account-row:last-child{border-bottom:0}.account-row>div:nth-child(2){min-width:0;flex:1}.account-row strong{font-size:12px}.account-row small{display:block;color:#99a18d;font-size:11px;margin-top:5px;overflow-wrap:anywhere}.account-row select{max-width:180px;font-size:11px}.badge{font-size:9px;border-radius:20px;padding:7px 12px;background:#edf2e5;color:#80916c}dialog{border:1px solid #dce4d3;border-radius:15px;padding:25px 30px 30px;box-shadow:0 30px 100px #19302035;color:var(--ink);width:min(550px,calc(100% - 30px));max-height:90dvh;overflow:auto}dialog::backdrop{background:#1c332b70;backdrop-filter:blur(4px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:25px}.modal-head .eyebrow{font-size:8px;letter-spacing:1.4px}.modal-head svg{width:18px;height:18px}dialog>p{font-size:12px;color:var(--muted);margin:15px 0 20px}dialog h2{font-size:29px}.photo-modal{width:min(1120px,calc(100% - 30px));padding:20px;max-height:94dvh}.photo-modal .modal-head{margin:0 0 13px;padding-left:10px}.photo-dialog{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:25px}.photo-stage{position:relative;align-self:center;line-height:0;background:#eef0e7;min-width:0}.photo-stage>img{width:100%;height:auto;display:block;cursor:crosshair}.photo-editor{padding:10px 10px 10px 0}.photo-editor .eyebrow{font-size:8px}.photo-editor h2{font-size:29px;overflow-wrap:anywhere;margin:10px 0 18px}.photo-editor h3{margin:23px 0 12px;font-size:13px}.photo-editor label{font-size:11px}.photo-editor input{font-size:12px;padding:10px}.photo-editor .primary{font-size:12px}.photo-editor .tag-picker{display:flex;gap:8px;margin:15px 0 8px}.tag-picker select{font-size:11px;padding:9px;flex:1}.tag-picker .secondary{font-size:10px;padding:9px}.tag-picker svg{width:12px;height:12px}#tag-position{font-size:9px;color:#98a087;line-height:1.7;display:block}.tag-row{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding:12px 0}.tag-row .avatar{width:27px;height:27px;font-size:10px}.tag-row>strong{font-size:10px;flex:1}.tag-row>div{display:flex;align-items:center}.tag-row .text-btn{font-size:9px;padding:4px}.tag-marker{position:absolute;width:21px;height:21px;border:2px solid white;box-shadow:0 0 0 2px #3a6948;border-radius:50%;background:#3d6c4880;transform:translate(-50%,-50%);line-height:normal;padding:0;pointer-events:auto}.tag-marker span{position:absolute;top:23px;left:50%;transform:translateX(-50%);font-size:9px;background:#244e40e6;color:#fff;padding:6px 9px;border-radius:4px;white-space:nowrap}.tag-cross{position:absolute;color:white;font-size:32px;text-shadow:0 1px 4px #000;transform:translate(-50%,-50%);pointer-events:none;line-height:1}#markers{position:absolute;inset:0;pointer-events:none}.photo-tools{border-top:1px solid var(--line);margin-top:25px;padding-top:15px;display:flex;align-items:center;justify-content:space-between;gap:10px}.photo-tools .delete-link{margin:0;font-size:9px}.photo-tools a{font-size:10px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);z-index:10000;background:#244e40;color:#fff;box-shadow:0 5px 25px #244e4035;border-radius:10px;padding:14px 20px;font-size:12px;max-width:calc(100vw - 30px);width:max-content;pointer-events:none;opacity:0;transition:.25s;line-height:1.6}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1500px){.main{padding:0 58px}.page-heading{padding-top:45px}#tree-viewport{height:620px}.tree-layout{min-height:620px}.profile{max-height:740px}}
@media(max-width:1150px){.sidebar{width:190px;padding:28px 15px}.shell{grid-template-columns:190px minmax(0,1fr)}.main{padding:0 25px}.sidebar .brand{font-size:26px}.sidebar .brand>svg{width:29px}.sidebar .brand>span>span{font-size:6px}.profile{width:265px;padding:17px}.stats{gap:23px}.tree-hint{display:none}.page-heading h1{font-size:38px}.stats-note{font-size:8px}.profile-top .eyebrow{font-size:6px}}
@media(max-width:900px){.auth-story{padding:35px 9%}.auth-form{padding:45px 30px}.auth h1{font-size:48px}.auth-copy>p{font-size:13px}.sidebar{width:76px;padding:25px 13px;align-items:center}.shell{grid-template-columns:76px minmax(0,1fr)}.sidebar .brand{margin:0 0 38px}.sidebar .brand>span,.sidebar-label,.sidebar-note,.user>div,.user>button{display:none}.sidebar .brand>svg{width:33px}.nav-item{font-size:0;padding:14px}.nav-item svg{width:21px;height:21px}.nav-item.active:after{display:none}.sidebar .user{margin-top:auto;padding-top:20px}.main{padding:0 25px}.profile{width:250px}.stats-note{display:none}.page-heading .primary{font-size:11px;padding:11px 13px}.page-heading .primary svg{width:17px;height:17px}.photo-dialog{grid-template-columns:1fr 1fr;gap:20px}.tree-layout.has-selection{flex-direction:column}.profile{width:100%;max-height:none;border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.profile-top{grid-column:1/-1}.profile-identity{grid-row:span 2}.profile-info{grid-column:2}.profile .section-heading,.profile .relation-group,.profile>.muted,.profile-photos,.profile>.delete-link{grid-column:1/-1}.profile-photos{grid-template-columns:repeat(6,1fr)}#tree-viewport{height:520px}}
@media(max-width:600px){.auth{grid-template-columns:1fr}.auth-story{padding:25px 27px 30px;min-height:230px}.auth-story .brand{font-size:25px}.auth-story .brand>svg{width:29px;height:35px}.auth-story .brand>span>span{font-size:6px}.auth-copy{padding:30px 0 0}.auth-copy>.eyebrow{font-size:8px}.auth h1{font-size:41px;margin:10px 0 12px}.auth h1 br{display:none}.auth-copy>p{font-size:11px;max-width:330px;line-height:1.8}.auth-features,.auth-footer{display:none}.botanical{right:-50px;bottom:-100px}.botanical svg{width:350px;height:350px}.auth-form{padding:35px 27px 45px}.auth-form h2{font-size:29px}.auth-form .eyebrow{font-size:8px}.auth-form form{margin-top:25px}.auth-form p{font-size:12px}.shell{display:block;padding-bottom:68px}.sidebar{inset:auto 0 0;width:100%;height:66px;flex-direction:row;padding:6px 12px;border-right:0;border-top:1px solid var(--line);z-index:20;background:#fdfdf9f5;backdrop-filter:blur(15px)}.sidebar .brand,.sidebar .user{display:none}.sidebar nav{flex-direction:row;width:100%;justify-content:space-around;gap:3px}.nav-item{font-size:8px;flex-direction:column;gap:4px;padding:7px 11px;min-width:65px}.nav-item svg{width:19px;height:19px}.nav-item.active{background:#eaf0e0}.main{padding:0 18px}.topbar{height:52px;font-size:8px}.topbar>span{gap:5px}.topbar>span small{font-size:7px}.topbar>div{gap:0}.topbar button{font-size:9px;padding:7px}.topbar button svg{width:13px;height:13px}.status-dot{margin-left:4px;width:4px;height:4px}.page-heading{padding:26px 0 20px;align-items:flex-start;flex-wrap:wrap;gap:18px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.page-heading h1{font-size:34px;margin:7px 0 9px}.page-heading p{font-size:10px}.page-heading .primary{font-size:10px;padding:10px 13px}.page-heading .primary svg{width:15px;height:15px}.stats{gap:24px;padding-bottom:19px;font-size:8px}.stats strong{font-size:20px;margin-right:4px}.content-toolbar{gap:10px;padding:18px 0 14px;flex-wrap:wrap}.search{max-width:none;flex:1;min-width:160px}.search input{font-size:10px;padding:11px 0}.legend{font-size:7px;gap:5px;margin-left:auto}.legend i{width:12px}.legend i.partner{margin-left:3px}.content-toolbar>.muted{font-size:9px}.content-toolbar>select{font-size:10px;padding:10px;width:140px;max-width:43%}.tree-layout{min-height:465px;border-radius:10px}#tree-viewport{height:465px}.tree-caption{left:15px;top:17px}.tree-caption .eyebrow{font-size:7px}.tree-caption small{font-size:8px}.zoom-controls{bottom:14px;left:12px}.tree-node{touch-action:manipulation}.profile{padding:17px;grid-template-columns:1fr 1fr;gap:0 15px}.profile-identity h2{font-size:23px}.profile-info p{font-size:10px}.profile-identity .avatar.hero{width:74px;height:74px}.profile-photos{grid-template-columns:repeat(3,1fr)}.empty{padding:40px 20px}.empty h2{font-size:26px}.empty p{font-size:10px;max-width:260px}.empty-icon{width:53px;height:53px;margin-bottom:20px}.empty-icon svg{width:25px}.empty .primary{font-size:10px}.page-footer{font-size:6px;letter-spacing:.5px;padding:20px 0}.page-footer>span{font-size:6px}.people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.person-tile{padding:20px 10px 0}.person-tile h3{font-size:18px}.person-tile .avatar.large{width:62px;height:62px;font-size:22px}.person-tile>span:not(.avatar){font-size:9px}.person-tile>small{font-size:8px}.tile-bottom{width:calc(100% + 20px);padding:10px;font-size:8px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.photo-caption{padding:12px}.photo-caption h3{font-size:17px}.photo-caption small{font-size:8px;line-height:1.6}.photo-count{font-size:8px;bottom:7px;right:7px;padding:4px 7px}.photo-count svg{width:11px;height:11px}.account-row{padding:14px 12px;gap:9px;flex-wrap:wrap}.account-row select{margin-left:42px;width:calc(100% - 42px);max-width:none;padding:10px}.account-row .badge{font-size:8px;margin-left:42px}.notice{font-size:11px;padding:13px 15px}.form-grid{grid-template-columns:1fr;gap:0}.form-grid label{margin:10px 0}dialog{padding:18px 20px 23px;max-height:92dvh}dialog h2{font-size:26px}.modal-head{margin-bottom:20px}.modal-head .eyebrow{font-size:7px}.form-actions{flex-wrap:wrap}.form-actions>button{flex:1;font-size:11px;white-space:normal}.photo-modal{padding:14px}.photo-dialog{grid-template-columns:1fr;gap:10px}.photo-editor{padding:10px 5px}.photo-editor h2{font-size:28px}.photo-stage{max-width:100%;overflow:visible}.photo-editor .tag-picker{gap:6px}.photo-editor .tag-row>strong{font-size:11px}.photo-tools a{font-size:9px}#toast{bottom:82px;font-size:11px}.pending h1{font-size:34px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
