/* MyCoupon professional account */
.mc-account{max-width:1180px;margin:26px auto 40px;padding:0 16px}
.mc-account__page-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:18px}
.mc-account__page-head h1{margin:2px 0 0;font-size:28px;color:var(--ink)}
.mc-account__eyebrow{font-size:12px;color:var(--muted);font-weight:700}
.mc-account-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}
.mc-account-sidebar{position:sticky;top:18px;display:grid;gap:12px}
.mc-account-user-card{display:flex;align-items:center;gap:11px;padding:14px;border:1px solid var(--line);border-radius:var(--card-radius);background:var(--surface)}
.mc-account-user-card__avatar img{display:block;border-radius:50%}
.mc-account-user-card__text{display:flex;flex-direction:column;min-width:0}
.mc-account-user-card__text strong{color:var(--ink);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mc-account-user-card__text span{color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mc-account-nav{overflow:hidden;border:1px solid var(--line);border-radius:var(--card-radius);background:var(--surface)}
.mc-account-nav__item{display:grid;grid-template-columns:36px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:12px 13px;border-bottom:1px solid var(--line-soft);color:var(--ink);text-decoration:none;transition:background .15s ease,color .15s ease}
.mc-account-nav__item:last-child{border-bottom:0}.mc-account-nav__item:hover,.mc-account-nav__item.is-active{background:var(--surface-soft);color:var(--brand)}
.mc-account-nav__icon{width:34px;height:34px;border-radius:10px;background:var(--surface-soft);display:flex;align-items:center;justify-content:center}
.mc-account-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mc-account-nav__text{display:flex;flex-direction:column;min-width:0}.mc-account-nav__text strong{font-size:13px}.mc-account-nav__text small{margin-top:2px;font-size:10px;color:var(--muted)}
.mc-account-nav__arrow{display:flex;align-items:center;justify-content:center;color:var(--muted)}.mc-account-nav__arrow svg{width:16px;height:16px;fill:currentColor;display:block}.mc-account-nav__item--logout{color:var(--error)}
.mc-account-content{min-width:0}.mc-account-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.mc-account-section-head h2{margin:0;color:var(--ink);font-size:22px}.mc-account-section-head p{margin:4px 0 0;color:var(--muted);font-size:12px}.mc-account-section-head>span{font-size:11px;color:var(--muted)}
.mc-account-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:16px}
.mc-account-stat{display:flex;flex-direction:column;gap:4px;padding:16px;border:1px solid var(--line);border-radius:var(--card-radius);background:var(--surface);text-decoration:none}
.mc-account-stat strong{font-size:24px;color:var(--ink)}.mc-account-stat span{font-size:11px;color:var(--muted)}.mc-account-stat:hover{border-color:var(--brand)}
.mc-account-dashboard-card{padding:18px;background:var(--surface)}.mc-account-dashboard-card h3{margin:0 0 12px;font-size:16px;color:var(--ink)}
.mc-account-quick{display:flex;gap:8px;flex-wrap:wrap}.mc-account-quick a,.mc-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border:1px solid var(--line);border-radius:var(--button-radius);background:var(--surface);color:var(--ink);font:inherit;font-size:12px;font-weight:750;text-decoration:none;cursor:pointer}
.mc-account-quick a:hover,.mc-btn:hover{border-color:var(--brand);color:var(--brand)}.mc-btn--primary{background:var(--button-bg);border-color:var(--button-bg);color:var(--button-text)}.mc-btn--primary:hover{background:var(--button-bg-hover);border-color:var(--button-bg-hover);color:var(--button-text)}
.mc-account-empty{padding:30px 18px;text-align:center;border:1px dashed var(--line);border-radius:var(--card-radius);color:var(--muted);background:var(--surface)}
.mc-account-store-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mc-account-store{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;background:var(--surface)}
.mc-account-store__main{display:flex;flex-direction:column;gap:3px}.mc-account-store__main strong{color:var(--ink);font-size:14px}.mc-account-store__main span{color:var(--muted);font-size:11px}.mc-account-store>a{color:var(--brand);font-size:11px;font-weight:800;text-decoration:none}
.mc-account-review-list{display:grid;gap:12px}.mc-account-review{padding:16px;background:var(--surface)}.mc-account-review__head{display:flex;align-items:center;justify-content:space-between;gap:12px}.mc-account-review__head>div:first-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.mc-account-review__head strong{font-size:15px;color:var(--ink)}.mc-account-status{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;background:var(--surface-soft);color:var(--muted);font-size:10px;font-weight:700}.mc-account-status.is-approved{color:var(--success)}.mc-account-status.is-rejected{color:var(--error)}
.mc-account-review>p{margin:12px 0;color:var(--text-soft);font-size:13px;line-height:1.9}.mc-account-review__meta{display:flex;gap:14px;flex-wrap:wrap;color:var(--muted);font-size:10px}
.mc-account-review__edit{margin-top:12px;padding-top:12px;border-top:1px solid var(--line-soft)}.mc-account-review__edit summary{cursor:pointer;color:var(--brand);font-size:12px;font-weight:800}.mc-account-review__edit form{display:grid;gap:9px;margin-top:10px}
.mc-account-review__edit textarea{width:100%;min-height:110px;box-sizing:border-box;padding:10px 12px;border:1px solid var(--line);border-radius:var(--field-radius);background:var(--surface);color:var(--ink);font:inherit;font-size:14px;line-height:1.8;resize:vertical}.mc-account-review__edit textarea:focus{outline:none;border-color:var(--brand)}
.mc-account-review__edit-actions{display:flex;gap:8px;flex-wrap:wrap}.mc-account-review__edit small{color:var(--muted);font-size:10px}
.mc-account-profile{padding:18px;background:var(--surface)}.mc-account-profile__row{display:grid;grid-template-columns:140px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid var(--line-soft)}.mc-account-profile__row span{color:var(--muted);font-size:12px}.mc-account-profile__row strong{color:var(--ink);font-size:13px}.mc-account-profile__actions{margin-top:16px}
.mc-account-notice{margin-bottom:12px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--field-radius);font-size:12px;background:var(--surface)}.mc-account-notice.is-success{color:var(--success)}.mc-account-notice.is-error{color:var(--error)}
.mc-account-login{max-width:560px;margin:32px auto;padding:22px;background:var(--surface)}.mc-account-login__head h1{margin:0;font-size:22px}.mc-account-login__head p{margin:5px 0 16px;color:var(--muted);font-size:12px}.mc-account-login label{font-size:12px;color:var(--ink-soft)}.mc-account-login input[type=text],.mc-account-login input[type=password]{width:100%;box-sizing:border-box;min-height:44px;border:1px solid var(--line);border-radius:var(--field-radius);padding:8px 10px;font:inherit;font-size:16px}.mc-account-login input[type=submit]{min-height:42px;padding:0 18px;border:0;border-radius:var(--button-radius);background:var(--button-bg);color:var(--button-text);font:inherit;font-weight:800}.mc-account-login__register{font-size:12px}.mc-account-login__register a{color:var(--brand)}
.mc-coupons{display:grid;grid-template-columns:1fr;gap:12px}

