:root{font-family:Arial,"Segoe UI",sans-serif;color:#202b40;background:#f3f6fa;font-synthesis:none;--blue:#225cd5;--muted:#6b768b;--line:#e6eaf1;--radius:22px}
*{box-sizing:border-box}body{margin:0;min-width:320px;font-size:16px;line-height:1.5}body:before{content:"";position:fixed;inset:0;z-index:-1;background:radial-gradient(ellipse at 95% 0%,#dbe9fc80,transparent 55%),radial-gradient(ellipse at 5% 95%,#e2ebf680,transparent 45%)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}h1,h2,h3,p{margin:0}h1{font-size:34px;line-height:1.25;letter-spacing:-1.1px;font-weight:700}h2{font-size:19px;letter-spacing:-.35px;font-weight:700}h3{font-size:19px;font-weight:600}.muted{color:var(--muted)}.glass{background:#ffffffd6;border:1px solid #fff;box-shadow:0 8px 28px #2d416708,0 1px 3px #24345204;border-radius:var(--radius);backdrop-filter:blur(20px)}.eyebrow{display:block;color:#6f829f;font-size:12px;letter-spacing:1.7px;font-weight:700;margin-bottom:10px}.button{border:1px solid transparent;border-radius:11px;padding:11px 17px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:14px;font-weight:600;min-height:44px;white-space:nowrap;transition:background .15s,transform .15s}.button:hover{transform:translateY(-1px)}.primary{background:var(--blue);color:white;box-shadow:0 4px 9px #225cd51b}.primary:hover{background:#174ebd}.secondary{background:#fff;border-color:#dee5f0;color:#3f4d65}.secondary:hover{background:#f5f8fc}.wide{width:100%}:focus-visible{outline:3px solid #88b4ff;outline-offset:3px}.text-link{color:var(--blue);font-size:14px;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.text-link svg{width:17px}.brand{display:flex;align-items:center;gap:12px;font-size:27px;font-weight:700;line-height:1.1;letter-spacing:-1px}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;background:#225cd5;color:#fff;font-size:38px;font-weight:700;letter-spacing:-4px;padding-bottom:5px;padding-right:3px;box-shadow:0 5px 14px #225cd524}.brand-mark span{font-size:24px;color:#a7c9ff;align-self:flex-end;margin-bottom:1px}.brand-sub{display:block;font-size:9px;letter-spacing:2px;font-weight:500;color:#8791a3;margin-top:6px}.app-shell{display:flex;min-height:100vh}.sidebar{width:234px;flex:0 0 234px;position:sticky;top:0;height:100vh;padding:34px 19px 16px;background:#ffffffb8;border-right:1px solid #e5eaf3;display:flex;flex-direction:column;overflow-y:auto}.sidebar .brand{margin:0 12px 43px}.nav-link{display:flex;align-items:center;gap:12px;color:#637088;font-size:14px;padding:11px 14px;border:0;border-radius:10px;min-height:44px;margin:4px 0;background:transparent;width:100%;text-align:left}.nav-link:hover{background:#f0f4fa}.nav-link.active{background:#eaf1ff;color:#225cd5;font-weight:600}.nav-link svg{width:19px;height:19px}.nav-label{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#8a96aa;margin:31px 14px 12px}.member-nav{padding-top:8px;padding-bottom:8px}.sidebar-bottom{margin-top:auto;padding-top:36px}.private-note{border:1px solid #e5ecf6;background:linear-gradient(120deg,#f5f9ff,#fafcfe);border-radius:13px;padding:15px 11px;display:flex;gap:9px;margin-bottom:18px;color:#7590b9}.private-note svg{width:17px;height:17px;margin-top:2px}.private-note strong{color:#4b617e;font-size:12px;font-weight:600;display:block}.private-note span{font-size:10px;color:#8290a3;display:block;margin-top:4px}.account{border-top:1px solid var(--line);margin-top:17px;padding:19px 7px 0;display:flex;align-items:center;gap:10px}.account-dot{background:#e7edf5;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:13px;color:#596d8a}.account strong{font-size:13px;display:block;font-weight:600;overflow-wrap:anywhere}.account div>span{display:block;font-size:10px;color:var(--muted);margin-top:2px}.workspace{max-width:1600px;min-width:0;width:100%;padding:0 42px 20px;margin:auto}.topbar{height:84px;border-bottom:1px solid #e3e9f1;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;color:#78849a}.crumb{color:#9aa4b4;margin-left:8px}.privacy-pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;padding:5px 10px;border:1px solid #dce4f0;background:#ffffff70;border-radius:7px;color:#71829b}.privacy-pill svg{width:13px;height:13px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:40px 0 30px}.page-heading p{color:var(--muted);font-size:14px;margin-top:11px}.family-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.member-card{padding:20px 16px 0;display:flex;align-items:center;flex-direction:column;overflow:hidden;transition:transform .2s,box-shadow .2s}.member-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px #2d416710}.card-role{font-size:11px;color:#8792a6;align-self:flex-start}.avatar{width:72px;height:72px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:25px;font-weight:500;flex-shrink:0;box-shadow:inset 0 0 0 1px #ffffff60}.color-0{background:linear-gradient(145deg,#dae9ff,#bdcff0);color:#42669d}.color-1{background:linear-gradient(145deg,#ffebd6,#efd1c3);color:#a26b52}.color-2{background:linear-gradient(145deg,#ddf3ef,#c3e0dd);color:#468b86}.color-3{background:linear-gradient(145deg,#e7e4ff,#d7d1f0);color:#8171aa}.color-4{background:linear-gradient(145deg,#fff2c9,#f4dfab);color:#a0874d}.avatar.tiny{width:26px;height:26px;font-size:11px}.avatar.small{width:48px;height:48px;font-size:20px}.avatar.mini{width:23px;height:23px;font-size:10px}.member-card>.avatar{margin:17px 0 15px}.member-card h2{font-size:16px;max-width:100%;text-align:center;overflow-wrap:anywhere}.member-meta{color:#9099a9;font-size:12px;margin:6px 0 21px}.card-link{border-top:1px solid #e9edf3;width:calc(100% + 32px);padding:12px 13px;color:#7b889d;display:flex;align-items:center;justify-content:center;gap:9px;font-size:11px;background:#fbfcfe80}.card-link svg{width:14px;height:14px}.overview-strip{margin:25px 0 32px;display:flex;align-items:center;padding:25px 27px;gap:28px}.overview-intro{display:flex;align-items:center;gap:16px;flex:1}.overview-intro h2{font-size:16px}.overview-intro p{font-size:12px;color:var(--muted);margin-top:5px}.folder-tile,.lock-tile{background:#edf3fe;color:#5680c8;border:1px solid #e5ecfa;border-radius:14px;width:49px;height:49px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.folder-tile svg{width:24px;height:24px}.stat{border-left:1px solid #e6eaf1;padding-left:26px;min-width:115px}.stat strong{display:block;font-size:23px;letter-spacing:-.7px;font-weight:600}.stat>span{display:block;color:#8a95a6;font-size:11px;margin-top:3px}.files-panel{padding:25px 26px 5px;overflow:hidden}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.section-heading p{font-size:12px;margin-top:6px;color:#8290a4}.count-badge{font-size:11px;background:#edf2f9;color:#7c8da5;padding:2px 7px;border-radius:6px;margin-left:10px;vertical-align:middle}.filters{display:flex;gap:10px;padding-bottom:22px;align-items:center}.filters select{width:auto;max-width:230px;font-size:12px;min-height:41px}.filters .button{font-size:12px;min-height:41px;padding:8px 14px}.search{position:relative;flex:1;min-width:150px;max-width:360px}.search>svg{position:absolute;left:12px;top:12px;color:#9aa7ba;width:17px;height:17px}.search>input{padding-left:38px;font-size:12px;min-height:41px}.empty-state{border-top:1px solid #edf0f5;text-align:center;padding:49px 20px 53px}.empty-icon{width:65px;height:65px;border:1px solid #e6edf8;background:linear-gradient(150deg,#f7faff,#edf3fc);border-radius:20px;display:inline-flex;align-items:center;justify-content:center;color:#92aad0;margin-bottom:19px}.empty-icon svg{width:29px;height:29px}.empty-state h3{font-size:17px;color:#576780}.empty-state p{font-size:13px;color:#8a97aa;margin-top:8px;margin-bottom:22px}.empty-state .button{font-size:12px}.empty-state .button svg{width:17px}.workspace-footer{display:flex;justify-content:space-between;color:#9ba6b7;font-size:10px;margin-top:27px;gap:20px}.workspace-footer>span:first-child{letter-spacing:1.6px}.workspace-footer>span:last-child{display:flex;gap:6px;align-items:center}.workspace-footer svg{width:12px;height:12px}.profile-panel{padding:28px;margin-bottom:28px}.profile-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.full-width{grid-column:1/-1}label{display:flex;flex-direction:column;gap:7px;color:#52617a;font-size:14px;font-weight:500}input,select,textarea{width:100%;min-height:45px;border:1px solid #dfe6f0;border-radius:9px;background:#ffffffb0;color:#33405a;padding:10px 12px;font-size:14px;outline:none}input:focus,select:focus,textarea:focus{border-color:#6596ed;box-shadow:0 0 0 3px #dce9ff80}input::placeholder,textarea::placeholder{color:#a4adbb}textarea{resize:vertical}label small{font-size:12px;color:#8a97aa;font-weight:400}.form-actions{display:flex;justify-content:flex-end;margin-top:24px}.form-stack{display:flex;flex-direction:column;gap:19px}.notice{padding:12px 15px;border-radius:10px;font-size:14px;margin-bottom:20px}.error{color:#a43d43;background:#fff0f0;border:1px solid #f3d6d8}.success{color:#2a7264;background:#eaf7f1;border:1px solid #cfebdf}[hidden]{display:none!important}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}th{font-size:11px;font-weight:500;color:#8b99ad;border-bottom:1px solid #e7ecf3;padding:11px 10px}td{padding:18px 10px;border-bottom:1px solid #edf1f6}tr:last-child td{border-bottom:0}.file-name{display:flex;align-items:center;gap:12px;min-width:190px;max-width:330px}.file-name strong{font-size:13px;font-weight:500;overflow-wrap:anywhere;display:block}.file-name small{display:block;font-size:11px;color:#96a0af;margin-top:4px}.file-icon{color:#7e99be;background:#f0f5fc;width:37px;height:42px;border-radius:9px;display:grid;place-items:center;flex-shrink:0}.owner-label{display:flex;align-items:center;gap:7px;min-width:95px;color:#718096;font-size:12px}.category-tag{font-size:11px;white-space:nowrap;color:#7d8a9e;background:#f2f5f9;padding:5px 9px;border-radius:6px}.date-cell{font-size:11px;color:#8a97aa;white-space:nowrap}.file-actions{display:flex;align-items:center;gap:3px}.icon-button{display:inline-flex;justify-content:center;align-items:center;width:38px;height:38px;border:0;border-radius:8px;background:transparent;color:#8191a9}.icon-button:hover{background:#edf3ff;color:#225cd5}.icon-button svg{width:18px;height:18px}.icon-button.danger:hover{color:#ba4650;background:#fff1f2}.truncate{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}.settings-card{padding:29px}.settings-card>.muted{font-size:14px;margin:11px 0 25px}.settings-card>.folder-tile{margin-bottom:18px}.settings-detail{border-top:1px solid #e8edf5;padding:16px 0;display:flex;justify-content:space-between;gap:15px;font-size:13px}.settings-detail strong{font-weight:500}.settings-detail span{color:#7c8ba3}dialog{padding:30px;width:min(480px,calc(100% - 32px));max-height:90vh;border:1px solid white;color:#202b40}dialog::backdrop{background:#12244760;backdrop-filter:blur(5px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.dialog-heading h2{font-size:24px}.close-dialog{font-size:28px}.file-picker{border:1px dashed #a9bee0;border-radius:13px;padding:21px;background:#f5f9ff}.file-picker input{border:0;padding:10px 0;background:transparent;font-size:12px}.file-picker input::file-selector-button{border:1px solid #d6e1f2;border-radius:7px;padding:8px 10px;background:white;color:#3863a8;margin-right:10px}.auth-page{min-height:100vh;max-width:1400px;margin:auto;padding:45px 70px 25px;display:flex;flex-direction:column}.auth-brand{width:max-content}.auth-layout{flex:1;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:80px;padding:60px 0}.auth-story h1{font-size:49px;line-height:1.23;letter-spacing:-1.9px;margin-top:20px;font-weight:600}.auth-story>p{color:#7c899e;line-height:1.9;font-size:16px;margin-top:24px}.family-stack{display:flex;margin-top:43px;padding-left:4px}.family-stack .avatar{width:51px;height:51px;border:3px solid #f3f6fa;font-size:13px;margin-left:-4px}.story-caption{display:block;font-size:12px;color:#91a0b6;margin-top:14px}.auth-card{padding:37px;max-width:450px;width:100%;justify-self:end}.lock-tile{margin-bottom:24px;background:#edf3ff;color:#5882c8}.auth-card h2{font-size:25px;letter-spacing:-.7px}.auth-card>.muted{font-size:13px;margin:10px 0 28px}.auth-card .form-stack{gap:20px}.auth-card .button{margin-top:7px}.auth-foot{display:flex;justify-content:center;align-items:center;gap:6px;font-size:10px;color:#91a0b6;margin-top:25px}.auth-foot svg{width:12px;height:12px}.auth-footer{display:flex;align-items:center;justify-content:space-between;color:#9ca7b8;font-size:10px;letter-spacing:1px}.auth-footer span{letter-spacing:0}.error-page{max-width:650px;margin:15vh auto;padding:45px}.error-page h1{font-size:28px;margin-top:25px}.error-page p{margin:20px 0;color:var(--muted)}.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}.skip-link{position:fixed;left:10px;top:-100px;z-index:100;padding:10px;background:white;color:var(--blue)}.skip-link:focus{top:10px}
@media(min-width:1600px){.workspace{padding-left:60px;padding-right:60px}.member-card{padding-top:24px}.member-card>.avatar{margin-top:23px}}
@media(max-width:1180px){.sidebar{width:205px;flex-basis:205px;padding-left:13px;padding-right:13px}.workspace{padding:0 26px 20px}.family-grid{gap:10px}.member-card{padding-left:10px;padding-right:10px}.card-link{width:calc(100% + 20px);font-size:10px}.overview-strip{padding:22px;gap:15px}.stat{min-width:95px;padding-left:20px}.auth-layout{gap:45px}.auth-page{padding-left:45px;padding-right:45px}.auth-story h1{font-size:42px}.auth-card{padding:30px}.profile-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:960px){.sidebar{width:185px;flex-basis:185px;padding-left:10px;padding-right:10px}.sidebar .brand{margin-left:7px}.nav-link{padding-left:10px;font-size:13px}.workspace{padding:0 22px 20px}.family-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.member-card:nth-child(4),.member-card:nth-child(5){min-width:0}.page-heading{align-items:flex-start}h1{font-size:29px}.page-heading>.button{padding:10px;font-size:12px}.overview-strip{flex-wrap:wrap}.overview-intro{min-width:100%;margin-bottom:5px}.stat{border-left:0;padding-left:0;min-width:100px}.filters{flex-wrap:wrap}.filters .search{max-width:none;flex-basis:100%}.settings-grid{grid-template-columns:1fr}.auth-layout{gap:35px}.auth-story h1{font-size:35px}.auth-page{padding:30px}.auth-card{padding:25px}.auth-card h2{font-size:22px}}
@media(max-width:700px){.app-shell{display:block}.sidebar{width:100%;height:auto;position:static;padding:16px 19px 8px;border-right:0;border-bottom:1px solid #e1e8f2;background:#ffffffb8}.sidebar .brand{margin:0 0 15px;font-size:24px}.brand-mark{width:38px;height:38px;font-size:32px;border-radius:12px}.brand-sub{font-size:8px}.sidebar nav{display:flex;overflow-x:auto;gap:4px;padding-bottom:5px}.sidebar nav .nav-link{margin:0;min-width:max-content;min-height:38px;font-size:12px;padding:8px 11px}.sidebar .nav-label,.sidebar .member-nav,.sidebar .private-note,.sidebar .account{display:none}.sidebar-bottom{position:absolute;right:15px;top:13px;padding:0;display:flex;gap:3px}.sidebar-bottom .nav-link{width:39px;height:39px;min-height:39px;overflow:hidden;font-size:0;padding:10px;gap:0}.sidebar-bottom .nav-link svg{width:19px;flex-shrink:0}.workspace{padding:0 18px 20px}.topbar{height:57px;font-size:10px}.crumb{display:none}.page-heading{margin:28px 0 23px;display:block}.page-heading h1{font-size:29px}.page-heading p{font-size:13px;margin-top:8px}.page-heading>.button{margin-top:20px;padding:11px 16px;font-size:13px}.eyebrow{font-size:10px;letter-spacing:1.2px}.family-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.member-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:56px 1fr;grid-template-rows:auto auto auto;padding:17px;column-gap:16px;align-items:center}.member-card:last-child .avatar{grid-row:1/4;grid-column:1;margin:0;width:54px;height:54px;font-size:20px}.member-card:last-child .card-role{grid-column:2;grid-row:1}.member-card:last-child h2{grid-row:2;grid-column:2;text-align:left}.member-card:last-child .member-meta{grid-column:2;grid-row:3;margin:2px 0 0}.member-card:last-child .card-link{display:none}.member-card .avatar{width:61px;height:61px;margin-top:13px}.member-card{border-radius:18px}.member-meta{margin-bottom:16px}.overview-strip{padding:20px;margin:20px 0;gap:20px}.overview-intro{gap:12px}.overview-intro h2{font-size:14px}.overview-intro p{font-size:11px}.folder-tile{width:42px;height:42px}.stat strong{font-size:21px}.files-panel{padding:21px 16px 4px}.section-heading{align-items:flex-start;margin-bottom:20px}.section-heading h2{font-size:17px}.section-heading p{font-size:11px}.section-heading>.text-link{font-size:0;gap:0}.section-heading>.text-link svg{width:20px;height:20px}.filters select{flex:1;max-width:none}.filters .search{min-width:100%}.empty-state{padding:32px 0}.empty-state h3{font-size:15px}.empty-state p{font-size:12px}.empty-state .button{font-size:11px}.profile-panel{padding:21px 18px}.profile-fields{grid-template-columns:1fr;gap:18px}.form-actions>.button{width:100%}.workspace-footer{font-size:9px;align-items:flex-start}.workspace-footer>span:last-child{max-width:170px;text-align:right}.settings-card{padding:23px}.settings-detail{font-size:12px}.auth-page{padding:25px 22px}.auth-layout{display:flex;flex-direction:column;gap:30px;padding:35px 0}.auth-story{text-align:center}.auth-story .eyebrow{display:none}.auth-story h1{font-size:30px;letter-spacing:-1px;margin-top:0}.auth-story>p{font-size:13px;margin-top:14px}.family-stack,.story-caption{display:none}.auth-card{padding:27px;max-width:430px}.auth-card h2{font-size:23px}.auth-card .lock-tile{margin-bottom:19px}.auth-footer{font-size:8px;gap:15px}.auth-footer span{text-align:right}.auth-brand{font-size:25px}.error-page{margin:10vh 20px;padding:28px}.error-page h1{font-size:23px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Keep frequently used text readable on both desktop and mobile. */
.card-link,.member-meta,.card-role,.section-heading p,.overview-intro p,.stat>span,.category-tag,.date-cell,.file-name small,.auth-foot,.auth-footer,.workspace-footer{font-size:12px}
.filters select,.filters .button,.search>input,.owner-label,.file-name strong,.empty-state .button,.page-heading p{font-size:14px}
.topbar,.privacy-pill,.private-note strong{font-size:12px}
.private-note span,.account div>span{font-size:11px}
@media(min-width:701px) and (max-height:850px){.sidebar .brand{margin-bottom:23px}.sidebar-bottom{padding-top:16px}.private-note{display:none}.nav-label{margin-top:20px}.sidebar{padding-top:25px}}
@media(max-width:700px){input,select,textarea{font-size:16px}.filters select,.search>input{font-size:16px}.workspace-footer{font-size:10px}.topbar,.privacy-pill{font-size:11px}.auth-foot,.auth-footer{font-size:11px}.card-link{font-size:12px}}
.workspace{margin:0 auto}
/* Interactive family portrait */
.family-3d{margin-bottom:26px;overflow:hidden;background:linear-gradient(130deg,#ffffffed,#f4f8ffed)}
.scene-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 28px 0;position:relative;z-index:1}
.scene-badge{display:block;font-size:11px;font-weight:700;letter-spacing:1.7px;color:#728bb0;margin-bottom:7px}
.scene-heading h2{font-size:21px}.scene-heading p{font-size:14px;color:#7b8aa2;margin-top:6px}.scene-heading .button{font-size:13px}
.scene-viewport{height:430px;position:relative;background:radial-gradient(ellipse at 50% 72%,#d8e4f77a,transparent 65%)}
#family-canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab;outline-offset:-5px}#family-canvas:active{cursor:grabbing}#family-canvas.has-target{cursor:pointer}
.scene-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:30px;text-align:center;color:#7a8ca7;font-size:14px;pointer-events:none;z-index:2}
.scene-hover{position:absolute;left:50%;bottom:70px;transform:translateX(-50%);background:#20324ce8;color:white;border-radius:8px;padding:8px 13px;pointer-events:none;font-size:13px;max-width:90%;text-align:center;z-index:2}
.scene-controls{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:flex;gap:3px;padding:5px;border:1px solid #fff;background:#ffffffd9;backdrop-filter:blur(12px);box-shadow:0 4px 15px #41577c10;border-radius:14px}
.scene-controls button{border:0;border-radius:9px;background:transparent;color:#58739e;width:42px;height:38px;font-size:25px;line-height:1}.scene-controls button:hover{background:#eaf1fc;color:#225cd5}.scene-controls>span{width:1px;background:#e2e9f3;margin:7px 5px}
.scene-members{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;padding:10px 25px 0}.scene-member{display:flex;gap:9px;align-items:center;border:1px solid #e4ebf5;background:#ffffffb0;border-radius:50px;padding:8px 12px 8px 8px;color:#60738f;font-size:14px;max-width:100%;transition:background .15s,border-color .15s}.scene-member>span:not(.avatar){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:160px}.scene-member>svg{width:14px;height:14px;color:#95a7c0}.scene-member:hover,.scene-member.is-highlighted{background:#eaf2ff;border-color:#adc7f0;color:#225cd5}.scene-caption{text-align:center;font-size:12px;color:#8f9db1;padding:14px 20px 20px}
.scene-ready+.family-grid{display:none}.scene-unavailable .scene-viewport{height:140px}.scene-unavailable canvas,.scene-unavailable .scene-controls{display:none}.scene-unavailable #scene-reset{display:none}
@media(max-width:960px){.scene-heading{align-items:flex-start;padding:23px 22px 0}.scene-heading h2{font-size:19px}.scene-heading p{font-size:13px;max-width:320px}.scene-heading .button{font-size:12px;padding:9px 11px}.scene-viewport{height:390px}.scene-member{font-size:13px}}
@media(max-width:700px){.scene-heading{display:block;padding:22px 19px 0}.scene-heading .button{position:absolute;right:17px;top:17px;font-size:11px;min-height:32px;padding:6px 9px}.scene-badge{font-size:9px;letter-spacing:1px;margin-bottom:15px}.scene-heading h2{font-size:18px}.scene-heading p{font-size:13px;line-height:1.6}.scene-viewport{height:335px}.scene-members{gap:8px;padding:0 14px}.scene-member{font-size:13px;padding-right:9px;gap:6px}.scene-member>span:not(.avatar){max-width:105px}.scene-member>svg{display:none}.scene-caption{font-size:11px;padding:15px 20px 18px}.scene-hover{font-size:12px;bottom:67px}.scene-controls button{width:40px;height:37px}}
/* Family surname branding. */
.brand-name{font-size:16px;letter-spacing:.4px;line-height:1.2}.brand-mark{font-size:28px;letter-spacing:-1px;padding:0;flex-shrink:0}.brand-sub{font-size:9px;letter-spacing:2px}.auth-brand .brand-name{font-size:20px}.sidebar .brand{gap:9px;margin-left:5px;margin-right:0}
@media(max-width:1180px) and (min-width:701px){.sidebar .brand-name{font-size:13px}.sidebar .brand-mark{width:35px;height:35px;font-size:24px}.sidebar .brand-sub{font-size:8px;letter-spacing:1.5px}}
@media(max-width:700px){.brand-name{font-size:15px}.auth-brand .brand-name{font-size:18px}}
.scene-view-buttons{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.scene-view-buttons .button{font-size:12px}.scene-unavailable .scene-view-buttons{display:none}
@media(max-width:960px){.scene-heading{flex-wrap:wrap}.scene-view-buttons{justify-content:flex-start}}
@media(max-width:700px){.scene-heading .scene-view-buttons .button{position:static;min-height:38px;font-size:12px}.scene-view-buttons{margin-top:12px}.scene-heading .scene-badge{margin-bottom:8px}}

/* Reveal the canvas only after the configured personal model is ready. */
.family-3d:not(.scene-ready) #family-canvas,.family-3d:not(.scene-ready) .scene-controls{visibility:hidden}
