.dxmt-front-wrap{
  max-width:1120px;
  margin:32px auto;
}
.dxmt-front-layout{
  display:grid;
  grid-template-columns:minmax(320px,420px) minmax(420px,1fr);
  gap:24px;
  align-items:start;
}
.dxmt-front-form{
  padding:24px;
  border:1px solid #ddd;
  border-radius:14px;
  background:#fff;
}
.dxmt-row{
  margin-bottom:14px;
}
.dxmt-row label{
  display:block;
  margin-bottom:6px;
  font-weight:600;
}
.dxmt-row input{
  width:100%;
  height:44px;
  padding:0 12px;
  border:1px solid #ccc;
  border-radius:10px;
  box-sizing:border-box;
}
.dxmt-front-form button{
  width:100%;
  height:46px;
  border:0;
  border-radius:10px;
  background:#111;
  color:#fff;
  cursor:pointer;
}
.dxmt-front-form button:disabled{
  opacity:.65;
  cursor:wait;
}
.dxmt-front-msg{
  margin-top:12px;
}
.dxmt-front-preview-panel{
  padding:24px;
  border:1px solid #ddd;
  border-radius:14px;
  background:#fff;
}
.dxmt-front-result-placeholder{
  min-height:420px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#666;
  border:1px dashed #d4d4d4;
  border-radius:12px;
  background:#fafafa;
  padding:20px;
}
.dxmt-front-result{
  margin-top:0;
}
.dxmt-front-result[hidden],
.dxmt-front-result-placeholder[hidden]{
  display:none !important;
}
.dxmt-front-result-image{
  display:block;
  width:100%;
  height:auto;
  border:1px solid #ddd;
  border-radius:12px;
}
.dxmt-front-result-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:12px;
}
.dxmt-front-view-full,
.dxmt-front-download{
  display:inline-block;
  font-weight:600;
}
@media (max-width:900px){
  .dxmt-front-layout{
    grid-template-columns:1fr;
  }
  .dxmt-front-result-placeholder{
    min-height:280px;
  }
}
