.selfwrite-mockup{background:var(--bg-primary);border-radius:160px/175px;corner-shape:squircle;padding:50px;margin:40px auto 0;width:90vw;height:80vh;overflow-y:auto;font-family:var(--UAF-compact-font);position:relative;display:flex;flex-direction:column;justify-content:flex-start}.selfwrite-mockup__main{width:100%;max-width:100%}.selfwrite-mockup__toggle{display:flex;gap:0;margin-bottom:1.5rem;border:1px solid var(--border-medium);border-radius:14px;padding:4px;width:-moz-fit-content;width:fit-content;min-height:48px}.selfwrite-mockup__toggle-btn{font-family:var(--UAF-compact-font);font-size:14px;font-weight:400;border:none;border-radius:10px;padding:.6rem 1.4rem;cursor:pointer;background:rgba(0,0,0,0);color:var(--text-primary);transition:background .18s,color .18s}.selfwrite-mockup__toggle-btn--active{background:var(--btn-toggle-active);color:var(--text-white)}.selfwrite-mockup__toggle-btn:not(.selfwrite-mockup__toggle-btn--active):hover{background:var(--bg-primary);color:var(--text-primary)}.selfwrite-mockup__title{font-size:40px;font-family:var(--UAF-compact-font);font-weight:700;color:var(--text-link);margin:0 0 12px;line-height:1.1;letter-spacing:.5px}.selfwrite-mockup__desc{font-size:20px;color:var(--text-light);margin-bottom:32px;line-height:1.4;font-family:var(--UAF-compact-font);font-weight:400;display:flex;align-items:center;gap:8px}.selfwrite-mockup__questions-link{color:var(--text-link);text-decoration:underline;font-weight:500;font-family:var(--UAF-compact-font);font-size:18px;margin-left:8px;cursor:pointer;transition:color .2s}.selfwrite-mockup__questions-link:hover{color:var(--text-link-hover);text-decoration:none}.selfwrite-mockup__form{width:100%;display:flex;flex-direction:column;gap:0;margin-bottom:0}.selfwrite-mockup__title-wrapper{width:100%;margin-bottom:24px}.selfwrite-mockup__title-input{width:100%;padding:0;border:none;border-bottom:2px solid var(--border-light);font-size:32px;font-family:var(--UAF-compact-font);font-weight:700;color:var(--text-primary);background:var(--color-transparent);outline:none;transition:border-color .2s}.selfwrite-mockup__title-input:focus{border-bottom-color:var(--link-color)}.selfwrite-mockup__title-input::placeholder{color:var(--input-text);font-weight:600}.selfwrite-mockup__textarea-wrapper{width:100%;min-height:0;flex:none;height:auto}.selfwrite-mockup__textarea{width:100%;min-height:30vh;max-height:none;padding:0;border:none;border-radius:0;font-size:22px;font-family:var(--UAF-compact-font);line-height:1.5;color:var(--text-primary);resize:none;overflow-y:hidden;box-shadow:none;margin-bottom:0;transition:none}.selfwrite-mockup__textarea,.selfwrite-mockup__textarea:focus{background:var(--color-transparent);outline:none}.selfwrite-mockup__textarea::placeholder{color:var(--input-text);font-style:normal;font-size:20px;font-family:var(--UAF-compact-font)}.selfwrite-mockup__actions{display:none}.selfwrite-mockup__photo-btn{display:flex;width:-moz-fit-content;width:fit-content;align-items:center;gap:8px;background:var(--btn-secondary);color:var(--text-link);font-family:var(--UAF-compact-font);font-size:16px;font-weight:700;border-radius:20px;padding:14px 32px 14px 20px;box-shadow:none;cursor:pointer;height:60px;border:1px solid var(--color-transparent)}.selfwrite-mockup__photo-btn:hover{background:var(--btn-secondary-hover);border:1px solid var(--border-medium)}.selfwrite-mockup__image-container{margin:20px 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));grid-gap:16px;gap:16px;width:100%;align-items:start}.selfwrite-mockup__image-wrapper{position:relative;width:100%;height:auto;max-height:500px;border-radius:28px;overflow:hidden}.selfwrite-mockup__image{width:100%;height:100%;object-fit:contain;display:block}.selfwrite-mockup__delete-btn{position:absolute;top:12px;right:12px;background:var(--header-button-color);border:none;border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.selfwrite-mockup__delete-btn:hover{transform:scale(1.1)}.selfwrite-mockup__delete-btn svg{width:16px;height:16px}.selfwrite-mockup__grid,.selfwrite-mockup__hint-desc,.selfwrite-mockup__hint-title,.selfwrite-mockup__hintbox{display:none!important}@media(max-width:900px){.selfwrite-mockup{padding:24px 12px 0;border-radius:32px}.selfwrite-mockup__title{font-size:28px}.selfwrite-mockup__title-input{font-size:24px}.selfwrite-mockup__desc{font-size:16px}.selfwrite-mockup__textarea{font-size:16px;min-height:180px}.selfwrite-mockup__image-container{margin:16px 0;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.selfwrite-mockup__image-wrapper{max-height:25vh}.selfwrite-mockup__image{min-height:160px;max-height:280px}.selfwrite-mockup__delete-btn{top:8px;right:8px;width:28px;height:28px}.selfwrite-mockup__delete-btn svg{width:14px;height:14px}}@media(max-width:768px){.selfwrite-mockup{height:100%;width:100%;padding:var(--edit-header-offset) 20px 30px;margin:0;border-radius:0;box-sizing:border-box}.selfwrite-mockup__main,.selfwrite-mockup__toggle{margin-top:0}.selfwrite-mockup__toggle-btn{font-size:10px;font-weight:400}.selfwrite-mockup__title-input{font-size:20px}.selfwrite-mockup__desc{font-size:12px}.selfwrite-mockup__textarea{font-size:16px;min-height:80px}.selfwrite-mockup__textarea::placeholder{font-size:16px}.selfwrite-mockup__image-container{margin:12px 0;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.selfwrite-mockup__image-wrapper{max-height:20vh}.selfwrite-mockup__image{min-height:120px;max-height:200px}.selfwrite-mockup__delete-btn{top:6px;right:6px;width:24px;height:24px}.selfwrite-mockup__delete-btn svg{width:12px;height:12px}.selfwrite-mockup__photo-btn{font-size:14px;padding:10px 15px;height:40px;border-radius:10px;border:none}.selfwrite-mockup__photo-btn svg{width:18px;height:18px}}.loadingGeneratedText{background:var(--bg-primary);border-radius:48px;padding:50px;margin:40px auto 0;width:90vw;min-height:80vh;font-family:var(--UAF-compact-font);position:relative}.loadingGeneratedText,.loadingGeneratedText__main{display:flex;flex-direction:column;justify-content:center;align-items:center}.loadingGeneratedText__main{width:100%;max-width:100%;background:rgba(0,0,0,0)}.loadingGeneratedText__text{margin-top:20px;font-size:24px;font-weight:500;color:var(--text-primary)}@media(max-width:900px){.loadingGeneratedText{padding:24px 12px 0;border-radius:32px}}@media(max-width:600px){.loadingGeneratedText{padding:8px 2vw 0;border-radius:16px}}.generation-loader{flex-direction:column;gap:.75rem;font-family:var(--UAF-compact-font)}.generation-loader,.generation-loader__icon{display:flex;align-items:center;justify-content:center}.generation-loader__icon{width:220px;height:220px;animation:generation-loader-pulse 2s ease-in-out infinite;color:var(--text-primary)}.generation-loader__icon svg{width:100%;height:100%}.generation-loader__icon svg circle,.generation-loader__icon svg line,.generation-loader__icon svg path,.generation-loader__icon svg polygon,.generation-loader__icon svg polyline,.generation-loader__icon svg rect{stroke:var(--text-primary)}.generation-loader__icon svg path[style*="fill: none"],.generation-loader__icon svg path[style*="fill:none"]{fill:none!important}.generation-loader__counter{font-size:3rem;font-weight:700;line-height:1;color:var(--text-primary);letter-spacing:-.02em;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.generation-loader__text{margin:0;font-size:1.125rem;font-weight:500;color:var(--input-text);text-align:center}.generation-loader__progress-track{width:220px;height:6px;border-radius:999px;background:var(--border-medium);overflow:hidden;margin-top:.25rem}.generation-loader__progress-fill{height:100%;border-radius:999px;background:var(--btn-primary);transition:width .1s linear}@keyframes generation-loader-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.06);opacity:.85}}@media(max-width:600px){.generation-loader__icon{width:160px;height:160px}.generation-loader__counter{font-size:2.25rem}.generation-loader__progress-track{width:160px}}.biography-edit{margin:0 auto;padding:2rem;width:100vw;font-family:var(--UAF-compact-font)}.biography-edit-form{padding:5% 8%;width:90%;background:var(--bg-primary);border-radius:160px/175px;corner-shape:squircle;box-sizing:border-box;display:grid;grid-template-columns:1fr 280px;grid-gap:80px;gap:80px;align-items:flex-start;margin:0 auto}.biography-edit-section-list{display:flex;flex-direction:column;gap:1rem}.biography-edit-section-list>div{transition:transform .3s ease,opacity .3s ease}.biography-edit-section-card{background:var(--bg-secondary);border-radius:28px;padding:2.2rem 2.5rem;display:flex;align-items:center;justify-content:space-between;box-shadow:none;min-height:80px;transition:all .25s cubic-bezier(.4,0,.2,1);user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative;overflow:visible}.biography-edit-section-card.dragging{opacity:.3;height:6px;min-height:6px;padding:0;border-radius:3px;background:var(--link-color);transform:scaleY(.1);cursor:-webkit-grabbing;cursor:grabbing;overflow:hidden}.biography-edit-section-card.dragging *{opacity:0;pointer-events:none}.biography-edit-section-card.drag-over{position:relative}.biography-edit-section-card.drag-over:before{content:"";position:absolute;top:-8px;left:0;right:0;height:4px;background:var(--link-color);border-radius:2px;box-shadow:0 0 12px var(--link-color);z-index:10}.card-back-lighter{background:var(--bg-white)}.card-back-lighter.dragging{background:var(--link-color)}.biography-edit-section-info{display:flex;flex-direction:row;align-items:center;gap:1rem}.biography-edit-section-drag-handle{cursor:-webkit-grab;cursor:grab;touch-action:none;display:flex;align-items:center;justify-content:center;padding:.5rem;opacity:.5;transition:all .2s ease;flex-shrink:0}.biography-edit-section-drag-handle:hover{opacity:1;transform:scale(1.1)}.biography-edit-section-drag-handle:active{cursor:-webkit-grabbing;cursor:grabbing;opacity:.8}.biography-edit-section-title{font-size:24px;font-weight:700;margin-bottom:.1rem}.biography-edit-section-subtitle,.biography-edit-section-title{color:var(--text-primary);user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.biography-edit-section-subtitle{font-size:14px;font-weight:400}.biography-edit-section-btn{font-family:var(--UAF-compact-font);background:var(--btn-secondary);border:1px solid var(--color-transparent);border-radius:16px;padding:.9rem 2.2rem;font-size:1.05rem;font-weight:600;color:var(--text-primary);cursor:pointer;box-shadow:none;transition:background .2s;margin-left:2rem;white-space:nowrap;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;-moz-user-select:none;user-select:none}.biography-edit-section-btn:hover{background:var(--btn-secondary-hover);border:1px solid var(--link-color)}.biography-edit-section-btn-order{font-family:var(--UAF-compact-font);background:var(--btn-secondary);border:1px solid var(--color-transparent);border-radius:12px;padding:.6rem;width:42px;height:42px;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:none;transition:all .2s;flex-shrink:0}.biography-edit-section-btn-order:hover{background:var(--btn-secondary-hover);border:1px solid var(--link-color);transform:translateY(-1px)}.biography-edit-section-btn-order:active{transform:translateY(0)}.biography-edit-add-custom-btn{font-family:var(--UAF-compact-font);width:100%;background:rgba(0,0,0,0);border:2px dashed var(--border-light);border-radius:24px;padding:2.2rem 2.5rem;font-size:1.15rem;font-weight:600;color:var(--text-primary);cursor:pointer;transition:all .2s;text-align:center;min-height:80px;display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;-moz-user-select:none;user-select:none}.biography-edit-add-custom-btn:hover{background:var(--btn-secondary-hover);border-color:var(--link-color)}.biography-edit-hint-wrapper{position:-webkit-sticky;position:sticky;top:100px;align-self:flex-start;max-width:220px;justify-self:flex-end}.biography-edit-hint-box{background:var(--btn-secondary-hover);border:1.5px solid var(--border-medium);border-radius:24px;padding:2.5rem 1.5rem;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;box-sizing:border-box}.biography-edit-hint-icon{width:180px;height:180px;margin-bottom:1rem;display:flex;align-items:center;justify-content:center}.biography-edit-hint-icon svg{width:100%;height:100%}.biography-edit-hint-title{font-size:1.1rem;font-weight:700;color:var(--text-primary);margin-bottom:.7rem;text-align:center}.biography-edit-hint-subtitle{font-size:1rem;color:var(--input-text);font-weight:400;text-align:center}.biography-edit__heading{font-size:32px;font-weight:700;margin-bottom:.7rem;letter-spacing:.01em}.biography-edit__description,.biography-edit__heading{text-align:center;color:var(--photo-text);font-family:var(--UAF-compact-font)}.biography-edit__description{margin-bottom:2.5rem;line-height:1.5;font-size:1.1rem;max-width:800px;margin-left:auto;margin-right:auto}.biography-page-section{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.biography-page-section__inner{display:flex;flex-direction:column;align-items:flex-start;width:100%}.biography-page-section__header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%}.biography-page-section__title-group{display:flex;align-items:center;gap:1rem;flex:1 1}.biography-page-section__drag-handle{cursor:-webkit-grab;cursor:grab;touch-action:none;display:flex;align-items:center;justify-content:center;opacity:.5;transition:all .2s ease;flex-shrink:0;padding:.25rem;margin-bottom:1.2rem}.biography-page-section__drag-handle:hover{opacity:1;transform:scale(1.1)}.biography-page-section__drag-handle:active{cursor:-webkit-grabbing;cursor:grabbing;opacity:.8}.biography-page-section__title{font-size:1.5rem;font-weight:700;color:var(--text-primary);margin-bottom:1.2rem;margin-top:0;letter-spacing:.01em;flex-shrink:0;width:70%}.biography-page-section__text-group{width:100%}.biography-page-section__text{font-size:1.08rem;color:var(--text-primary);line-height:1.6;margin-bottom:.7rem;margin-top:0;word-break:break-word}.biography-page-section__text:last-child{margin-bottom:20px}.biography-page-section__photos-wrap{width:100%;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));grid-gap:16px;gap:16px;margin-bottom:20px;align-items:flex-start}.biography-page-section__photo-wrap{width:100%;border-radius:28px;overflow:hidden}.biography-page-section__photo{border-radius:28px;width:100%;height:100%;object-fit:contain;display:block}.biography-page-section__footer{width:100%;display:flex;align-items:center;margin-top:.5rem}.biography-page-section__expand{color:var(--text-primary);font-size:1rem;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:pointer;transition:color .2s;padding:.2rem .5rem .2rem 0;border-radius:6px;background:none;border:none;outline:none}.biography-page-section__expand:hover{color:var(--text-light);text-decoration:underline;background:var(--btn-secondary-hover)}.biography-page-section__actions{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:1.1rem;margin-bottom:1.2rem;width:30%}.biography-page-section__delete-menu .action-menu__button{height:50px;width:50px;background:var(--btn-alt);border-radius:12px}.biography-page-section__delete-menu .action-menu__button:hover{background:var(--btn-alt-hover)}.biography-page-section__delete-menu .action-menu__dropdown{background:var(--bg-primary);border:none;border-radius:24px;min-width:420px;padding:20px;box-shadow:0 8px 32px rgba(0,0,0,.14)}.biography-page-section__delete-menu .action-menu__dropdown .action-menu__title{font-size:18px;font-weight:700;color:var(--text-primary);font-family:var(--UAF-compact-font);margin-bottom:16px;text-align:center}.biography-page-section__delete-menu .action-menu__dropdown .action-menu__items--row{display:flex;flex-direction:row;gap:12px}.biography-page-section__delete-menu .action-menu__dropdown .action-menu__item{flex:1 1;background:var(--btn-alt);color:var(--text-primary);font-family:var(--UAF-compact-font);font-size:18px;font-weight:700;border-radius:14px;padding:14px 12px;text-align:center;justify-content:center}.biography-page-section__delete-menu .action-menu__dropdown .action-menu__item:hover{background:var(--btn-alt-hover)}.biography-page-section__delete-menu .action-menu__dropdown .action-menu__item--danger{background:#fee4e2;color:#d92d20;display:flex;align-items:center;gap:8px}.biography-page-section__delete-menu .action-menu__dropdown .action-menu__item--danger:hover{background:#fececa}.biography-page-section__delete-menu .action-menu__dropdown .action-menu__item--danger .action-menu__item-icon{display:flex;align-items:center;flex-shrink:0}.biography-page-section__btn{height:50px;background:var(--btn-alt);color:var(--text-primary);font-family:var(--UAF-compact-font);font-size:18px;font-weight:700;border:none;border-radius:12px;padding:12px 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;-moz-user-select:none;user-select:none}.biography-page-section__btn:hover{background:var(--btn-alt-hover)}.biography-page-section__btn-icon{display:none}.biography-page-section__btn--order{width:50px;height:50px;padding:0;display:flex;align-items:center;justify-content:center;transition:all .2s}.biography-page-section__btn--order:hover{transform:translateY(-2px)}.biography-page-section__btn--order:active{transform:translateY(0)}@media(max-width:1440px){.biography-edit-form .biography-edit-hint-wrapper{justify-self:auto}}@media(max-width:1260px){.biography-edit-form{grid-template-columns:2fr 1fr;gap:40px;padding:5%}}@media(max-width:1139px){.biography-edit-form{padding:50px;grid-template-columns:1fr;gap:1.5rem;margin:0;width:100%}.biography-edit-hint-wrapper{position:static;order:1;max-width:100%;justify-self:stretch}.biography-edit-section-list{order:2;gap:10px}.biography-edit-hint-box{display:grid;grid-template-columns:1fr auto;grid-template-rows:1fr;align-items:flex-end;grid-column-gap:1.5rem;column-gap:1.5rem;padding:1.5rem 2rem;min-height:unset}.biography-edit-hint-icon{grid-column:2;grid-row:1/3;width:90px;height:90px;margin-bottom:0}.biography-edit-hint-content{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;width:90%;gap:5px}.biography-edit-hint-title{grid-column:1;grid-row:1;text-align:left;margin-bottom:.4rem;font-size:22px}.biography-edit-hint-subtitle{grid-column:1;grid-row:2;text-align:left;font-size:14px}}@media(max-width:768px){.biography-edit{padding:0;height:auto;margin:80px 0 auto;width:100vw}.biography-edit .biography-edit__heading{font-size:20px}.biography-edit .biography-edit__description{font-size:16px;width:90%;margin-bottom:20px}.biography-edit-add-custom-btn{padding:1.5rem 1rem;font-size:1rem;min-height:60px}.biography-edit-section-title{font-size:18px}.biography-edit-section-subtitle{font-size:14px}.biography-edit-form{grid-template-columns:1fr;gap:20px;padding:40px 20px;width:100%;margin:0 auto;border-radius:60px}.biography-edit-section-card{padding:10px;border-radius:24px;gap:1rem;-webkit-touch-callout:none}.biography-edit-section-card.dragging{opacity:.3;height:4px;min-height:4px;padding:0;border-radius:2px;background:var(--link-color);transform:scaleY(.1)}.biography-edit-section-card.dragging *{opacity:0;pointer-events:none}.biography-edit-section-card.drag-over{position:relative}.biography-edit-section-card.drag-over:before{content:"";position:absolute;top:-6px;left:0;right:0;height:3px;background:var(--link-color);border-radius:2px;box-shadow:0 0 8px var(--link-color);z-index:10}.biography-edit-section-card .biography-edit-section-info{width:100%;gap:.5rem}.biography-edit-section-card .biography-edit-section-drag-handle{padding:.25rem;-webkit-touch-callout:none}.biography-edit-section-card .biography-edit-section-drag-handle svg{width:16px;height:16px}.biography-edit-section-card .biography-edit-section-btn{width:45px;height:45px;display:flex;align-items:center;justify-content:center;padding:0;margin-left:0;flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.biography-edit-section-card .biography-edit-section-btn .biography-edit-section-btn-text{display:none}.biography-edit-section-card .biography-edit-section-btn-order{width:38px;height:38px;padding:.4rem}.biography-edit-hint-box{padding:1rem;border-radius:28px;column-gap:1rem}.biography-edit-hint-icon{width:90px;height:90px}.biography-page-section{border-radius:12px;padding:.7rem .3rem;max-width:98vw;-webkit-touch-callout:none}.biography-page-section.dragging{opacity:.3;height:4px;min-height:4px;padding:0;border-radius:2px;background:var(--link-color);transform:scaleY(.1)}.biography-page-section.dragging *{opacity:0;pointer-events:none}.biography-page-section.drag-over{position:relative}.biography-page-section.drag-over:before{content:"";position:absolute;top:-6px;left:0;right:0;height:3px;background:var(--link-color);border-radius:2px;box-shadow:0 0 8px var(--link-color);z-index:10}.biography-page-section__title-group{gap:.5rem}.biography-page-section__drag-handle{padding:.25rem;-webkit-touch-callout:none}.biography-page-section__drag-handle svg{width:16px;height:16px}.biography-page-section__title{font-size:1.1rem}.biography-page-section__photos-wrap{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.biography-page-section__photo-wrap{border-radius:10px}.biography-page-section__photo{max-width:98vw;border-radius:10px}.biography-page-section__expand{font-size:.95rem}.biography-page-section__actions{gap:.5rem;margin-bottom:.7rem}.biography-page-section__btn{width:50px;height:50px;display:flex;align-items:center;justify-content:center;padding:0;margin-left:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.biography-page-section__btn-text{display:none}.biography-page-section__btn-icon{display:block}.biography-page-section__btn--order{width:42px;height:42px}.biography-page-section__delete-btn{width:28px;height:28px}.biography-page-section__delete-btn svg{width:14px;height:14px}}