/* FPC Wire v2.3.1j3 — Rich Embed Content & Layout Repair */

.wire-embed-modal{
  width:min(720px,calc(100vw - 28px))!important;
}

.wire-embed-modal form{
  width:100%!important;
}

.wire-embed-modal-body{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:16px!important;
  padding:16px!important;
  box-sizing:border-box!important;
}

.wire-embed-modal-body > label{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}

.wire-embed-modal-body > label > span{
  display:block!important;
  color:#dce7f3!important;
  font-size:13px!important;
  font-weight:750!important;
}

.wire-embed-code{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:220px!important;
  min-height:220px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:13px!important;
  resize:vertical!important;
  overflow:auto!important;
  white-space:pre!important;
  tab-size:2!important;
  border:1px solid rgba(110,139,173,.38)!important;
  border-radius:12px!important;
  background:#050b12!important;
  color:#dfeafa!important;
  font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace!important;
}

.wire-embed-preview{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

.wire-embed-rich-card{
  position:relative!important;
}

.wire-embed-brand{
  position:absolute!important;
  top:14px!important;
  right:14px!important;
  width:74px!important;
  max-width:22%!important;
  height:auto!important;
  object-fit:contain!important;
  opacity:.92!important;
  pointer-events:none!important;
}

.wire-embed-rich-main{
  padding-right:86px!important;
}

@media(max-width:560px){
  .wire-embed-rich-main{
    padding-right:0!important;
  }

  .wire-embed-brand{
    width:58px!important;
    top:12px!important;
    right:12px!important;
    opacity:.8!important;
  }

  .wire-embed-rich-header{
    padding-right:64px!important;
  }

  .wire-embed-code{
    height:190px!important;
    min-height:190px!important;
  }
}
