/* Personal center, isolated from other forms and account routes. */
html:has(body.hb-profile-a-active), body.hb-profile-a-active, .hb-profile-a-active * { scrollbar-width: none; scrollbar-gutter: auto; }
html:has(body.hb-profile-a-active)::-webkit-scrollbar, body.hb-profile-a-active::-webkit-scrollbar, .hb-profile-a-active *::-webkit-scrollbar { display: none; width: 0; height: 0; }
.hb-profile-a-active .hb-profile-a-view { padding: 30px 32px 32px; color: #172846; }
.hb-profile-a-view > .advance-breadcrumb-title { display: none; }
.hb-profile-a-intro { padding-bottom: 25px; }
.hb-profile-a-intro h1 { margin: 0 0 9px; color: #172846; font-size: 29px; font-weight: 650; line-height: 1.4; letter-spacing: -.5px; }
.hb-profile-a-intro p { margin: 0; color: #8594ad; font-size: 12px; line-height: 1.9; }
.hb-profile-a-view > .hb-profile-a-card { margin: 0; border: 1px solid #e6ebf5; border-radius: 16px; background: #fff; box-shadow: none; }
.hb-profile-a-card > .ant-card-body { min-width: 0; padding: 26px; }
.hb-profile-a-load-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-height: 420px; color: #8594ad; font-size: 13px; text-align: center; }
.hb-profile-a-load-state p { margin: 0; }
.hb-profile-a-load-spinner { width: 28px; height: 28px; border: 3px solid #edf1f8; border-top-color: var(--hb-primary); border-radius: 50%; animation: hb-profile-a-loading .8s linear infinite; }
@keyframes hb-profile-a-loading { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hb-profile-a-load-spinner { animation: none; } }
/* Newly mounted panes stay concealed until the decorator applies their layout. */
.hb-profile-a-tabs .ant-tabs-tabpane:not(.hb-profile-a-info):not(.hb-profile-a-password) { visibility: hidden; }
.hb-profile-a-card #mainForm { width: 100%; max-width: none; }
.hb-profile-a-card .ant-tabs-nav { margin: 0 0 27px; }
.hb-profile-a-card .ant-tabs-nav::before { border-color: #edf1f8; }
.hb-profile-a-card .ant-tabs-nav-list { gap: 25px; }
.hb-profile-a-card .ant-tabs-tab { margin: 0 !important; padding: 0 3px 17px; color: #8594ad; font-size: 13px; }
.hb-profile-a-card .ant-tabs-tab-btn { display: inline-flex; align-items: center; gap: 9px; }
.hb-profile-a-card .ant-tabs-tab-btn::before { content: ""; width: 17px; height: 17px; flex: 0 0 17px; background: currentColor; 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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M5 21v-2a7 7 0 0 1 14 0v2'/%3E%3C/svg%3E") center / contain no-repeat; }
.hb-profile-a-card .ant-tabs-tab[data-node-key="pwd"] .ant-tabs-tab-btn::before { mask-image: 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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10' width='14' height='11' rx='3'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3m-4 5v2'/%3E%3C/svg%3E"); }
.hb-profile-a-card .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn { color: var(--hb-primary); text-shadow: none; font-weight: 600; }
.hb-profile-a-card .ant-tabs-ink-bar { height: 3px; border-radius: 3px; background: var(--hb-primary); }
.hb-profile-a-card .ant-tabs-content-holder, .hb-profile-a-card .ant-tabs-content { min-width: 0; }
.hb-profile-a-info:not(.ant-tabs-tabpane-hidden) { display: grid; grid-template-columns: 230px repeat(2, minmax(0, 1fr)); gap: 22px 24px; align-items: start; }
.hb-profile-a-panel-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hb-profile-a-info > .hb-profile-a-panel-heading { grid-column: 2 / -1; margin-bottom: 2px; }
.hb-profile-a-panel-heading > div { flex: 1; min-width: 0; }
.hb-profile-a-panel-heading h2 { margin: 0; color: #263b5c; font-size: 16px; font-weight: 600; line-height: 25px; }
.hb-profile-a-panel-heading p { margin: 4px 0 0; color: #98a6bc; font-size: 11px; line-height: 19px; }
.hb-profile-a-section-icon { display: inline-flex; flex: 0 0 40px; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; background: #eff3ff; color: var(--hb-primary); }
.hb-profile-a-section-icon svg { width: 20px; height: 20px; }
.hb-profile-a-mode { flex: 0 0 auto; padding: 4px 9px; border-radius: 6px; background: #f3f6fd; color: #8594ad; font-size: 10px; line-height: 18px; }
.hb-profile-a-info > .ant-form-item { min-width: 0; margin: 0; }
.hb-profile-a-info > .hb-profile-a-avatar { grid-column: 1; grid-row: 1 / span 5; align-self: stretch; padding: 25px 18px; border: 1px solid #edf1f8; border-radius: 12px; background: #f8faff; text-align: center; }
.hb-profile-a-avatar > .ant-form-item-row { flex-direction: column; align-items: stretch; }
.hb-profile-a-active .hb-profile-a-card .hb-profile-a-avatar .ant-form-item-label { width: 100%; text-align: center; }
.hb-profile-a-avatar .ant-form-item-control { flex: 0 0 auto; }
.hb-profile-a-avatar .ant-upload-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.hb-profile-a-avatar .ant-upload-list::before, .hb-profile-a-avatar .ant-upload-list::after { display: none; }
.hb-profile-a-avatar .ant-upload-list-item-container, .hb-profile-a-avatar .ant-upload-select { width: 104px !important; height: 104px !important; margin: 5px 0 0 !important; border-radius: 50% !important; }
.hb-profile-a-avatar .ant-upload-list-item { width: 100%; height: 100%; padding: 4px !important; border: 1px solid #e0e7f3; border-radius: 50% !important; background: #fff; }
.hb-profile-a-avatar .ant-upload-list-item::before { inset: 4px !important; width: auto !important; height: auto !important; border-radius: 50%; }
.hb-profile-a-avatar .ant-upload-list-item-thumbnail, .hb-profile-a-avatar .ant-upload-list-item-image { width: 100%; height: 100%; border-radius: 50% !important; object-fit: cover !important; }
.hb-profile-a-avatar .ant-upload-select { border-color: var(--hb-primary-focus); background: #fff; color: #7b8ca8; }
.hb-profile-a-avatar .ant-upload-list-item-actions { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.hb-profile-a-active .hb-profile-a-card .hb-profile-a-avatar .ant-upload-list-item-actions :is(a, button) { display: inline-flex; align-items: center; justify-content: center; width: 28px; min-width: 28px; height: 28px; min-height: 28px; margin: 0; padding: 0; border: 0; color: #fff; background: transparent; line-height: 1; }
.hb-profile-a-active .hb-profile-a-card .hb-profile-a-avatar .ant-upload-list-item-actions :is(a, button):not(:disabled):hover { color: #fff; border: 0; background: #ffffff26; }
.hb-profile-a-avatar .ant-upload-list-item-actions .anticon { color: inherit; font-size: 16px; }
.hb-profile-a-avatar .ant-upload-list-item:focus-within::before, .hb-profile-a-avatar .ant-upload-list-item:focus-within .ant-upload-list-item-actions { opacity: 1; }
.hb-profile-a-avatar .ant-upload-list-item-actions :is(a, button):focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.hb-profile-a-identity { min-width: 0; margin-top: 22px; }
.hb-profile-a-eyebrow { margin: 0 0 7px; color: #98a6bc; font-size: 10px; line-height: 18px; }
.hb-profile-a-identity h2 { max-width: 100%; margin: 0 0 12px; color: #263b5c; font-size: 19px; font-weight: 600; line-height: 28px; overflow-wrap: anywhere; }
.hb-profile-a-role { display: inline-block; max-width: 100%; padding: 4px 10px; border-radius: 6px; background: #eaf0ff; color: var(--hb-primary); font-size: 11px; line-height: 19px; overflow-wrap: anywhere; }
.hb-profile-a-role[hidden] { display: none; }
.hb-profile-a-identity-note { margin: 24px 0 0; color: #98a6bc; font-size: 11px; line-height: 21px; }
.hb-profile-a-active .hb-profile-a-card .ant-form-item-label { padding-bottom: 8px; }
.hb-profile-a-active .hb-profile-a-card .ant-form-item-label > label { height: auto; color: #8594ad; font-size: 11px; line-height: 18px; }
.hb-profile-a-card .ant-form-item-control, .hb-profile-a-card .ant-form-item-control-input-content { min-width: 0; }
.hb-profile-a-active .hb-profile-a-card input.ant-input { min-height: 42px; padding: 9px 12px; border: 1px solid #e0e7f3; border-radius: 8px; background: #fff; color: #42516d; font-size: 12px; line-height: 22px; box-shadow: none; }
.hb-profile-a-active .hb-profile-a-card input.ant-input[readonly] { background: #f8faff; border-color: #edf1f8; color: #526380; }
.hb-profile-a-active .hb-profile-a-card input.ant-input::placeholder { color: #a1aec2; }
.hb-profile-a-active .hb-profile-a-card input.ant-input:not([readonly]):hover { border-color: var(--hb-primary-border); }
.hb-profile-a-active .hb-profile-a-card input.ant-input:focus { border-color: var(--hb-primary-muted); box-shadow: 0 0 0 3px var(--hb-primary-a0d); }
.hb-profile-a-active .hb-profile-a-card .ant-input-affix-wrapper { padding: 0 12px; border-color: #e0e7f3; border-radius: 8px; box-shadow: none; }
.hb-profile-a-active .hb-profile-a-card .ant-input-affix-wrapper input.ant-input { min-width: 0; padding-inline: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.hb-profile-a-active .hb-profile-a-card .ant-input-affix-wrapper:hover { border-color: var(--hb-primary-border); }
.hb-profile-a-active .hb-profile-a-card .ant-input-affix-wrapper-focused { border-color: var(--hb-primary-muted); box-shadow: 0 0 0 3px var(--hb-primary-a0d); }
.hb-profile-a-card .ant-input-password-icon { color: #98a6bc; }
.hb-profile-a-card .ant-form-item-explain-error { margin-top: 4px; font-size: 11px; }
.hb-profile-a-info > .hb-profile-a-actions { grid-column: 2 / -1; padding-top: 20px; border-top: 1px solid #edf1f8; }
.hb-profile-a-actions .ant-form-item { margin: 0; }
.hb-profile-a-active .hb-profile-a-card .ant-btn { min-width: 88px; min-height: 40px; height: auto; padding: 8px 18px; border: 1px solid #e0e7f3; border-radius: 8px; background: #fff; color: #6d7e99; font-size: 12px; line-height: 22px; box-shadow: none; }
.hb-profile-a-active .hb-profile-a-card .ant-btn:not(:disabled):hover { border-color: var(--hb-primary-border); background: #f8faff; color: var(--hb-primary); }
.hb-profile-a-active .hb-profile-a-card .ant-btn-primary:not(.ant-btn-background-ghost) { background: var(--hb-primary); border-color: var(--hb-primary); color: #fff; }
.hb-profile-a-active .hb-profile-a-card .ant-btn-primary:not(.ant-btn-background-ghost):not(:disabled):hover { background: var(--hb-primary-hover); border-color: var(--hb-primary-hover); color: #fff; }
.hb-profile-a-active .hb-profile-a-card .ant-btn:disabled { background: #f3f5f9; border-color: #e6ebf5; color: #a6b1c3; }
.hb-profile-a-card :is(button, [role="button"], [role="tab"]):focus-visible { outline: 3px solid var(--hb-primary-focus); outline-offset: 3px; }
.hb-profile-a-password:not(.ant-tabs-tabpane-hidden) { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 26px 40px; align-items: start; }
.hb-profile-a-password > .hb-profile-a-panel-heading { grid-column: 1 / -1; }
.hb-profile-a-password > form { width: 100%; max-width: 600px; min-width: 0; }
.hb-profile-a-password > form > .ant-form-item { margin: 0 0 22px; }
.hb-profile-a-password > form > .ant-form-item:last-child { padding-top: 20px; margin: 4px 0 0; border-top: 1px solid #edf1f8; }
.hb-profile-a-security-note { padding: 24px; border: 1px solid #edf1f8; border-radius: 12px; background: #f8faff; }
.hb-profile-a-security-note > span { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 11px; background: #eaf0ff; color: var(--hb-primary); }
.hb-profile-a-security-note svg { width: 21px; height: 21px; }
.hb-profile-a-security-note h3 { margin: 0 0 8px; color: #526380; font-size: 13px; font-weight: 600; line-height: 22px; }
.hb-profile-a-security-note p { margin: 0; color: #98a6bc; font-size: 11px; line-height: 22px; }
@media (max-width: 1300px) {
  .hb-profile-a-active .hb-profile-a-view { padding: 25px 24px; }
  .hb-profile-a-intro h1 { font-size: 26px; }
  .hb-profile-a-info:not(.ant-tabs-tabpane-hidden) { grid-template-columns: 200px repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 1100px) {
  .hb-profile-a-info:not(.ant-tabs-tabpane-hidden) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-profile-a-info > :is(.hb-profile-a-panel-heading, .hb-profile-a-actions) { grid-column: 1 / -1; }
  .hb-profile-a-info > .hb-profile-a-avatar { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 22px; grid-column: 1 / -1; grid-row: auto; padding: 20px 24px; }
  .hb-profile-a-identity { margin-top: 0; text-align: left; }
  .hb-profile-a-identity h2 { margin-bottom: 8px; }
  .hb-profile-a-identity-note { margin-top: 12px; }
  .hb-profile-a-password:not(.ant-tabs-tabpane-hidden) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hb-profile-a-password > form { max-width: none; }
  .hb-profile-a-security-note { padding: 20px; }
}
@media (max-width: 760px) {
  .hb-profile-a-active .hb-profile-a-view { padding: 22px 16px; }
  .hb-profile-a-intro { padding-bottom: 20px; }
  .hb-profile-a-intro h1 { font-size: 25px; }
  .hb-profile-a-intro p { font-size: 11px; }
  .hb-profile-a-view > .hb-profile-a-card { border-radius: 13px; }
  .hb-profile-a-card > .ant-card-body { padding: 20px; }
  .hb-profile-a-card .ant-tabs-nav-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 14px; }
  .hb-profile-a-card .ant-tabs-tab { min-width: 0; font-size: 12px; }
  .hb-profile-a-card .ant-tabs-tab-btn { min-width: 0; width: 100%; gap: 7px; white-space: normal; line-height: 19px; }
  .hb-profile-a-info:not(.ant-tabs-tabpane-hidden) { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hb-profile-a-panel-heading { flex-wrap: wrap; gap: 10px; }
  .hb-profile-a-panel-heading h2 { font-size: 15px; }
  .hb-profile-a-panel-heading > div { flex-basis: calc(100% - 50px); }
  .hb-profile-a-mode { margin-left: 50px; }
  .hb-profile-a-info > .hb-profile-a-avatar { grid-template-columns: 80px minmax(0, 1fr); gap: 17px; padding: 18px 14px; }
  .hb-profile-a-avatar .ant-upload-list-item-container, .hb-profile-a-avatar .ant-upload-select { width: 80px !important; height: 80px !important; }
  .hb-profile-a-identity h2 { font-size: 16px; line-height: 24px; }
  .hb-profile-a-identity-note { font-size: 10px; line-height: 19px; }
  .hb-profile-a-active .hb-profile-a-card .ant-form-item-row { flex-direction: column; align-items: stretch; }
  .hb-profile-a-active .hb-profile-a-card .ant-form-item-control { flex: 0 0 auto; }
  .hb-profile-a-security-note { padding: 18px; }
  .hb-profile-a-active .hb-profile-a-card .ant-btn { min-width: 80px; }
}
