.profile-page{flex-direction:column;min-height:100dvh;display:flex}.dash-scroll--subpage .profile-page{min-height:0}.profile-page__head{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:16px 20px 8px;display:flex}.profile-page__head-start{flex:1;align-items:center;gap:12px;min-width:0;display:flex}.profile-page__back{background:color-mix(in srgb, var(--color-fg) 6%, transparent);width:40px;height:40px;color:var(--color-fg);cursor:pointer;border:0;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.profile-page__back svg{transform:rotate(180deg)}.profile-page__back:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.profile-page__head-main{flex-wrap:nowrap;flex:1;align-items:center;gap:8px 14px;min-width:0;display:flex}.profile-page__title{margin:0;font-size:18px;font-weight:800}.profile-page__saving-status{flex-shrink:0}.profile-page__head .fm-loading{color:var(--color-fg-muted);font-size:12px}@media (min-width:834px){.profile-page__head{display:none}}.profile-page__body{flex:1;padding:16px 20px 32px;overflow:auto}.profile-form{flex-direction:column;gap:20px;max-width:520px;margin:0 auto;display:flex}.profile-identity{align-items:flex-start;gap:16px;display:flex}.profile-identity__fields{flex-direction:column;flex:50%;gap:20px;min-width:0;display:flex}.profile-identity__media{flex-direction:column;flex:none;align-items:stretch;gap:10px;width:min(200px,46%);display:flex;container-type:inline-size}@media (max-width:833px){.profile-identity{grid-template-rows:auto auto;grid-template-columns:1fr 108px;gap:20px 10px;display:grid}.profile-identity__fields{display:contents}.profile-identity__fields>fieldset{grid-area:1/1}.profile-identity__fields>label{grid-area:2/1}.profile-identity__media{flex-direction:column;grid-area:1/2/3;justify-content:flex-end;align-self:end;align-items:center;gap:4px;width:108px;display:flex}.profile-identity__media>.profile-avatar{flex-shrink:0;width:108px;height:108px}}.profile-avatar{aspect-ratio:1;border-radius:var(--radius-md);width:100%;box-shadow:var(--dash-hairline,0 0 0 1px color-mix(in srgb, var(--color-fg) 10%, transparent));flex-shrink:0;overflow:hidden}.profile-avatar__img{object-fit:cover;width:100%;height:100%;display:block}.profile-avatar--fallback{color:#fff;background:linear-gradient(135deg, var(--crimson-600), var(--crimson-900));justify-content:center;align-items:center;font-size:40cqi;font-weight:900;line-height:1;display:flex}.profile-avatar--zoomable{cursor:zoom-in}.profile-avatar--zoomable:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.profile-avatar-lightbox{z-index:95;padding:max(16px, env(safe-area-inset-top,0px)) max(16px, env(safe-area-inset-right,0px)) max(16px, env(safe-area-inset-bottom,0px)) max(16px, env(safe-area-inset-left,0px));justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.profile-avatar-lightbox__backdrop{appearance:none;cursor:zoom-out;background:#000000d1;border:0;margin:0;padding:0;position:absolute;inset:0}.profile-avatar-lightbox__content{--profile-avatar-lightbox-max:min(92vw, 92dvh - 4rem, 520px);--profile-avatar-lightbox-min:max(calc(var(--profile-avatar-lightbox-source-size,40px) * 2.75), min(72vw, 300px));z-index:1;width:clamp(var(--profile-avatar-lightbox-min), var(--profile-avatar-lightbox-max), var(--profile-avatar-lightbox-max));max-width:var(--profile-avatar-lightbox-max);max-height:var(--profile-avatar-lightbox-max);justify-content:center;align-items:center;display:flex;position:relative}.profile-avatar-lightbox__close{background:var(--color-surface);width:36px;height:36px;color:var(--color-fg);cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;display:inline-flex;position:absolute;inset-block-start:-12px;inset-inline-start:-12px;box-shadow:0 4px 16px #0000003d}.profile-avatar-lightbox__close:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.profile-avatar-lightbox__img{aspect-ratio:1;width:100%;height:auto;max-height:var(--profile-avatar-lightbox-max);border-radius:var(--radius-md);object-fit:contain;display:block;box-shadow:0 16px 48px #00000059}.profile-avatar-change{color:var(--color-brand-on-surface);cursor:pointer;direction:rtl;background:0 0;border:0;flex-shrink:0;justify-content:center;align-items:center;gap:6px;font-size:13px;font-weight:700;display:inline-flex}.profile-avatar-change:hover{text-decoration:underline}.profile-avatar-change:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px;border-radius:4px}.profile-avatar-change__icon{flex-shrink:0;width:16px;height:16px}.profile-form fieldset{border:0;min-width:0;margin:0;padding:0}.profile-form legend.landing-field__label{width:100%;margin-bottom:0;padding:0}.profile-field-label{align-items:center;gap:6px;max-width:100%;display:inline-flex}.profile-field-label__text{min-width:0}.profile-field-help{flex-shrink:0;display:inline-flex;position:relative}.profile-field-help__trigger{background:color-mix(in srgb, var(--color-fg) 8%, transparent);width:22px;height:22px;color:var(--color-fg-muted);cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;padding:0;transition:color .15s,background .15s,box-shadow .15s;display:inline-flex}.profile-field-help__trigger:hover,.profile-field-help__trigger[aria-expanded=true]{color:var(--color-brand-on-surface);background:color-mix(in srgb, var(--color-brand-on-surface) 16%, transparent);box-shadow:0 0 0 1px color-mix(in srgb, var(--color-brand-on-surface) 35%, transparent)}.profile-field-help__trigger:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.profile-field-help__popover{box-sizing:border-box;z-index:85;border:1px solid color-mix(in srgb, var(--cream-500) 28%, var(--border));background:var(--popover,var(--color-bg));min-width:200px;color:var(--color-fg);font-family:var(--font-script);text-align:start;box-shadow:0 16px 40px #0000006b, 0 0 0 1px color-mix(in srgb, var(--color-fg) 8%, transparent);border-radius:12px;padding:11px 13px;font-size:14px;line-height:1.6;animation:.16s ease-out profile-field-help-in}[data-theme=light] .profile-field-help__popover{border-color:color-mix(in srgb, var(--ink-900) 14%, var(--border));box-shadow:0 12px 28px #00000024, 0 0 0 1px color-mix(in srgb, var(--ink-900) 6%, transparent)}@keyframes profile-field-help-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.profile-field-help__popover{animation:none}}.profile-phone-row{border:1px solid var(--border);background:color-mix(in srgb, var(--color-fg) 4%, transparent);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.profile-phone-row__value{letter-spacing:.02em;font-size:15px;font-weight:600}.profile-phone-row__change{color:var(--color-brand-on-surface);cursor:pointer;direction:rtl;background:0 0;border:0;flex-shrink:0;align-items:center;gap:6px;font-size:13px;font-weight:700;display:inline-flex}.profile-phone-row__change-icon{flex-shrink:0;width:16px;height:16px}.profile-phone-row__change:hover{text-decoration:underline}.profile-phone-row__change:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px;border-radius:4px}.profile-phone-row__change:disabled{color:var(--color-fg-muted);cursor:not-allowed;opacity:.65;text-decoration:none}.profile-form select.landing-field__input{appearance:none;cursor:pointer;background:color-mix(in srgb, var(--color-fg) 6%, transparent)}.profile-form select.landing-field__input option{background-color:var(--color-bg);color:var(--color-fg)}.profile-choice-options{flex-flow:row;gap:8px;margin-top:4px;display:flex}.profile-choice-option{border:1px solid var(--border);background:color-mix(in srgb, var(--color-fg) 4%, transparent);min-width:0;color:var(--color-fg);cursor:pointer;white-space:nowrap;border-radius:10px;flex:1 1 0;justify-content:center;align-items:center;gap:6px;padding:10px 8px;font-size:13px;font-weight:600;display:flex}.profile-choice-option:has(input:checked){border-color:var(--cream-500);background:color-mix(in srgb, var(--cream-500) 12%, transparent)}[data-theme=light] .profile-choice-option:has(input:checked){border-color:var(--ink-900);background:color-mix(in srgb, var(--ink-900) 8%, transparent)}.profile-choice-option input{accent-color:var(--cream-500)}[data-theme=light] .profile-choice-option input{accent-color:var(--ink-900)}.profile-form textarea.landing-field__input{resize:vertical;min-height:120px}.profile-credentials-action{color:var(--color-brand-on-surface);cursor:pointer;direction:rtl;background:0 0;border:0;align-self:flex-start;align-items:center;gap:6px;margin-top:4px;padding:0;font-size:13px;font-weight:700;display:inline-flex}.profile-credentials-action__icon{flex-shrink:0;width:16px;height:16px}.profile-credentials-action:hover{text-decoration:underline}.profile-credentials-action:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px;border-radius:4px}.profile-password-sheet__form{flex-direction:column;gap:16px;padding-top:4px;display:flex}.profile-password-sheet__submit{margin-top:4px}.landing-sheet-root:has(.profile-password-sheet){z-index:70}.profile-password-sheet.landing-sheet{overflow-y:auto}@media (min-width:720px){.landing-sheet-root:has(.profile-password-sheet){justify-content:center;align-items:center;padding:24px}.profile-password-sheet.landing-sheet{--landing-sheet-bottom-chrome:0px;border-bottom:1px solid var(--border);opacity:0;border-radius:16px;width:min(100%,440px);max-height:min(85dvh,560px);padding:24px;scroll-padding-bottom:0;transition:transform .25s,opacity .25s;transform:translateY(12px)scale(.96);box-shadow:0 24px 48px #00000029}.landing-sheet-root--open:has(.profile-password-sheet) .profile-password-sheet{opacity:1;transform:translateY(0)scale(1)}.profile-password-sheet .landing-sheet__handle{display:none}}.landing-sheet-root:has(.profile-phone-sheet){z-index:70}.profile-phone-sheet.landing-sheet{overflow-y:auto}.profile-phone-sheet__form{flex-direction:column;gap:16px;padding-top:4px;display:flex}.profile-phone-sheet__step{flex-direction:column;gap:16px;display:flex}.profile-phone-sheet__step--hidden{display:none}.profile-phone-sheet__intro{color:var(--color-fg-muted);margin:0;font-size:14px;line-height:1.75}.profile-phone-sheet__hint{color:var(--color-fg-muted);margin:0;font-size:13px;line-height:1.65}.profile-phone-sheet__actions{flex-direction:column;gap:10px;display:flex}.profile-phone-sheet__text-btn{direction:rtl;align-items:center;gap:6px;display:inline-flex}.profile-phone-sheet__text-btn-icon{flex-shrink:0;width:16px;height:16px}.profile-phone-sheet__cancel{color:var(--color-fg-muted);cursor:pointer;direction:rtl;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;padding:8px;font-size:14px;font-weight:600;display:inline-flex}.profile-phone-sheet__cancel:hover{color:var(--color-fg)}.profile-phone-sheet__cancel:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px;border-radius:4px}@media (min-width:720px){.landing-sheet-root:has(.profile-phone-sheet){justify-content:center;align-items:center;padding:24px}.profile-phone-sheet.landing-sheet{--landing-sheet-bottom-chrome:0px;border-bottom:1px solid var(--border);opacity:0;border-radius:16px;width:min(100%,440px);max-height:min(85dvh,560px);padding:24px;scroll-padding-bottom:0;transition:transform .25s,opacity .25s;transform:translateY(12px)scale(.96);box-shadow:0 24px 48px #00000029}.landing-sheet-root--open:has(.profile-phone-sheet) .profile-phone-sheet{opacity:1;transform:translateY(0)scale(1)}.profile-phone-sheet .landing-sheet__handle{display:none}}.landing-sheet-root:has(.profile-avatar-sheet:not(.cs-image-crop-sheet)){z-index:70}.profile-avatar-sheet.landing-sheet{overflow-y:auto}.profile-avatar-sheet--crop.landing-sheet{max-height:min(100dvh - 72px,720px)}@media (max-width:719px){.profile-avatar-sheet--crop .profile-avatar-cropper{flex:auto;min-height:0}.profile-avatar-sheet--crop .profile-avatar-cropper__stage{height:min(44dvh,300px)}.profile-avatar-sheet--crop .profile-avatar-cropper__zoom,.profile-avatar-sheet--crop .profile-avatar-cropper__actions{flex-shrink:0}.profile-avatar-sheet--crop .profile-avatar-cropper__actions{z-index:1;background:var(--background);padding-top:8px;position:sticky;bottom:0}}.profile-avatar-sheet__body{flex-direction:column;gap:16px;padding-top:4px;display:flex}.profile-avatar-sheet__warning{color:var(--color-fg-muted);margin:0;font-size:13px;line-height:1.65}.profile-avatar-sheet__upload-actions{flex-direction:column;gap:10px;display:flex}.profile-avatar-sheet__file-input{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.profile-avatar-sheet__camera-btn{justify-content:center;height:auto;min-height:44px;padding:10px 18px;font-size:14px;font-weight:700}.profile-avatar-sheet__gallery-header{color:var(--color-fg);align-items:center;gap:8px;font-size:14px;font-weight:700;display:inline-flex}.profile-avatar-sheet__gallery-icon{flex-shrink:0;width:18px;height:18px}.profile-avatar-sheet__loading{color:var(--color-fg-muted);margin:0;font-size:14px}.profile-avatar-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}@media (min-width:480px){.profile-avatar-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}}.profile-avatar-gallery__empty{color:var(--color-fg-muted);margin:0;font-size:14px;line-height:1.7}.profile-avatar-gallery__item{position:relative}.profile-avatar-gallery__select{aspect-ratio:1;border-radius:var(--radius-md);background:color-mix(in srgb, var(--color-fg) 6%, transparent);cursor:pointer;border:2px solid #0000;width:100%;padding:0;display:block;position:relative;overflow:hidden}.profile-avatar-gallery__item--active .profile-avatar-gallery__select{border-color:var(--cream-500)}[data-theme=light] .profile-avatar-gallery__item--active .profile-avatar-gallery__select{border-color:var(--ink-900)}.profile-avatar-gallery__img{object-fit:cover;width:100%;height:100%;display:block}.profile-avatar-gallery__active-badge{background:var(--cream-500);width:22px;height:22px;color:var(--ink-900);border-radius:999px;justify-content:center;align-items:center;display:inline-flex;position:absolute;inset:auto 6px 6px auto}[data-theme=light] .profile-avatar-gallery__active-badge{background:var(--ink-900);color:#fff}.profile-avatar-gallery__active-badge svg{width:14px;height:14px}.profile-avatar-gallery__delete{color:#fff;cursor:pointer;background:#0000008c;border:0;border-radius:999px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;display:inline-flex;position:absolute;top:6px;left:6px}.profile-avatar-gallery__delete svg{width:14px;height:14px}.profile-avatar-gallery__confirm{border-radius:var(--radius-md);background:#000000c7;flex-direction:column;justify-content:center;gap:8px;padding:8px;display:flex;position:absolute;inset:0}.profile-avatar-gallery__confirm-text{color:#fff;text-align:center;margin:0;font-size:11px;line-height:1.5}.profile-avatar-gallery__confirm-actions{justify-content:center;gap:6px;display:flex}.profile-avatar-gallery__confirm-btn{cursor:pointer;color:#fff;background:#ffffff29;border:0;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:700}.profile-avatar-gallery__confirm-btn--danger{background:var(--crimson-600)}.profile-avatar-cropper{flex-direction:column;gap:16px;padding-top:4px;display:flex}.profile-avatar-cropper__stage{border-radius:var(--radius-md);background:#111;width:100%;height:min(52dvh,360px);position:relative;overflow:hidden}.profile-avatar-cropper__zoom{color:var(--color-fg-muted);flex-direction:column;gap:8px;font-size:13px;font-weight:600;display:flex}.profile-avatar-cropper__zoom input[type=range]{width:100%}.profile-avatar-cropper__actions{flex-direction:column;gap:10px;display:flex}.profile-avatar-cropper__cancel,.profile-avatar-cropper__confirm{justify-content:center}.profile-avatar-cropper__cancel{border-radius:10px;height:auto;min-height:44px;padding:10px 18px;font-size:14px;font-weight:700}@media (min-width:720px){.landing-sheet-root:has(.profile-avatar-sheet){justify-content:center;align-items:center;padding:24px}.profile-avatar-sheet.landing-sheet{--landing-sheet-bottom-chrome:0px;border-bottom:1px solid var(--border);opacity:0;border-radius:16px;width:min(100%,480px);max-height:min(85dvh,640px);padding:24px;scroll-padding-bottom:0;transition:transform .25s,opacity .25s;transform:translateY(12px)scale(.96);box-shadow:0 24px 48px #00000029}.profile-avatar-sheet--crop.landing-sheet{max-height:min(88dvh,680px)}.landing-sheet-root--open:has(.profile-avatar-sheet) .profile-avatar-sheet{opacity:1;transform:translateY(0)scale(1)}.profile-avatar-sheet .landing-sheet__handle{display:none}.profile-avatar-gallery{grid-template-columns:repeat(5,minmax(0,1fr))}}