
*{box-sizing:border-box}
:root{
  --yellow:#ffd21c;--yellow2:#efbf00;--ink:#101114;--text:#292d32;--muted:#68717b;
  --bg:#f4f5f7;--card:#fff;--soft:#f8f9fa;--line:#dfe3e7;--danger:#9b2525;
  --success:#196233;--shadow:0 18px 55px rgba(16,17,20,.10)
}
html[data-theme="dark"]{
  --ink:#f5f6f7;--text:#e8eaed;--muted:#aeb5bd;--bg:#0d0e10;--card:#17191c;
  --soft:#202328;--line:#30343a;--danger:#ffbcbc;--success:#a8e4b9;
  --shadow:0 18px 55px rgba(0,0,0,.28)
}
html,body{min-height:100%}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  line-height:1.5
}
a{color:inherit}
/* Auth Header 4.0 — normalized to Marketplace Charlotte shell */
.mc-auth-top{
  position:sticky;top:0;z-index:60;height:72px;
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  box-shadow:0 4px 20px rgba(16,17,20,.04)
}
html[data-theme="dark"] .mc-auth-top{
  background:rgba(23,25,28,.96);
  border-color:var(--line);
  box-shadow:0 5px 22px rgba(0,0,0,.18)
}
.mc-auth-top-inner{
  width:100%;max-width:1260px;height:100%;margin:auto;padding:0 28px;
  display:flex;align-items:center;gap:14px
}
.mc-auth-logo{
  display:inline-flex;align-items:center;gap:10px;text-decoration:none;
  font-weight:900;letter-spacing:-.03em;white-space:nowrap;color:var(--ink)
}
.mc-auth-logo .mc-logo-mark{
  width:36px;height:36px;border-radius:11px;display:grid;place-items:center;
  background:var(--yellow);color:#101114;font-size:13px;font-weight:950;letter-spacing:-.04em
}
.mc-auth-logo .mc-logo-copy{font-size:20px;line-height:1;color:var(--ink)}
.mc-auth-logo .mc-logo-copy>span{font-weight:600}
html[data-theme="dark"] .mc-auth-logo,
html[data-theme="dark"] .mc-auth-logo .mc-logo-copy{color:#fff!important}
.mc-auth-nav{margin-left:auto;display:flex;align-items:center;gap:6px}
.mc-auth-nav a,.mc-theme-toggle{
  min-height:40px;border-radius:10px;color:var(--ink);font:inherit;font-size:13px;font-weight:800;
  text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
  transition:background .12s,border-color .12s,transform .12s
}
.mc-auth-nav a{padding:0 11px;border:0;background:transparent}
.mc-auth-nav a:hover{background:var(--soft)}
.mc-auth-nav a:active,.mc-theme-toggle:active{transform:scale(.98)}
.mc-auth-nav .mc-auth-account-action{border:1px solid var(--line);background:var(--card);padding:0 13px}
.mc-auth-nav .mc-auth-account-action:hover{background:var(--soft)}
.mc-auth-nav .primary{
  gap:5px;padding:0 15px;background:var(--yellow);border:1px solid var(--yellow);color:#101114;font-weight:950;
  box-shadow:0 6px 18px rgba(255,210,28,.16)
}
.mc-auth-nav .primary:hover{background:var(--yellow2);border-color:var(--yellow2)}
.mc-theme-toggle{
  width:40px;padding:0;border:1px solid var(--line);background:var(--card)
}
.mc-theme-toggle:hover{background:var(--soft)}
.mc-auth-top a:focus-visible,.mc-auth-top button:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}

