@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;450;500;550;600;650;700&family=Prata&display=swap');
:root{--cream:#F6F1E8;--sand:#DDD0BD;--olive:#78866B;--ink:#40352E;--muted:#7b756c;--line:#e5dfd4;--white:#fff;--serif:'Prata',Georgia,serif;--sans:'Golos Text',system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.6 var(--sans)}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}a{color:inherit;text-decoration:none}button{border:0;background:transparent;color:inherit}button:focus-visible,a:focus-visible{outline:3px solid var(--olive);outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid var(--olive);outline-offset:1px}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:400}h1{font:400 clamp(32px,3.6vw,52px)/1.3 var(--serif);letter-spacing:-1.4px;margin-bottom:16px}h2{font:400 26px/1.5 var(--serif);letter-spacing:-.6px;margin-bottom:8px}h3{font-size:19px;line-height:1.4;margin-bottom:8px;font-weight:550}small,.small{font-size:14px}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:2.4px;font-size:12px;font-weight:550;color:var(--olive);margin-bottom:22px}.sidebar{width:248px;position:fixed;inset:0 auto 0 0;background:#faf8f3;border-right:1px solid var(--line);padding:33px 22px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:12px;align-items:center;margin-bottom:39px;padding:0 6px}.brand-mark{width:43px;height:48px;color:var(--olive)}.brand strong{font:21px/1.35 var(--serif)}.brand small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:2px;margin-top:4px;color:var(--muted)}.nav-label{font-size:10px;letter-spacing:1.7px;color:#979084;margin:0 14px 10px}.nav{display:flex;flex-direction:column;gap:3px}.nav a{display:flex;align-items:center;gap:12px;font-size:14px;padding:10px 13px;border-radius:8px;transition:background .2s}.nav a:hover{background:#eeebe2}.nav a.active{background:#e6e9df;color:#59684c;font-weight:550}.nav .divider{margin-top:21px}.side-bottom{margin-top:auto;padding-top:28px}.local-note{font-size:12px;margin:20px 12px 0;color:var(--muted);line-height:1.6}.local-note span{display:inline-block;width:6px;height:6px;background:var(--olive);border-radius:100%;margin-right:7px}main{margin-left:248px;min-height:100vh}.topbar{height:80px;margin:0 48px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted)}.topbar-left{display:flex;align-items:center;gap:14px}.topbar-right{display:flex;align-items:center;gap:20px}.badge{font-size:11px;letter-spacing:1px;border:1px solid var(--line);padding:5px 10px;border-radius:30px;text-transform:uppercase}.mobile-menu{display:none}.content{padding:37px 48px 45px;max-width:1550px;margin:auto}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:29px}.page-head p{margin:0;color:var(--muted);font-size:14px}.page-head h1{margin-bottom:10px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;border-radius:7px;padding:11px 17px;font-size:14px;font-weight:500;background:var(--olive);color:white;min-height:44px;white-space:nowrap;transition:filter .2s,transform .2s}.btn:hover{filter:brightness(.94);transform:translateY(-1px)}.btn svg{width:17px;height:17px}.btn.secondary{background:#fffaf4;border:1px solid var(--sand);color:var(--ink)}.btn.ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}.btn.danger{background:#a65448}.text-btn{font-size:13px;color:#59684c;padding:8px 0}.hero{position:relative;overflow:hidden;border-radius:13px;min-height:380px;background:#ddd6c6;display:grid;grid-template-columns:1fr .9fr}.hero-copy{padding:49px 0 48px 43px;position:relative;z-index:2}.hero h1{font-size:clamp(33px,3.5vw,49px);max-width:550px}.hero p{font-size:14px;color:#6b665b;max-width:380px;line-height:1.9}.hero .eyebrow{color:#666e54;margin-bottom:20px}.hero .btn{margin-top:15px}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(ellipse at 100% 80%,#b6baa0 0,transparent 60%),linear-gradient(125deg,transparent,#cdc7b3)}.hero-art::before{content:'';position:absolute;width:270px;height:360px;border:1px solid #eeebdd80;border-radius:150px 150px 0 0;transform:rotate(17deg);right:12%;top:46px}.hero-art::after{content:'';position:absolute;width:225px;height:310px;border:1px solid #eeebdd90;border-radius:150px 150px 0 0;transform:rotate(-12deg);right:19%;top:70px}.branch{width:250px;height:300px;color:#737d58;opacity:.65;stroke-width:.7;transform:rotate(9deg)}.cover-placeholder{position:absolute;bottom:21px;right:25px;color:#575d4c;display:flex;gap:8px;align-items:center;font-size:12px;z-index:3}.hero.has-cover{display:block;background-size:cover;background-position:center}.hero.has-cover::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#211d19b8,transparent)}.hero.has-cover h1,.hero.has-cover p,.hero.has-cover .eyebrow{color:#fff}.hero.has-cover .hero-copy{max-width:650px}.hero.has-cover .cover-placeholder{color:white;background:#0005;border-radius:5px;padding:5px 10px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:15px}.section-head h2{font-size:24px;margin:0}.intro-line{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:32px 0 25px}.intro-line p{font-size:14px;color:var(--muted);margin:3px 0 0}.home-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:27px}.panel{background:#fffdf9;border:1px solid var(--line);border-radius:11px;padding:25px}.empty{min-height:240px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px 20px}.empty-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#f0eee5;color:var(--olive);margin-bottom:17px}.empty-icon svg{width:27px;height:27px}.empty h3{font-size:16px}.empty p{font-size:13px;color:var(--muted);max-width:330px;line-height:1.8;margin:0 0 14px}.empty .text-btn{font-size:13px}.date-empty{border:1px dashed #cfcbbd;border-radius:8px;padding:20px;margin-top:14px;background:#f9f7f0;display:flex;gap:15px;align-items:center}.date-tile{width:48px;height:53px;background:#edeade;border-radius:6px;display:grid;place-items:center;color:var(--olive);flex-shrink:0}.date-empty p{font-size:13px;line-height:1.7;margin:0;color:var(--muted)}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0}.quick-link{padding:24px 20px;background:#efece2;border:1px solid #e4dfd1;border-radius:9px;transition:background .2s}.quick-link:hover{background:#e6e8dc}.quick-link svg{color:#68765a;width:26px;height:26px;margin-bottom:22px}.quick-link h3{font-size:15px;margin:0 0 5px}.quick-link p{font-size:12px;color:var(--muted);margin:0}.footer{display:flex;justify-content:space-between;gap:20px;color:#928b7e;font-size:11px;padding:27px 0 0;margin-top:10px;border-top:1px solid var(--line)}.footer span:first-child{letter-spacing:2px;text-transform:uppercase}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.member{overflow:hidden;border:1px solid var(--line);background:#fffdf9;border-radius:11px}.portrait{height:230px;background:linear-gradient(135deg,#e7e2d5,#d8deca);display:grid;place-items:center;overflow:hidden}.portrait svg{width:80px;height:80px;color:#98a086;stroke-width:.8}.portrait img,.album-image img{width:100%;height:100%;object-fit:cover}.card-body{padding:20px}.card-body p{font-size:14px;color:var(--muted);white-space:pre-line;overflow-wrap:anywhere}.card-actions{display:flex;gap:12px;margin-top:17px;border-top:1px solid var(--line);padding-top:12px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px;border-radius:5px;color:var(--muted);font-size:12px;min-height:36px}.icon-btn:hover{background:#eeeade;color:var(--ink)}.icon-btn svg{width:16px;height:16px}.chip{display:inline-block;border-radius:20px;background:#eeeee4;font-size:12px;padding:3px 10px;margin:3px 3px 0 0;color:#647056}.wide-empty{border:1px dashed #cdc7b9;border-radius:12px;background:#ffffff60;min-height:380px}.wide-empty .empty{min-height:380px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:23px}.toolbar .spacer{flex:1}.toolbar input,.toolbar select{width:auto;max-width:100%}.row{display:flex;gap:12px;align-items:center}.between{justify-content:space-between}.album-image{height:200px;background:linear-gradient(140deg,#d8decb,#ece5d8);display:grid;place-items:center;overflow:hidden;position:relative}.album-image>svg{width:55px;height:55px;color:var(--olive);stroke-width:1}.album-image .count{position:absolute;bottom:10px;right:10px;background:#fffdf9e8;border-radius:20px;padding:3px 11px;font-size:12px}.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.media-item{background:#fffdf9;border:1px solid var(--line);border-radius:9px;overflow:hidden}.media-preview{height:220px;display:block;width:100%;padding:0;background:#e9e5db;position:relative}.media-preview img,.media-preview video{width:100%;height:100%;object-fit:cover}.media-caption{padding:13px;font-size:14px}.media-caption p{margin:0}.timeline{max-width:850px;padding-left:35px;border-left:1px solid #d1d2bf;margin-left:15px}.story{position:relative;margin:0 0 30px;background:#fffdf9;border:1px solid var(--line);padding:25px;border-radius:10px}.story:before{content:'';position:absolute;left:-42px;top:33px;width:11px;height:11px;background:var(--olive);border:3px solid var(--cream);border-radius:50%}.story img{width:100%;max-height:370px;object-fit:cover;border-radius:7px;margin-top:17px}.story p{white-space:pre-line}.story time{font-size:13px;color:var(--olive)}.calendar{background:#fffdf9;border-radius:12px;border:1px solid var(--line);padding:24px}.calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.calendar-head h2{font-size:23px;text-transform:capitalize;margin:0}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.weekday{text-align:center;font-size:12px;color:var(--muted);padding:10px}.day{min-height:100px;border-top:1px solid var(--line);border-right:1px solid #eee9df;padding:8px;font-size:13px;cursor:pointer;overflow:hidden}.day:nth-child(7n){border-right:0}.day:hover{background:#f4f4eb}.day.today>span{background:var(--olive);color:white;border-radius:50%;width:25px;height:25px;display:inline-grid;place-items:center}.cal-event{display:block;background:#e9edde;color:#546449;font-size:11px;border-radius:4px;padding:3px 5px;margin-top:5px;text-align:left;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event-list{display:flex;flex-direction:column;gap:12px}.event-row{display:flex;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}.event-row .details{flex:1}.event-row p{margin:0;font-size:13px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:25px}.stat{border:1px solid var(--line);border-radius:10px;padding:23px;background:#fffdf9}.stat .label{font-size:13px;color:var(--muted)}.stat strong{display:block;font:30px/1.7 var(--serif);margin-top:8px}.stat.olive{background:#e5e9dd}.budget-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:23px}.chart{display:flex;gap:25px;align-items:center;padding:24px 0;flex-wrap:wrap}.donut{width:150px;height:150px;border-radius:50%;display:grid;place-items:center;background:#e8e5db;flex-shrink:0}.donut:before{content:'';width:107px;height:107px;border-radius:50%;background:#fffdf9}.legend{font-size:13px;flex:1}.legend p{display:flex;align-items:center;gap:7px;margin:8px 0}.legend i{width:9px;height:9px;border-radius:2px;display:inline-block}.legend b{margin-left:auto;font-weight:500}.transaction{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:15px 0;font-size:14px}.transaction .details{flex:1}.transaction p{margin:0;font-size:12px;color:var(--muted)}.income{color:#5b7551}.expense{color:#a45f51}.progress{height:6px;border-radius:5px;background:#e9e6dc;overflow:hidden;margin:15px 0 8px}.progress span{display:block;height:100%;background:var(--olive)}.goal{border-bottom:1px solid var(--line);padding:18px 0}.goal p{font-size:13px;margin:0}.task{display:flex;gap:14px;padding:20px;background:#fffdf9;border:1px solid var(--line);border-radius:9px;margin-bottom:11px;align-items:flex-start}.task input{width:21px;height:21px;accent-color:var(--olive);margin-top:3px;flex-shrink:0}.task .details{flex:1;min-width:0}.task p{margin:3px 0 0;font-size:13px;color:var(--muted);white-space:pre-line}.task.done .task-title{text-decoration:line-through;color:var(--muted)}.task-title{font-size:16px;overflow-wrap:anywhere}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:25px}.tab{padding:8px 16px;border:1px solid var(--line);border-radius:24px;font-size:13px;background:#fffdf9}.tab.active{background:var(--ink);color:white;border-color:var(--ink)}.file-row{display:flex;align-items:center;gap:15px;padding:19px;border-bottom:1px solid var(--line);background:#fffdf9}.file-row .details{flex:1;min-width:0}.file-row h3{font-size:15px;overflow-wrap:anywhere}.file-row p{font-size:12px;margin:0;color:var(--muted)}.file-icon{color:var(--olive);width:42px;height:42px;background:#efeee4;display:grid;place-items:center;border-radius:7px}.settings-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:24px}.settings-grid .panel{margin-bottom:24px}label{font-size:13px;font-weight:500;display:block;margin-bottom:7px}input:not([type=checkbox]),textarea,select{width:100%;padding:11px 12px;border:1px solid #dcd6ca;border-radius:7px;background:#fffdf9;color:var(--ink);font-size:14px;min-width:0}input[type=color]{height:46px;padding:5px;width:75px}textarea{min-height:105px;resize:vertical}input[type=file]{font-size:12px}input::file-selector-button{padding:7px 11px;border:0;border-radius:4px;background:#e9edde;color:var(--ink);cursor:pointer;margin-right:10px}.field{margin-bottom:18px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.help{font-size:12px;color:var(--muted);margin:7px 0 0}.notice{padding:17px 20px;background:#e9edde;border-radius:8px;font-size:13px;line-height:1.8;margin-bottom:24px}.section-summary{display:flex;gap:14px;flex-wrap:wrap;margin:20px 0 25px}.summary-item{background:#fffdf9;padding:13px 18px;border:1px solid var(--line);border-radius:8px;font-size:13px}.summary-item b{font-size:20px;margin-right:8px;font-weight:500}.tree-wrap{height:580px;border:1px solid var(--line);border-radius:12px;position:relative;overflow:hidden;background-color:#faf8f1;background-image:radial-gradient(#d3d1c2 1px,transparent 1px);background-size:24px 24px;touch-action:none;cursor:grab}.tree-wrap:active{cursor:grabbing}.tree-stage{position:absolute;left:0;top:0;transform-origin:0 0;width:2200px;height:1800px}.tree-stage>svg{position:absolute;inset:0;width:2200px;height:1800px;pointer-events:none}.tree-stage path{stroke:#9bA58b;stroke-width:2;fill:none}.tree-person{position:absolute;width:170px;min-height:98px;padding:15px;background:#fffdf9;border:1px solid #bfc6b1;box-shadow:0 6px 22px #40352e09;border-radius:9px;text-align:center;cursor:pointer}.tree-person img{width:39px;height:39px;border-radius:50%;object-fit:cover;margin-bottom:5px}.tree-person strong{display:block;font-size:14px;font-weight:500}.tree-person small{font-size:11px;color:var(--muted)}.tree-controls{position:absolute;bottom:18px;right:18px;display:flex;gap:4px;background:white;padding:4px;border:1px solid var(--line);border-radius:8px;z-index:3}.tree-controls button{min-width:40px;min-height:40px}.relation{font-size:14px;padding:14px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px}.relation span{flex:1}.tree-help{font-size:12px;color:var(--muted);margin:10px 0 24px}dialog{border:1px solid var(--line);border-radius:14px;background:#faf8f2;color:var(--ink);width:min(560px,calc(100% - 28px));max-height:90dvh;padding:29px;box-shadow:0 20px 100px #30261e30}dialog::backdrop{background:#29282077;backdrop-filter:blur(4px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.modal-head h2{font-size:24px;margin:0}.modal-actions{display:flex;gap:10px;justify-content:flex-end;padding-top:12px}.modal-actions .btn{min-width:110px}#modal.lightbox{width:min(1100px,calc(100% - 24px));background:#1e211b;color:#fff;padding:20px} .lightbox img,.lightbox video{max-width:100%;max-height:67dvh;object-fit:contain;display:block;margin:auto}.lightbox p{margin:16px 0 0;text-align:center}.lightbox .modal-head h2{font-family:var(--sans);font-size:18px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:var(--ink);color:white;border-radius:8px;padding:13px 22px;font-size:14px;z-index:100;opacity:0;pointer-events:none;transition:.2s;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}.load-error{padding:50px;max-width:700px;margin:auto}.fade{animation:appear .3s ease}@keyframes appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media(min-width:1600px){.content{padding-top:45px}.hero{min-height:420px}.hero-copy{padding-top:60px}.hero-art .branch{width:290px;height:330px}}@media(max-width:1150px){.sidebar{width:218px;padding-left:15px;padding-right:15px}main{margin-left:218px}.content{padding:30px}.topbar{margin:0 30px}.hero-copy{padding:34px 0 34px 30px}.hero{min-height:350px}.hero h1{font-size:36px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-grid{gap:11px}.quick-link{padding:20px 15px}.home-grid{gap:18px}.panel{padding:20px}.budget-grid{grid-template-columns:1fr}.topbar-right>span:first-child{display:none}}@media(max-width:800px){.sidebar{transform:translateX(-100%);width:260px;transition:transform .2s;box-shadow:10px 0 60px #40352e20}.sidebar.open{transform:none}.nav-backdrop{position:fixed;inset:0;background:#29282066;z-index:19}main{margin:0}.topbar{height:64px;margin:0 22px}.mobile-menu{display:inline-flex;padding:7px}.topbar-left>span{display:none}.topbar-right{gap:10px}.content{padding:26px 22px}.hero{grid-template-columns:1fr .65fr;min-height:340px}.hero-copy{padding:30px 0 30px 25px}.hero h1{font-size:34px}.hero-art .branch{width:160px}.home-grid{grid-template-columns:1fr 1fr}.quick-grid{grid-template-columns:repeat(2,1fr)}.quick-link svg{margin-bottom:13px}.settings-grid{grid-template-columns:1fr}.calendar{padding:14px}.day{min-height:85px;padding:5px}.cal-event{font-size:10px;padding:2px}.page-head{align-items:flex-start}.page-head h1{font-size:32px}.tree-wrap{height:520px}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.content{padding:23px 17px}.topbar{margin:0 17px}.badge{font-size:9px}.topbar-right .icon-btn{display:none}.hero{display:block;min-height:410px}.hero-copy{padding:29px 25px;max-width:100%}.hero h1{font-size:35px;max-width:290px}.hero p{max-width:270px;font-size:13px}.hero-art{position:absolute;right:-50px;bottom:-80px;width:220px;height:250px;opacity:.5;pointer-events:none}.hero-art .branch{width:170px;height:200px}.hero-art::after,.hero-art::before{display:none}.hero .btn{position:relative;z-index:2}.cover-placeholder{bottom:16px;left:25px;right:auto;font-size:11px}.hero.has-cover{min-height:390px}.hero.has-cover .cover-placeholder{left:22px}.eyebrow{font-size:10px;margin-bottom:17px}.home-grid{grid-template-columns:1fr}.intro-line{align-items:flex-start;margin-top:27px}.intro-line h2{font-size:24px}.intro-line p{font-size:12px}.intro-line>.text-btn{display:none}.panel{padding:20px}.empty{min-height:210px}.section-head h2{font-size:21px}.quick-grid{gap:11px;margin-top:18px}.quick-link h3{font-size:14px}.quick-link p{font-size:11px}.footer{font-size:10px;flex-direction:column;gap:6px}.page-head{flex-direction:column;gap:18px}.page-head p{font-size:13px}.page-head h1{font-size:32px}.grid{grid-template-columns:1fr}.stats{gap:8px}.stat{padding:14px 10px}.stat .label{font-size:11px}.stat strong{font-size:20px}.calendar-head h2{font-size:20px}.calendar-head .btn{font-size:12px;padding:7px 9px}.weekday{font-size:10px;padding:10px 0}.day{min-height:72px;font-size:12px;padding:4px}.cal-event{height:6px;font-size:0;padding:0;margin-top:5px;min-height:6px}.form-row{grid-template-columns:1fr;gap:0}.media-grid{gap:10px}.media-preview{height:160px}.media-caption{font-size:12px;padding:10px}.media-caption .card-actions{gap:2px;flex-wrap:wrap}.task{padding:15px;gap:10px}.task .card-actions{flex-direction:column;border:0;margin:0;padding:0;gap:0}.file-row{padding:14px 0;gap:10px;flex-wrap:wrap}.file-row .actions{width:100%;justify-content:flex-end}.tree-wrap{height:450px}.timeline{padding-left:22px;margin-left:7px}.story{padding:20px}.story:before{left:-30px}.toolbar{gap:8px}.toolbar .btn{font-size:12px;padding:9px 11px}.toolbar input{width:100%}dialog{padding:22px}.modal-head h2{font-size:22px}.tree-controls{bottom:10px;right:10px}.tree-controls button{min-width:36px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:1150px){.transaction{flex-wrap:wrap}.transaction .card-actions{width:100%;margin:0;padding-top:6px;border:0;justify-content:flex-end}.transaction .details{min-width:90px}.transaction strong{font-size:14px}.relation{flex-wrap:wrap}.relation .card-actions{border:0;margin:0;padding:0}.date-empty{width:100%;text-align:left}}
