/* Framework de Meta Ads Inmobiliario · adaptación del shell para la versión simplificada. */
body.mini-siar #app{
  display:flex;
  min-height:100vh;
}

body.mini-siar .app-body{
  display:block;
}

body.mini-siar .main-content{
  min-height:calc(100vh - 52px);
  overflow:visible;
}

body.mini-siar .main-inner{
  max-width:760px;
  padding:0 24px 80px;
}

body.mini-siar .topbar__right{
  gap:10px;
}

body.mini-siar .topbar__right .strat-namebar__new{
  background:#fff;
}

body.mini-siar #fase0-content .hdr{
  padding-top:30px;
}

body.mini-siar #fase0-content .steps{
  position:sticky;
  top:52px;
  z-index:40;
  background:#fff;
  width:100%;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
}

body.mini-siar #fase0-content .step{
  min-width:0;
  width:100%;
  flex:1 1 0;
}

body.mini-siar #fase0-content .canal-item.principal.channel-whatsapp,
body.mini-siar #fase0-content .strat-channel-card--primary.channel-whatsapp{
  background:linear-gradient(135deg,#047857 0%,#16a34a 52%,#22c55e 100%)!important;
}

body.mini-siar #fase0-content .canal-item.principal.channel-form,
body.mini-siar #fase0-content .strat-channel-card--primary.channel-form{
  background:linear-gradient(135deg,#0866ff 0%,#2b4ef8 48%,#6d5dfc 100%)!important;
}

body.mini-siar #fase0-content .canal-item.principal.channel-landing,
body.mini-siar #fase0-content .strat-channel-card--primary.channel-landing{
  background:linear-gradient(135deg,#0f172a 0%,#1e3a5f 50%,#7c3aed 100%)!important;
}

body.mini-siar #fase0-content .canal-item.secundario.channel-whatsapp,
body.mini-siar #fase0-content .strat-channel-card--secondary.channel-whatsapp{
  background:rgba(22,163,74,.10)!important;
  border-color:rgba(22,163,74,.20)!important;
}

body.mini-siar #fase0-content .canal-item.secundario.channel-form,
body.mini-siar #fase0-content .strat-channel-card--secondary.channel-form{
  background:rgba(8,102,255,.09)!important;
  border-color:rgba(8,102,255,.18)!important;
}

body.mini-siar #fase0-content .canal-item.secundario.channel-landing,
body.mini-siar #fase0-content .strat-channel-card--secondary.channel-landing{
  background:rgba(124,58,237,.10)!important;
  border-color:rgba(124,58,237,.20)!important;
}

.mini-ad-structure{
  margin-top:14px;
  padding:14px 16px;
  border:1px solid #dbe3ec;
  border-radius:8px;
  background:#f8fafc;
  color:#334155;
  font-size:13px;
  line-height:1.7;
}

.mini-ad-structure strong{
  color:#0f172a;
}

@media(max-width:640px){
  body.mini-siar .topbar{
    height:auto;
    min-height:52px;
    flex-wrap:wrap;
    padding:10px 12px;
    gap:8px;
  }

  body.mini-siar .topbar__right{
    width:100%;
    justify-content:space-between;
  }

  body.mini-siar .save-status{
    min-width:0;
    justify-content:flex-start;
  }

  body.mini-siar .main-inner{
    padding:0 14px 70px;
  }

  body.mini-siar #fase0-content{
    padding-top:0!important;
  }

  body.mini-siar #fase0-content .hdr{
    padding-top:18px;
  }

  body.mini-siar #fase0-content .steps{
    top:0;
    position:relative;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    overflow:visible;
  }

  body.mini-siar #fase0-content .step{
    min-width:0;
    padding-left:6px;
    padding-right:6px;
    font-size:11px;
  }

  body.mini-siar #fase0-content .strat-funnel__stage--final .strat-funnel__bar{
    min-width:160px;
  }
}

@media print{
  body.mini-siar .topbar,
  body.mini-siar .steps,
  body.mini-siar .nav{
    display:none!important;
  }

  body.mini-siar .sec{
    display:block!important;
    animation:none!important;
    break-after:page;
  }

  body.mini-siar .main-inner{
    max-width:none;
    padding:0;
  }
}