/* Legacy auth-brand support for verification/recovery pages that have not yet been migrated. */
.mc-auth-brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-weight:950;letter-spacing:-.45px}
.mc-auth-mark{width:38px;height:38px;border-radius:10px;background:var(--yellow);display:grid;place-items:center;color:#101114;font-size:20px}
.mc-auth-brand small{display:block;font-size:9px;letter-spacing:.15em;color:var(--muted)}
.mc-auth-page{max-width:1220px;margin:auto;padding:54px 22px 80px}
.mc-auth-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(400px,.75fr);gap:70px;align-items:center}
.mc-auth-copy{padding:28px 0}
.mc-eyebrow{font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:950;color:#8a7200;margin-bottom:12px}
.mc-auth-copy h1{margin:0;color:var(--ink);font-size:clamp(42px,5vw,66px);line-height:.98;letter-spacing:-2.4px;max-width:690px}
.mc-auth-copy>p{max-width:580px;margin:20px 0 26px;color:var(--muted);font-size:17px}
.mc-auth-benefits{display:grid;gap:0;max-width:560px}
.mc-benefit{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:start;column-gap:14px;min-height:62px;padding:13px 0;border-top:1px solid var(--line)}
.mc-benefit:first-child{border-top:0}
.mc-benefit-icon{width:34px;height:34px;border-radius:9px;background:var(--yellow);color:#101114;display:grid;place-items:center;font-weight:950;line-height:1;margin:0}
.mc-benefit>div{min-width:0;padding-top:1px}
.mc-benefit strong{display:block;margin:0;color:var(--ink);font-size:14px;line-height:1.25}
.mc-benefit>div>span{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.45}
.mc-auth-card{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:30px;box-shadow:var(--shadow)}
.mc-auth-card-head{margin-bottom:24px}.mc-auth-card h2{margin:0 0 6px;color:var(--ink);font-size:29px;letter-spacing:-.8px}.mc-auth-card-head p{margin:0;color:var(--muted);font-size:13px}
.mc-field{margin-bottom:16px}.mc-field label{display:flex;justify-content:space-between;gap:10px;margin-bottom:7px;color:var(--ink);font-size:13px;font-weight:850}.mc-field label small{color:var(--muted);font-weight:600}
.mc-input-wrap{position:relative}
.mc-input{
  width:100%;min-height:49px;border:1px solid var(--line);border-radius:11px;background:var(--card);
  color:var(--ink);padding:12px 13px;font:inherit;outline:none
}
.mc-input.has-action{padding-right:76px}
.mc-input:focus{border-color:#c4a400;box-shadow:0 0 0 3px rgba(255,210,28,.18)}
.mc-password-action{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:var(--soft);color:var(--ink);border-radius:7px;padding:6px 9px;font-size:11px;font-weight:850;cursor:pointer}
.mc-submit{width:100%;min-height:50px;border:0;border-radius:11px;background:var(--yellow);color:#101114;font:inherit;font-weight:950;font-size:15px;cursor:pointer;margin-top:3px}
.mc-submit:hover{background:var(--yellow2)}.mc-submit:disabled{opacity:.65;cursor:wait}
.mc-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.mc-alert{border-radius:11px;padding:13px 14px;margin-bottom:18px;font-size:13px;font-weight:700}
.mc-alert.error{background:#fff0f0;border:1px solid #ebc0c0;color:#8e2020}
.mc-alert.success{background:#ecf9ef;border:1px solid #bee3c7;color:#175b2d}
html[data-theme="dark"] .mc-alert.error{background:#351d1d;border-color:#694141;color:#ffc1c1}
html[data-theme="dark"] .mc-alert.success{background:#183321;border-color:#315d3d;color:#b7e9c4}
.mc-auth-foot{text-align:center;color:var(--muted);font-size:13px;margin-top:19px}.mc-auth-foot a{color:var(--ink);font-weight:850}
.mc-inline-link{display:flex;justify-content:flex-end;margin:-3px 0 15px}.mc-inline-link a{font-size:12px;color:var(--muted);font-weight:750}
.mc-security-note{display:flex;gap:9px;margin-top:18px;padding-top:17px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}
.mc-verification-card{text-align:center;max-width:590px;margin:35px auto 0}
.mc-status-icon{width:70px;height:70px;margin:0 auto 18px;border-radius:20px;background:var(--yellow);display:grid;place-items:center;color:#101114;font-size:31px;font-weight:950}
.mc-status-icon.error{background:#f1d3d3;color:#8c2020}
.mc-verification-card h1{margin:0 0 9px;color:var(--ink);font-size:34px;letter-spacing:-1px}.mc-verification-card p{color:var(--muted);margin:0 auto 22px;max-width:470px}
.mc-status-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.mc-btn{min-height:44px;padding:0 16px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--ink);font-weight:850;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.mc-btn.primary{background:var(--yellow);border-color:var(--yellow);color:#101114}
.mc-password-meter{height:6px;background:var(--soft);border-radius:999px;margin-top:8px;overflow:hidden}.mc-password-meter i{display:block;width:0;height:100%;background:var(--yellow);transition:width .15s}
.mc-password-help{font-size:11px;color:var(--muted);margin-top:6px}
.mc-register-layout{align-items:start}.mc-register-layout .mc-auth-copy{position:sticky;top:100px}
@media(max-width:900px){
 .mc-auth-page{padding-top:32px}.mc-auth-layout{grid-template-columns:1fr;gap:28px}.mc-auth-copy{padding:0}.mc-auth-copy h1{font-size:44px;max-width:620px}.mc-auth-copy>p{margin:14px 0 8px}.mc-auth-benefits{display:none}.mc-register-layout .mc-auth-copy{position:static}.mc-register-layout .mc-auth-copy>p{margin-bottom:0}
}
@media(max-width:600px){
 .mc-auth-top{height:64px}.mc-auth-top-inner{padding:0 13px}.mc-auth-logo .mc-logo-mark{width:32px;height:32px;border-radius:10px;font-size:12px}.mc-auth-logo .mc-logo-copy{font-size:16px}.mc-auth-brand span:last-child{display:none}.mc-auth-nav .desktop-only{display:none}
 .mc-auth-page{padding:24px 12px 55px}.mc-auth-layout{gap:20px}.mc-auth-copy h1{font-size:36px;letter-spacing:-1.4px}.mc-auth-copy>p{font-size:14px}
 .mc-auth-card{border-radius:16px;padding:20px 15px}.mc-auth-card h2{font-size:25px}.mc-form-row{grid-template-columns:1fr}
 .mc-verification-card{margin-top:8px}.mc-verification-card h1{font-size:29px}
}

/* Auth Header 4.0 responsive polish */
@media(max-width:900px){
  .mc-auth-nav .desktop-only{display:none}
}
@media(max-width:700px){
  .mc-auth-top-inner{padding:0 14px;gap:9px}
  .mc-auth-logo{margin-right:auto}
  .mc-auth-nav{margin-left:0;gap:5px}
  .mc-auth-nav .mc-auth-account-action{display:none}
  .mc-auth-nav .primary{padding:0 12px}
}
@media(max-width:520px){
  .mc-auth-logo .mc-logo-copy{display:none}
  .mc-auth-nav .primary{font-size:12px;padding:0 10px}
  .mc-theme-toggle{width:38px;min-height:38px}
}
@media(max-width:370px){
  .mc-auth-nav .primary span{display:none}
}