@media(max-width:900px){.mc-account-layout{grid-template-columns:230px minmax(0,1fr)}.mc-account-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:768px){
 .mc-account{margin-top:16px;padding:0 12px}.mc-account__page-head h1{font-size:22px}
 .mc-account-layout{display:flex;flex-direction:column;gap:14px}.mc-account-sidebar{position:static;width:100%}.mc-account-user-card{padding:12px}
 .mc-account-nav{display:flex;overflow-x:auto;gap:6px;padding:7px;border:1px solid var(--line);scrollbar-width:none}.mc-account-nav::-webkit-scrollbar{display:none}
 .mc-account-nav__item{flex:0 0 auto;display:flex;gap:7px;padding:9px 10px;border:1px solid var(--line-soft);border-radius:10px;white-space:nowrap}
 .mc-account-nav__icon{width:28px;height:28px}.mc-account-nav__text small,.mc-account-nav__arrow{display:none}.mc-account-nav__text strong{font-size:11px}
 .mc-account-section-head{align-items:flex-start}.mc-account-section-head h2{font-size:19px}.mc-account-stats{grid-template-columns:repeat(2,1fr)}
 .mc-account-store-grid{grid-template-columns:1fr}.mc-account-review__head{align-items:flex-start;flex-direction:column}.mc-account-review__edit textarea{font-size:16px}
 .mc-account-profile__row{grid-template-columns:1fr;gap:4px}.mc-account-content{width:100%}
}

/* === v12: complete profile editor === */
.mc-account-profile-form{
  padding:20px;
  background:var(--surface);
}

.mc-account-profile-card__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.mc-account-profile-card__head h3{
  margin:0;
  color:var(--ink);
  font-size:17px;
}

.mc-account-profile-card__head p{
  margin:5px 0 0;
  color:var(--muted);
  font-size:11px;
  line-height:1.8;
}

.mc-account-profile-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.mc-account-field{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}

.mc-account-field>span{
  color:var(--ink-soft);
  font-size:11px;
  font-weight:750;
}

.mc-account-field input{
  width:100%;
  box-sizing:border-box;
  min-height:46px;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:var(--field-radius);
  background:var(--surface);
  color:var(--ink);
  font:inherit;
  font-size:14px;
  outline:none;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}

.mc-account-field input:focus{
  border-color:var(--brand);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 10%,transparent);
}

.mc-account-field input:disabled{
  background:var(--surface-soft);
  color:var(--muted);
  cursor:not-allowed;
}

.mc-account-field small{
  color:var(--muted);
  font-size:10px;
  line-height:1.7;
}

.mc-account-profile-divider{
  height:1px;
  margin:22px 0;
  background:var(--line-soft);
}

.mc-account-profile-actions{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  margin-top:18px;
}

@media(max-width:768px){
  .mc-account-profile-form{
    padding:15px;
  }

  .mc-account-profile-grid{
    grid-template-columns:1fr;
    gap:12px;
  }

  .mc-account-field input{
    min-height:48px;
    font-size:16px;
  }

  .mc-account-profile-actions .mc-btn{
    width:100%;
  }
}
