body[data-nav-key="member"] .member-center {
  --member-blue: #016fb8;
  --member-link: #0a63ab;
  --member-line: #d7e3ee;
  display: block;
  padding-top: 14px;
  padding-bottom: 36px;
  color: #333;
}

.member-center [v-cloak] { display: none; }
.member-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid #ddd; margin-bottom: 20px; }
.member-heading h1 { margin: 0 0 -1px; padding: 0 0 8px; border-bottom: 2px solid var(--member-link); color: #333; font-size: 20px; line-height: 1.4; }
.member-jump { display: none; }
.member-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.65fr); align-items: start; gap: 30px; }
.member-guide, .member-workspace { min-width: 0; }
.member-center h2 { margin: 0; color: #163c62; font-size: 17px; line-height: 1.5; }
.member-guide > h2 { padding: 10px 13px; border-left: 4px solid #245c98; background: #eaf1f7; }
.member-guide > ol { counter-reset: member-step; margin: 3px 0 12px; }
.member-guide > ol > li { position: relative; padding: 12px 0 12px 31px; border-bottom: 1px solid #e3e9ef; }
.member-guide > ol > li::before {
  counter-increment: member-step;
  content: counter(member-step);
  position: absolute;
  top: 12px;
  left: 1px;
  width: 22px;
  line-height: 22px;
  border-radius: 50%;
  font-weight: 600;
  text-align: center;
  background: #edf5fb;
  color: #1c568b;
}
.member-guide > ol > li strong, .member-guide > ol > li span { display: block; line-height: 1.5; }
.member-guide > ol > li span { margin-top: 3px; color: #4a657e; }
.member-template-link { display: inline-block; color: var(--member-link); text-decoration: underline; font-weight: 600; padding: 6px 0; }
.member-center .cms-member-notice {
  margin: 0 0 20px;
  padding: 14px 18px;
  border: 1px solid var(--member-line);
  border-left: 4px solid #245c98;
  border-radius: 4px;
  background: #f5f8fb;
  line-height: 1.9;
  overflow-wrap: anywhere;
  overflow-x: auto;
}
.cms-member-notice h2 { margin-bottom: 8px; }
.cms-member-notice h2:empty { display: none; }
.cms-member-notice img { max-width: 100%; height: auto; }
.cms-member-notice > :last-child { margin-bottom: 0; }
.member-center .local-member-notice { margin: 0 0 16px; }
.member-workspace { scroll-margin-top: 14px; }
.member-workspace:focus:not(:focus-visible) { outline: none; }
.member-workspace:focus-visible { outline: 2px solid var(--member-link); outline-offset: 3px; }

.member-auth, .member-card { min-width: 0; border: 1px solid var(--member-line); border-radius: 4px; background: #fff; }
.member-auth-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--member-line); background: #f5f8fb; }
.member-auth-tabs { display: flex; padding-left: 22px; }
.member-auth-tabs button {
  min-width: 100px;
  min-height: 46px;
  padding: 8px 16px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: #38546d;
  background: transparent;
  font-size: 16px;
}
.member-auth-tabs button:hover { color: var(--member-link); }
.member-auth-tabs button[aria-pressed="true"] { color: var(--member-link); background: #eaf1f7; border-bottom-color: var(--member-link); font-weight: 600; }
.member-auth-tabs button:focus:not(:focus-visible) { outline: none; }
.member-auth-tabs button:focus-visible { outline-offset: -3px; }
.member-auth-body { padding: 26px 28px 28px; }
.member-form { display: grid; min-width: 0; gap: 15px; }
.member-form--login { max-width: 490px; margin: 0 auto; }
.member-form--grid, .member-dashboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.member-form--grid { gap: 17px 24px; }
.member-field { display: grid; align-content: start; min-width: 0; gap: 7px; }
.member-form label { margin: 0; font-weight: 600; line-height: 1.5; }
.member-form input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid #aebfd0;
  border-radius: 4px;
  color: #243b51;
  background: #fff;
  font: inherit;
  font-size: 16px;
}
.member-form input:focus-visible { outline: 2px solid var(--member-link); outline-offset: 1px; border-color: var(--member-link); }
.member-form-wide, .member-session { grid-column: 1 / -1; }
.member-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 18px;
  border: 1px solid var(--member-blue);
  border-radius: 4px;
  color: #fff;
  background: var(--member-blue);
  font: inherit;
  line-height: 1.5;
}
.member-button:hover:not(:disabled) { background: var(--member-link); border-color: var(--member-link); }
.member-button--secondary { color: #16436a; background: #fff; border-color: #b8cbdc; }
.member-button--secondary:hover:not(:disabled) { color: #16436a; background: #eef5fa; }
.member-button.member-admin-login { min-height: 36px; margin: 4px 22px; padding: 5px 12px; white-space: nowrap; text-decoration: none; }
.member-admin-login:focus-visible { outline: 2px solid var(--member-link); outline-offset: 2px; }
.member-button:disabled, .member-text-button:disabled { opacity: .65; }
.member-submit { min-width: 120px; }
.member-form--login .member-submit { width: 100%; }
.member-text-button {
  border: 0;
  padding: 4px 0;
  color: var(--member-link);
  background: transparent;
  text-decoration: underline;
  font: inherit;
}
.member-forgot { min-height: 32px; justify-self: end; padding-top: 2px; padding-bottom: 2px; }

.member-dashboard { display: grid; align-items: start; gap: 14px 18px; }
.member-card { padding: 18px; }
.member-session, .member-card-heading, .member-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; }
.member-session > span { overflow-wrap: anywhere; }
.member-card-heading { padding-bottom: 8px; border-bottom: 1px solid #e3e9ef; margin-bottom: 12px; }
.member-actions { justify-content: flex-start; }
.member-details { margin: 0; }
.member-details > div { display: grid; grid-template-columns: minmax(64px, 82px) minmax(0, 1fr); gap: 8px; padding: 6px 0; }
.member-details dt { color: #4a657e; }
.member-details dd { margin: 0; overflow-wrap: anywhere; }
.member-status { display: inline-block; margin: 0 0 8px; padding: 4px 10px; border-radius: 4px; color: #224b70; background: #e8f2fc; }
.member-status--accepted { color: #246441; background: #e8f6ed; }
.member-status--rejected { color: #8f3030; background: #fceeee; }
.member-status-help { margin: 0 0 8px; line-height: 1.6; }
.member-upload { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--member-line); }
.member-upload input[type="file"] { font-size: 14px; padding: 8px; }
.member-notice { padding: 9px 12px; margin: 0 0 12px; border-radius: 4px; background: #edf5fb; overflow-wrap: anywhere; }
.member-notice--error { color: #8f3030; background: #fceeee; }
.member-form .member-notice { margin: 0; }

body[data-nav-key="member"] .member-dialog {
  --member-blue: #016fb8;
  --member-link: #0a63ab;
  border-top: 3px solid var(--member-blue);
  border-radius: 5px;
}
.member-dialog .el-dialog__title { color: #163c62; font-size: 18px; font-weight: 600; }
.member-dialog .el-dialog__header { padding-bottom: 10px; border-bottom: 1px solid #e3e9ef; }
.member-dialog .el-dialog__body { padding: 16px 20px; color: #333; line-height: 1.65; overflow-wrap: anywhere; }
.member-dialog .el-dialog__footer { padding-top: 0; }
.member-dialog .el-dialog__footer .member-button + .member-button { margin-left: 8px; }

@media (max-width: 991px) {
  .member-layout { grid-template-columns: 1fr; gap: 20px; }
  .member-jump { display: inline-block; padding: 6px 0 8px; color: var(--member-link); }
}
@media (max-width: 620px) {
  .member-center .member-heading { margin-bottom: 16px; }
  .member-auth-tabs { flex: 1; padding: 0; }
  .member-auth-tabs button { flex: 1 1 0; min-width: 0; padding-inline: 8px; }
  .member-button.member-admin-login { margin-inline: 8px; }
  .member-auth-body, .member-card { padding: 18px 16px; }
  .member-form--grid, .member-dashboard { grid-template-columns: 1fr; }
  .member-form--grid .member-submit { width: 100%; }
}
