/* 个人资料采用整行入口，底部操作随页面高度靠下排列。 */
#view.profile-active{display:flex;flex-direction:column;padding-bottom:10px}
#view.profile-active>.page{flex:1;min-height:100%;display:flex;flex-direction:column}
.profile-page-body{display:flex;flex-direction:column;flex:1;padding-top:12px}
.profile-info-card{background:#fff;border-radius:12px;padding:0 14px;flex-shrink:0}
.profile-info-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:59px;padding:14px 0;border-bottom:1px solid #f2f3f6;text-align:left;font-size:14px}
.profile-info-row:last-child{border-bottom:0}
.profile-info-row>span:first-child{flex-shrink:0;color:#9297a0}
.profile-row-value{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;text-align:right;color:#343d4d;overflow-wrap:anywhere}
.profile-row-value i{font-style:normal;color:#bbc1cb;font-size:23px;line-height:1}
.profile-avatar{display:inline-flex;width:46px;height:46px;border-radius:50%;overflow:hidden;background:#e4edf5;flex-shrink:0;align-items:center;justify-content:center}
.profile-avatar img{width:100%;height:100%;object-fit:contain}
.avatar-blue img{filter:hue-rotate(190deg)}
.avatar-green img{filter:hue-rotate(115deg)}
.identity-info-card{margin-top:16px}
.current-identity-row{align-items:flex-start;padding-top:17px;padding-bottom:17px}
.current-identity-row>span:first-child{line-height:22px}
.current-identity-row .profile-row-value{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.current-identity-row b{font-weight:500;font-size:14px;line-height:22px}
.current-identity-row small{font-size:12px;line-height:1.7;color:#8e98a7}
.profile-identity-line{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.profile-identity-tag{margin:0}
.profile-cert-status{font-size:12px;line-height:1.7;white-space:nowrap}
.profile-cert-status.is-certified{color:#1a9b70}
.profile-cert-status.is-unverified{color:#9a9088}
.profile-identity-meta{display:flex;align-items:center;justify-content:flex-end;gap:12px;max-width:230px}
.profile-cert-entry{flex-shrink:0;color:var(--brand);font-size:13px;line-height:1.7;padding:0}
.profile-bottom-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:auto;padding-top:40px}
.profile-bottom-actions button{background:#fff;border-radius:10px;min-height:52px;font-size:14px}
.profile-bottom-actions button:first-child{color:var(--brand)}
.device.identity-mode{background:linear-gradient(180deg,#bfe1fb 0,#deecf7 180px,#f5f7fb 360px)}
.identity-mode .brandbar,.identity-mode .status{background:transparent}
.identity-switch-page{padding-top:14px}
.identity-group{margin:4px 0 28px}
.identity-group h3{display:flex;justify-content:center;align-items:center;gap:9px;font-size:18px;font-weight:600;margin:0 0 20px}
.identity-group-icon{display:grid;place-items:center;width:25px;height:28px;border-radius:6px;background:#0072e5;color:white}
.identity-group-icon .ico{width:19px;height:19px}
.identity-group-enterprise .identity-group-icon{background:#0072e5}
.identity-group-personal .identity-group-icon{background:#5b9b8d}
.identity-option+.identity-option{margin-top:12px}
.identity-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:76px;padding:19px 16px;border-radius:13px;background:white;text-align:left;border:1px solid transparent}
.identity-option>span{font-size:16px;line-height:1.65;overflow-wrap:anywhere;flex:1;min-width:0}
.identity-option i{font-style:normal;font-size:29px;font-weight:300;color:#c7cdd4}
.identity-option small{color:#0072e5;white-space:nowrap;font-size:12px;flex-shrink:0}
.identity-option.is-current{border-color:#c3dff3}
.identity-demo-note{text-align:center;font-size:11px;line-height:1.8;color:#9daec0;margin-top:32px}
.profile-avatar-options{display:flex;justify-content:space-around;gap:12px;margin-top:16px}
.profile-avatar-options button{display:flex;flex-direction:column;align-items:center;gap:10px;padding:10px;border:1px solid transparent;border-radius:12px;font-size:13px}
.profile-avatar-options button[aria-pressed=true]{border-color:var(--brand);background:var(--brand-soft)}

.profile-name-sheet{position:absolute;inset:0;z-index:90;display:flex;align-items:flex-end;overflow:hidden;border-radius:inherit}
.profile-name-sheet-shade{position:absolute;inset:0;width:100%;height:100%;background:#241b176b;border:0}
.profile-name-sheet-panel{position:relative;width:100%;padding:10px 20px calc(22px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;background:#fff;box-shadow:0 -12px 32px #2c1f1830;animation:profile-sheet-in .2s ease-out}
.profile-name-sheet-handle{display:block;width:38px;height:4px;margin:0 auto 17px;border-radius:999px;background:#d8d1cc}
.profile-name-sheet-panel h3{margin:0 0 20px;font-size:19px;color:#24201f;text-align:center}
.profile-name-sheet-panel label{display:grid;gap:9px;color:#6f6660;font-size:13px}
.profile-name-sheet-panel input{width:100%;height:48px;padding:0 13px;border:1px solid #e5ddd8;border-radius:8px;background:#f8f7f5;color:#24201f;font-size:15px;outline:none}
.profile-name-sheet-panel input:focus{border-color:var(--brand);box-shadow:0 0 0 3px #b5262d10}
.profile-name-sheet-panel>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}
.profile-name-sheet-panel :is(.primary,.secondary){min-height:46px;margin:0;border-radius:8px}
@keyframes profile-sheet-in{from{transform:translateY(100%)}to{transform:translateY(0)}}

.profile-bottom-actions button:first-child{color:var(--danger)}
