/* Read-only Account identity and compact existing wallet material. No new optics,
   funding controls, balance calculation or account/loader/gesture behavior. */
html body:has(#member-auth-title) :is(dialog.member-auth,#ht-workspace-surface > dialog.member-auth)[data-mode=profile] :is(.member-name-field,.member-photo-field,.member-primary),
html body:has(#member-auth-title) :is(dialog.member-auth,#ht-workspace-surface > dialog.member-auth) .member-name-field,
html body:has(#member-auth-title) .member-identity-r359[hidden] {display:none!important;}
html body:has(#member-auth-title) .member-identity-r359 {
  box-sizing:border-box;display:flex;align-items:center;gap:13px;
  width:100%;max-width:460px;margin:0 auto 14px;padding:13px 14px;
  border:1px solid #31576d;border-radius:14px;background:#0d293e;
  color:#ecf7ff;text-align:left;box-shadow:inset 0 1px #e2f6ff09;
}
html body:has(#member-auth-title) .member-identity-avatar-r359 {
  display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;
  border:1px solid #46748b;border-radius:16px;background:#153b51;
  overflow:hidden;color:#a6d5eb;
}
html body:has(#member-auth-title) .member-identity-avatar-r359 .member-avatar,
html body:has(#member-auth-title) .member-identity-avatar-r359 .member-avatar>img {
  display:grid;place-items:center;width:100%!important;height:100%!important;
  max-width:none!important;border:0!important;border-radius:inherit!important;
  padding:0!important;margin:0!important;object-fit:cover;
}
html body:has(#member-auth-title) .member-identity-avatar-r359 svg {display:block;width:27px;height:27px;}
html body:has(#member-auth-title) .member-identity-copy-r359 {min-width:0;flex:1;}
html body:has(#member-auth-title) .member-identity-copy-r359>h3 {
  margin:0!important;color:#f0f8fc!important;font:inherit;font-size:17px;
  font-weight:700;line-height:1.45;overflow-wrap:anywhere;
}
html body:has(#member-auth-title) .member-identity-copy-r359>p {
  margin:3px 0 0!important;font-size:12px!important;line-height:1.5;
  color:#a9c7da!important;overflow-wrap:anywhere;
}
html body:has(#member-auth-title) .member-identity-copy-r359>.member-identity-source-r359 {
  margin-top:5px!important;color:#87b5cb!important;
}
html body:has(#member-auth-title) :is(dialog.member-auth,#ht-workspace-surface > dialog.member-auth)[data-mode=profile] form {gap:0!important;}
html body[data-workspace-page=profile]:has(#member-auth-title) #ht-workspace-surface .customer-wallet-r355 {
  padding:13px 14px;border-color:#37677f;border-radius:15px;
  background:linear-gradient(125deg,#153c52,#0d2b40 82%);
  box-shadow:inset 0 1px #d8f4ff14,0 3px 10px #020e191a;
}
html body[data-workspace-page=profile]:has(#member-auth-title) #ht-workspace-surface .customer-wallet-balance-r355 h3 {color:#acd0e1;}
html body[data-workspace-page=profile]:has(#member-auth-title) #ht-workspace-surface .customer-wallet-value-r355 {letter-spacing:-.5px;}
html body[data-workspace-page=profile]:has(#member-auth-title) #ht-workspace-surface .customer-wallet-deposit-r355:disabled {
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  border-color:#527b90;background:#244b60;color:#b2cedd;
  min-height:44px;opacity:1!important;cursor:not-allowed;box-shadow:inset 0 1px #e5f7ff0d!important;
}
html body[data-workspace-page=profile]:has(#member-auth-title) #ht-workspace-surface .customer-wallet-deposit-r355:disabled::before {
  content:"";display:block;flex:0 0 15px;width:15px;height:15px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10' width='14' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3m-4 5v2'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10' width='14' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3m-4 5v2'/%3E%3C/svg%3E") center/contain no-repeat;
}
@media(max-width:420px) {
  html body:has(#member-auth-title) .member-identity-r359 {padding:11px 12px;gap:11px;margin-bottom:12px;}
  html body:has(#member-auth-title) .member-identity-avatar-r359 {flex-basis:48px;width:48px;height:48px;border-radius:14px;}
  html body:has(#member-auth-title) .member-identity-copy-r359>h3 {font-size:16px;}
  html body[data-workspace-page=profile]:has(#member-auth-title) #ht-workspace-surface .customer-wallet-r355 {padding:11px 12px;}
}
@media(forced-colors:active) {
  html body:has(#member-auth-title) .member-identity-r359,
  html body:has(#member-auth-title) .member-identity-avatar-r359,
  html body[data-workspace-page=profile]:has(#member-auth-title) #ht-workspace-surface .customer-wallet-r355 {
    background:Canvas;color:CanvasText;border-color:CanvasText;box-shadow:none;
  }
  html body:has(#member-auth-title) .member-identity-copy-r359>h3,
  html body:has(#member-auth-title) .member-identity-copy-r359>p {color:CanvasText!important;}
  html body[data-workspace-page=profile]:has(#member-auth-title) #ht-workspace-surface .customer-wallet-deposit-r355:disabled {background:Canvas;color:GrayText;border-color:GrayText;}
}
