/* AGENT_HOST_PRODUCT_MODE_V1 */
.agent-auth-body{
  margin:0;
  min-height:100vh;
  background:#f4f5f7;
  color:#15171a;
}
html[data-reh-theme="dark"] .agent-auth-body{
  background:#111315;
  color:#f4f5f6;
}
.agent-auth-header{
  min-height:74px;
  padding:0 clamp(22px,4vw,58px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  background:#111214;
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.agent-auth-brand{display:flex;align-items:baseline;gap:12px;text-decoration:none;color:inherit}
.agent-auth-brand-word{font-size:21px;font-weight:800;letter-spacing:.08em}
.agent-auth-brand-sub{font-size:12px;color:#aeb4bc}
.agent-auth-public{font-size:13px;color:#d7dbe0;text-decoration:none}
.agent-auth-public:hover{text-decoration:underline}
.agent-auth-main{
  width:min(1180px,calc(100% - 40px));
  min-height:calc(100vh - 74px);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(390px,470px);
  gap:clamp(50px,8vw,120px);
  align-items:center;
  padding:70px 0;
}
.agent-auth-intro{max-width:620px}
.agent-auth-kicker{
  margin:0 0 14px;
  font-size:12px;
  line-height:1;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:#6f7680;
}
html[data-reh-theme="dark"] .agent-auth-kicker{color:#a6adb6}
.agent-auth-intro h1{
  margin:0;
  font-size:clamp(42px,5.4vw,72px);
  line-height:1.01;
  letter-spacing:-.055em;
  font-weight:760;
}
.agent-auth-intro>p:last-child{
  margin:24px 0 0;
  max-width:570px;
  color:#69717b;
  font-size:17px;
  line-height:1.65;
}
html[data-reh-theme="dark"] .agent-auth-intro>p:last-child{color:#aab0b8}
.agent-auth-card{
  background:#fff;
  border:1px solid #dfe2e6;
  border-radius:18px;
  padding:34px;
  box-shadow:0 18px 55px rgba(18,24,32,.09);
}
html[data-reh-theme="dark"] .agent-auth-card{
  background:#1a1d21;
  border-color:#31363d;
  box-shadow:0 22px 60px rgba(0,0,0,.34);
}
.agent-auth-card-brand{
  margin:-34px -34px 30px;
  padding:20px 34px;
  background:#111214;
  color:#fff;
  border-radius:17px 17px 0 0;
  font-size:14px;
  font-weight:800;
  letter-spacing:.11em;
}
.agent-auth-card h2{margin:0;font-size:30px;letter-spacing:-.035em}
.agent-auth-muted{margin:8px 0 25px;color:#747b84;font-size:14px}
html[data-reh-theme="dark"] .agent-auth-muted{color:#aab0b8}
.agent-auth-form{display:grid;gap:16px}
.agent-auth-form label{display:grid;gap:7px;font-size:13px;font-weight:650}
.agent-auth-form input{
  width:100%;
  min-height:47px;
  border:1px solid #cfd4da;
  border-radius:10px;
  background:#fff;
  color:#15171a;
  padding:11px 13px;
  outline:none;
}
html[data-reh-theme="dark"] .agent-auth-form input{
  background:#111315;
  color:#f5f6f7;
  border-color:#3a4048;
}
.agent-auth-form input:focus{border-color:#111214;box-shadow:0 0 0 3px rgba(17,18,20,.08)}
html[data-reh-theme="dark"] .agent-auth-form input:focus{border-color:#d6d9dd;box-shadow:0 0 0 3px rgba(255,255,255,.08)}
.agent-auth-primary,.agent-auth-secondary{
  min-height:48px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:750;
  text-decoration:none;
}
.agent-auth-primary{margin-top:4px;border:1px solid #111214;background:#111214;color:#fff;cursor:pointer}
.agent-auth-primary:disabled{opacity:.55;cursor:wait}
.agent-auth-secondary{border:1px solid #cbd0d6;background:#fff;color:#15171a}
html[data-reh-theme="dark"] .agent-auth-secondary{background:#22262b;border-color:#3c424a;color:#f4f5f6}
.agent-auth-divider{display:flex;align-items:center;gap:12px;margin:22px 0;color:#8b929b;font-size:12px}
.agent-auth-divider:before,.agent-auth-divider:after{content:"";height:1px;background:#e1e4e7;flex:1}
html[data-reh-theme="dark"] .agent-auth-divider:before,
html[data-reh-theme="dark"] .agent-auth-divider:after{background:#343940}
.agent-auth-note{margin:18px 0 0;color:#7b828b;font-size:12px;line-height:1.5;text-align:center}
.agent-auth-error{display:none;margin:0 0 16px;padding:11px 12px;border-radius:9px;background:#fff0f0;border:1px solid #e6b5b5;color:#9d2828;font-size:13px}
.agent-auth-error.show{display:block}
html[data-reh-theme="dark"] .agent-auth-error{background:#351d1f;border-color:#63363a;color:#ffb7bd}

/* Never show the public RealEstate.Host account dialog in Agent.host mode. */
html.agent-host-product .reh-account-workspace{display:none!important}
html.agent-host-product .agent-public-account-action{display:none!important}

@media(max-width:860px){
  .agent-auth-main{grid-template-columns:1fr;gap:36px;padding:44px 0 60px}
  .agent-auth-intro{max-width:680px}
  .agent-auth-header{padding:0 20px}
  .agent-auth-brand-sub{display:none}
}
@media(max-width:520px){
  .agent-auth-main{width:min(100% - 28px,1180px);padding-top:28px}
  .agent-auth-intro h1{font-size:42px}
  .agent-auth-card{padding:24px}
  .agent-auth-card-brand{margin:-24px -24px 24px;padding:18px 24px}
  .agent-auth-public{font-size:11px}
}