.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}:root{color:#23201c;background:#f7f4ef;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}.lock-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(#12181c59,#12181c59),url(/assets/family-album-cover.jpg) center / cover}.lock-panel{width:min(430px,100%);padding:32px;background:#fffcf6f0;border:1px solid rgba(67,54,36,.18);border-radius:8px;box-shadow:0 30px 80px #10131442}.brand-mark{width:48px;height:48px;display:grid;place-items:center;color:#fffaf2;background:#34524a;border-radius:8px}.lock-panel p,.eyebrow{margin:18px 0 8px;color:#7f4f2b;font-size:.78rem;font-weight:800;letter-spacing:0;text-transform:uppercase}.hero h1{margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(3rem,8vw,6.2rem);line-height:.95;letter-spacing:0}.lock-panel h1{margin:0 0 16px;font-family:Georgia,Times New Roman,serif;font-size:clamp(2rem,5vw,2.5rem);line-height:1.1;letter-spacing:-.02em;color:#23201c}.lock-panel form{margin-top:28px;display:grid;gap:14px}.auth-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:22px;padding:6px;background:#eee5d8;border:1px solid #d9d1c4;border-radius:8px}.auth-tabs button{min-height:40px;border:0;color:#5f574f;background:transparent;border-radius:6px;font-weight:800}.auth-tabs button.active{color:#fffaf2;background:#34524a}.lock-panel label{font-size:.9rem;font-weight:800}.password-row,.search-box{display:flex;align-items:center;gap:10px;border:1px solid #d9d1c4;background:#fffaf2;border-radius:8px;padding:0 14px}.password-row input,.search-box input{width:100%;border:0;outline:0;background:transparent;min-height:48px;color:#23201c}.lock-panel button,.primary-link,.secondary-link{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 18px;border:0;border-radius:8px;font-weight:800}.auth-message{color:#9a3b2f;font-size:.88rem}.lock-panel button,.primary-link{color:#fffaf2;background:#34524a}.secondary-link{color:#23201c;background:#fffaf2db}.hero{min-height:88vh;display:flex;flex-direction:column;justify-content:space-between;padding:24px clamp(18px,5vw,72px) 46px;color:#fffaf2;background:linear-gradient(90deg,#141512d1,#14151247),url(/assets/custom-hero-bg.png) center / cover}nav{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}nav a{padding:10px 14px;background:#fffaf221;border:1px solid rgba(255,250,242,.26);border-radius:8px;font-size:.92rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.hero-content{width:min(760px,100%)}.hero-content p:not(.eyebrow){width:min(630px,100%);color:#f0e7d8;font-size:clamp(1rem,1.8vw,1.25rem);line-height:1.65}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.dashboard-band,.profile-band,.archive-band{padding:24px clamp(18px,5vw,72px)}.dashboard{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.stat{min-height:92px;display:grid;align-content:center;gap:8px;padding:18px;background:#fffaf2;border:1px solid #e1d6c6;border-radius:8px}.stat svg{color:#34524a}.stat span{color:#796d5f;font-size:.86rem}.stat strong{font-size:1.45rem}.section-grid,.content-section{padding:58px clamp(18px,5vw,72px)}.section-grid{display:grid;grid-template-columns:minmax(260px,380px) minmax(0,1fr);gap:36px;align-items:start}.section-copy h2,.section-heading h2,.profile h2,.archive-panel h2{margin:0 0 14px;font-family:Georgia,Times New Roman,serif;font-size:clamp(2rem,4vw,3.4rem);line-height:1.02;letter-spacing:0}.section-copy p:not(.eyebrow),.profile p,.archive-panel li{color:#5f574f;line-height:1.72}.search-box{margin-top:24px}.tree-filters{display:grid;grid-template-columns:1fr;gap:8px;margin-top:14px}.tree-filters label{color:#4b463f;font-size:.82rem;font-weight:800}.tree-filters select{width:100%;min-height:42px;border:1px solid #d9d1c4;border-radius:8px;padding:8px 12px;color:#23201c;background:#fffaf2}.branch-legend{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.branch-legend span{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid #d9d1c4;border-radius:8px;background:#fffaf2;color:#4b463f;font-size:.78rem;font-weight:800}.branch-legend span:before{content:"";width:9px;height:9px;border-radius:50%;background:var(--branch-color)}.mini-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.mini-results button{min-width:0;display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #ded3c2;background:#fffaf2;border-radius:8px;color:#302c28}.mini-results img{width:34px;height:34px;object-fit:cover;border-radius:50%}.mini-results span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.84rem}.tree-shell{position:relative;overflow:hidden;padding:20px 0 32px;background:linear-gradient(#fffaf2c7,#fffaf2e0),url(/assets/genealogy-tree-bg.png) center / cover;border:1px solid #e1d6c6;border-radius:8px}.flow-shell{height:640px;padding:0}.flow-shell .react-flow{background:transparent}.flow-shell .react-flow__node{width:168px;height:170px;border:2px solid #d9cfbf;border-radius:8px;background:#fffffff0;box-sizing:border-box}.flow-shell .react-flow__edge-path{filter:drop-shadow(0 2px 2px rgba(35,32,28,.35));stroke-linecap:round}.flow-shell .react-flow__edge-text{fill:#23201c;font-size:13px;font-weight:900;paint-order:stroke;stroke:#fffaf2;stroke-width:4px}.flow-member{display:flex;flex-direction:column;align-items:center;justify-content:space-between;height:100%;box-sizing:border-box;padding:12px 6px;text-align:center}.flow-member img{width:62px;height:62px;object-fit:cover;border-radius:50%}.flow-member strong{color:#23201c;font-size:.9rem;line-height:1.2}.flow-role{color:#34524a;font-size:.78rem;font-weight:800}.flow-member small{color:#786e62;font-size:.78rem}.empty-flow{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;color:#635b52;text-align:center;background:#fffaf2b8}.tree{position:relative;z-index:1;width:max-content;min-width:100%;display:flex;justify-content:center}.tree ul{position:relative;padding-top:26px;display:flex;justify-content:center}.tree li{position:relative;list-style:none;text-align:center;padding:24px 8px 0}.tree li:before,.tree li:after{content:"";position:absolute;top:0;right:50%;width:50%;height:24px;border-top:2px solid #c2b7a8}.tree li:after{right:auto;left:50%;border-left:2px solid #c2b7a8}.tree li:only-child:before,.tree li:only-child:after{display:none}.tree li:only-child{padding-top:0}.tree li:first-child:before,.tree li:last-child:after{border:0}.tree li:last-child:before{border-right:2px solid #c2b7a8;border-radius:0 8px 0 0}.tree li:first-child:after{border-radius:8px 0 0}.tree ul ul:before{content:"";position:absolute;top:0;left:50%;height:26px;border-left:2px solid #c2b7a8}.member-card{width:142px;min-height:174px;display:inline-grid;justify-items:center;align-content:start;gap:8px;padding:12px;border:1px solid #d9cfbf;background:#fff;border-radius:8px;color:#23201c;box-shadow:0 10px 24px #23201c14;transition:transform .18s ease,border-color .18s ease,background .18s ease}.member-card:hover,.member-card:focus-visible{transform:translateY(-4px);border-color:#34524a;background:#eef4ee;outline:0}.member-card img{width:72px;height:72px;object-fit:cover;border-radius:50%}.member-card strong{line-height:1.2}.member-card span{color:#786e62;font-size:.84rem}.profile-band{background:#263f3a}.profile{display:grid;grid-template-columns:260px minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:center;color:#fffaf2}.profile>img{width:260px;aspect-ratio:1;object-fit:cover;border-radius:8px;border:6px solid rgba(255,250,242,.24)}.profile p{color:#e4d9c9}.profile-role{color:#f3c892!important;font-weight:800}.profile dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0 0}.profile dl div{padding:16px;border:1px solid rgba(255,250,242,.22);border-radius:8px}.profile dt{color:#f3c892;font-size:.82rem;font-weight:800;text-transform:uppercase}.profile dd{margin:8px 0 0}.empty-profile{max-width:760px;color:#fffaf2}.empty-profile p:not(.eyebrow){color:#e4d9c9;line-height:1.7}.profile-dossier{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.profile-dossier article{padding:16px;border:1px solid rgba(255,250,242,.2);border-radius:8px;background:#fffaf214;color:#fffaf2}.profile-dossier h3{margin:0 0 12px;font-size:1rem}.profile-dossier p{margin:0;color:#e4d9c9;line-height:1.6}.profile-dossier button{width:100%;display:flex;align-items:center;gap:9px;padding:8px;border:1px solid rgba(255,250,242,.22);border-radius:8px;color:#fffaf2;background:transparent}.profile-dossier button+button{margin-top:8px}.profile-dossier button img{width:34px;height:34px;object-fit:cover;border-radius:50%}.dossier-tags{display:flex;flex-wrap:wrap;gap:8px}.dossier-tags span{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid rgba(255,250,242,.22);border-radius:8px;color:#e4d9c9;font-size:.82rem}.section-heading{max-width:760px;margin-bottom:24px}.branch-grid,.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.branch-card,.photo-card{overflow:hidden;background:#fffaf2;border:1px solid #e1d6c6;border-top:4px solid var(--branch-color, #e1d6c6);border-radius:8px}.empty-card{min-height:180px;display:grid;align-content:center;gap:10px;padding:18px;border:1px dashed #cfc1ae;border-radius:8px;background:#fffaf2}.empty-card h3{margin:0}.empty-card p{margin:0;color:#635b52;line-height:1.55}.branch-card img,.photo-card img{width:100%;height:210px;object-fit:cover}.branch-card div,.photo-card div{padding:16px}.branch-card h3,.photo-card h3,.timeline h3{margin:0 0 8px;font-size:1.05rem}.branch-card p{min-height:92px;margin:0 0 16px;color:#635b52;line-height:1.55}.branch-card span,.photo-card span{color:#7f4f2b;font-size:.85rem;font-weight:800}.timeline-section{background:#fffaf2}.admin-section{padding:58px clamp(18px,5vw,72px);background:#fffaf2}.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.admin-panel{display:grid;gap:12px;padding:18px;border:1px solid #e1d6c6;background:#f7f4ef;border-radius:8px}.panel-title{display:flex;align-items:center;gap:10px;color:#34524a}.panel-title h3,.admin-lists h3{margin:0;font-size:1.05rem}.admin-panel label{color:#4b463f;font-size:.86rem;font-weight:800}.admin-panel input,.admin-panel select,.admin-panel textarea{width:100%;min-height:44px;border:1px solid #d9d1c4;border-radius:8px;padding:10px 12px;color:#23201c;background:#fffaf2;outline:0}.admin-panel textarea{min-height:104px;resize:vertical}.admin-panel input[type=file]{min-height:auto}.field-help{margin:-4px 0 2px;color:#635b52;font-size:.82rem;line-height:1.5}.admin-panel button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:8px;color:#fffaf2;background:#34524a;font-weight:800}.admin-panel .secondary-admin-action{color:#263f3a;background:#fffaf2;border:1px solid #cfc1ae}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-preview{width:100%;height:180px;object-fit:cover;border-radius:8px;border:1px solid #d9d1c4}.admin-message{display:inline-block;margin-top:14px;color:#34524a}.admin-lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.admin-lists article{padding:16px;border:1px solid #e1d6c6;background:#f7f4ef;border-radius:8px}.admin-lists p{margin-bottom:0;color:#635b52}.admin-list-item{display:grid;grid-template-columns:46px minmax(0,1fr) 36px 36px;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #e1d6c6}.admin-list-item:last-child{border-bottom:0}.admin-list-item img{width:46px;height:46px;object-fit:cover;border-radius:8px}.admin-list-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-list-item button{width:36px;height:36px;display:grid;place-items:center;border:1px solid #d9d1c4;color:#8a3a2d;background:#fffaf2;border-radius:8px}.timeline{display:grid;gap:14px}.timeline article{display:grid;grid-template-columns:86px minmax(0,1fr);gap:18px;padding:18px;border-left:4px solid #34524a;background:#f7f4ef;border-radius:8px}.timeline time{color:#7f4f2b;font-size:1.2rem;font-weight:900}.timeline p{margin:0;color:#635b52;line-height:1.55}.archive-band{padding-top:58px;padding-bottom:58px;background:#e9dfd0}.archive-panel{display:grid;grid-template-columns:minmax(0,.8fr) minmax(280px,1fr) auto;gap:30px;align-items:start}.archive-panel ol{margin:0;padding-left:24px}.archive-panel li+li{margin-top:8px}.tool-row{display:grid;gap:8px}.tool-row button,.floating-close{width:42px;height:42px;display:grid;place-items:center;border:1px solid #cfc1ae;color:#263f3a;background:#fffaf2;border-radius:8px}footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:26px clamp(18px,5vw,72px);color:#fffaf2;background:#23201c}footer span{display:inline-flex;align-items:center;gap:8px}.admin-page{min-height:100vh;background:#f7f4ef}.admin-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:38px clamp(18px,5vw,72px);color:#fffaf2;background:#263f3a}.admin-header h1{margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(2.4rem,5vw,4.6rem);line-height:1}.admin-header p:not(.eyebrow){max-width:680px;color:#e4d9c9;line-height:1.65}.floating-close{position:fixed;right:18px;bottom:18px;box-shadow:0 12px 30px #23201c2e}@media(max-width:980px){.dashboard,.branch-grid,.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-grid,.profile,.profile-dossier,.admin-grid,.admin-lists,.archive-panel{grid-template-columns:1fr}.profile>img{width:min(260px,100%)}.profile dl{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-header{display:grid}.tool-row{display:flex;flex-wrap:wrap}}@media(max-width:640px){.hero{min-height:92vh}nav{justify-content:flex-start}nav a{padding:9px 10px;font-size:.82rem}.dashboard,.branch-grid,.gallery-grid,.form-row,.mini-results,.profile dl{grid-template-columns:1fr}.flow-shell{height:540px}.lock-panel{padding:24px}.section-grid,.content-section{padding-top:42px;padding-bottom:42px}.timeline article{grid-template-columns:1fr}}
