/* ============================================================
   마이페이지 최종안 — 고객·업체 공통, 역할별 단일 진입점
   ============================================================ */
#myPageModal .login-content {
  max-width: 760px;
  padding-bottom: 92px;
  background: #f6f6f4;
}

#myPageModal .mp-head {
  max-width: 760px;
  padding: 24px 28px 26px;
  border: 0;
  background: #f6f6f4;
}

#myPageModal .mp-head-bar {
  min-height: 42px;
  margin-bottom: 28px;
}

#myPageModal .mp-head-bar > strong {
  font-size: 0;
}

#myPageModal .mp-head-bar > strong::after {
  content: '마이';
  color: #111;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 850;
}

#myPageModal .mp-profile {
  display: block;
}

#myPageModal .mp-name-row .mpa-name {
  font-size: 25px;
  letter-spacing: -.035em;
}

#myPageModal .mp-role-chip {
  padding: 4px 9px;
  background: #e6ece9;
  color: #173e34;
}

#myPageModal .mp-profile-meta .mpa-id {
  margin-top: 8px;
  color: #747774;
  font-size: 13px;
}

#myPageModal .mp-next-grade {
  display: block;
  margin-top: 7px;
  color: #4f5350;
  font-size: 14px;
  line-height: 1.5;
}

#myPageModal .mp-account-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: calc(100% - 56px);
  max-width: 704px;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 1px solid #e5e5e1;
  border-radius: 12px;
  background: #fff;
}

#myPageModal .mp-account-summary > button {
  display: flex;
  min-width: 0;
  min-height: 72px;
  padding: 12px 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-right: 1px solid #ecece8;
  color: #171817;
  text-align: center;
}

#myPageModal .mp-account-summary > button:last-child {
  border-right: 0;
}

#myPageModal .mp-account-summary span {
  color: #777b77;
  font-size: 11px;
}

#myPageModal .mp-account-summary strong {
  overflow: hidden;
  max-width: 100%;
  font-size: 15px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#myPageModal .mp-current-card {
  width: calc(100% - 56px);
  max-width: 704px;
  margin: 0 auto 16px;
  padding: 24px;
  border: 1px solid #e5e5e1;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

#myPageModal .mp-current-card:not([hidden]) {
  display: block;
}

#myPageModal .mp-current-card [hidden] {
  display: none;
}

#myPageModal .mp-current-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
}

#myPageModal .mp-current-heading span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#myPageModal .mp-current-heading small {
  color: #8a8d89;
  font-size: 11px;
}

#myPageModal .mp-current-heading strong {
  color: #151615;
  font-size: 20px;
  font-weight: 850;
}

#myPageModal .mp-current-heading button {
  border: 0;
  color: #6d716e;
  font-size: 12px;
}

#myPageModal .mp-current-main,
#myPageModal .mp-order-main {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  text-align: left;
}

#myPageModal .mp-current-thumb,
#myPageModal .mp-order-thumb {
  width: 74px;
  height: 74px;
  overflow: hidden;
  border-radius: 10px;
  background: #efefed;
}

#myPageModal .mp-current-thumb img,
#myPageModal .mp-order-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#myPageModal .mp-current-copy,
#myPageModal .mp-order-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

#myPageModal .mp-current-status {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: #e8f0ed;
  color: #17483b;
  font-size: 10px;
  font-weight: 800;
}

#myPageModal .mp-current-copy strong,
#myPageModal .mp-order-copy strong {
  overflow: hidden;
  color: #161716;
  font-size: 15px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#myPageModal .mp-current-copy small,
#myPageModal .mp-order-copy small {
  overflow: hidden;
  color: #848783;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#myPageModal .mp-current-amount {
  color: #142f28;
  font-size: 15px;
  font-weight: 850;
  white-space: nowrap;
}

#myPageModal .mp-current-arrow {
  color: #a8aaa7;
  font-size: 22px;
}

#myPageModal .mp-order-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

#myPageModal .mp-order-actions button {
  min-height: 42px;
  border: 1px solid #dedfdb;
  border-radius: 8px;
  background: #fff;
  color: #333633;
  font-size: 12px;
  font-weight: 750;
}

#myPageModal .mp-sale-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

#myPageModal .mp-sale-progress li {
  position: relative;
  padding-top: 17px;
  color: #a2a5a2;
  font-size: 10px;
  text-align: center;
}

#myPageModal .mp-sale-progress li::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #d8d9d6;
}

#myPageModal .mp-sale-progress li::after {
  content: '';
  position: absolute;
  top: 5px;
  left: calc(50% + 6px);
  width: calc(100% - 12px);
  height: 1px;
  background: #dedfdb;
}

#myPageModal .mp-sale-progress li:last-child::after {
  display: none;
}

#myPageModal .mp-sale-progress li.is-active {
  color: #1c5848;
  font-weight: 750;
}

#myPageModal .mp-sale-progress li.is-active::before,
#myPageModal .mp-sale-progress li.is-active::after {
  background: #3c8b75;
}

#myPageModal .mp-empty-action,
#myPageModal .mp-empty-state {
  display: flex;
  width: 100%;
  min-height: 96px;
  padding: 4px 2px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: #171817;
  text-align: left;
}

#myPageModal .mp-empty-action > span:first-child,
#myPageModal .mp-empty-state {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
}

#myPageModal .mp-empty-action strong,
#myPageModal .mp-empty-state strong {
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -.035em;
}

#myPageModal .mp-empty-action small,
#myPageModal .mp-empty-state small {
  color: #7d817e;
  font-size: 11px;
}

#myPageModal .mp-empty-action > span:last-child {
  color: #979a97;
  font-size: 24px;
}

