/* Bilocale.it interactive Instagram demonstration · no external UI dependencies */
.igsim {
  --igsim-magenta:#b42b96;
  --igsim-ink:#1b2835;
  --igsim-blue:#137dc1;
  --igsim-orange:#ee7b11;
  width:min(100%,312px);
  margin-inline:auto;
  color:var(--igsim-ink);
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  line-height:1.35;
}
.igsim *,.igsim *::before,.igsim *::after{box-sizing:border-box;}
/* The global app.css sets every svg to width/height:100%. Bound every
   icon in this phone mockup to a fixed, native-size box. */
.igsim svg{display:block;width:18px!important;height:18px!important;min-width:0!important;max-width:18px!important;max-height:18px!important;flex:0 0 18px;}
.igsim .igsim-listing em svg,.igsim .igsim-resource em svg{width:14px!important;height:14px!important;max-width:14px!important;max-height:14px!important;flex:0 0 14px!important;}
.igsim .igsim-info svg,.igsim .igsim-lead-head svg,.igsim .igsim-resource-hero svg{width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important;flex:0 0 18px!important;}
.igsim .igsim-controls svg,.igsim .igsim-direct-hint svg{width:14px!important;height:14px!important;max-width:14px!important;max-height:14px!important;flex:0 0 14px!important;}

.igsim-phone-wrap{width:100%;padding:6px 5px 8px;}
.igsim-phone{position:relative;width:100%;height:605px;max-height:calc(100vw * 2.05);min-height:470px;isolation:isolate;border-radius:49px;border:6px solid #171a1f;background:#fff;overflow:hidden;box-shadow:0 18px 40px #172e4540,inset 0 0 0 2px #7e848b;}
.igsim-phone::after{content:'';position:absolute;inset:2px;border:1px solid #d3d4d7;border-radius:40px;pointer-events:none;z-index:12;}
.igsim-island{position:absolute;top:10px;left:50%;transform:translateX(-50%);width:89px;height:21px;background:#08090c;border-radius:15px;z-index:9;}
.igsim-status{position:absolute;top:10px;left:0;right:0;height:22px;z-index:8;display:flex;justify-content:space-between;padding:0 28px;color:#17181b;font-size:10px;align-items:center;font-weight:800;}
.igsim-status span{font-size:9px;letter-spacing:-1px;}
.igsim-scenes{position:absolute;inset:38px 0 15px;overflow:hidden;background:#fff;}
.igsim-view{position:absolute;inset:0;background:#fff;transform:translateX(102%);transition:transform .42s cubic-bezier(.2,.82,.3,1);overflow:hidden;}
.igsim[data-igsim-view="post"] .igsim-view--post,.igsim[data-igsim-view="dm"] .igsim-view--dm{transform:translateX(0);}
.igsim[data-igsim-view="dm"] .igsim-view--post{transform:translateX(-102%);}
.igsim-topbar{height:39px;display:flex;justify-content:space-between;align-items:center;padding:0 14px 3px;}
.igsim-wordmark{font-family:Georgia,serif;font-style:italic;letter-spacing:-1.6px;font-size:23px;color:#111;}
.igsim-topbar span,.igsim-post-icons>span,.igsim-dm-head{display:flex;align-items:center;gap:15px;}
.igsim-topbar span svg,.igsim-post-icons svg{width:19px;height:19px;}

.igsim-avatar{display:inline-grid;place-items:center;flex:0 0 28px;width:28px;height:28px;background:#fff;border:2px solid #f18a2d;border-radius:50%;font-weight:900;line-height:1;position:relative;overflow:hidden;}
.igsim-avatar--agency{background:#fff;border-color:#f18a2d;box-shadow:0 2px 10px rgba(19,125,193,.12) inset;padding:1px;}
.igsim-avatar--agency img{display:block;width:100%;height:100%;object-fit:contain;border-radius:50%;}
.igsim-avatar--user{color:#fff;background:linear-gradient(140deg,#f7b56a,#a64c72 65%,#4f68a3);border-color:#ffefd9;font-size:13px;}

.igsim-post-head{height:45px;display:flex;align-items:center;padding:0 13px;gap:8px;}
.igsim-post-head>span:nth-child(2){display:flex;flex-direction:column;line-height:1.15;flex:1;font-size:11px;}
.igsim-post-head small{font-size:9px;color:#657585;margin-top:2px;}
.igsim-post-head i{font-style:normal;display:flex;align-items:center;justify-content:center;color:#495766;}
.igsim-post-head i svg{width:16px;height:16px;}
.igsim-post-photo{height:218px;width:100%;overflow:hidden;position:relative;background:#e6edf1;}
.igsim-post-photo img{height:100%;width:100%;object-fit:cover;object-position:center;}
.igsim-post-photo>span{position:absolute;right:10px;top:9px;background:#283342c9;color:#fff;font-size:9px;border-radius:12px;padding:3px 7px;}
.igsim-post-icons{padding:9px 12px 3px;display:flex;justify-content:space-between;align-items:center;}
.igsim-post-icons>span{gap:13px;}
.igsim-likes{font-size:10px;padding:3px 12px 0;}
.igsim-caption{font-size:10px;margin:5px 12px 6px;line-height:1.4;color:#243340;}
.igsim-comment{display:flex;align-items:flex-start;gap:7px;margin:7px 10px 0;font-size:10px;line-height:1.35;}
.igsim-comment .igsim-avatar{flex-basis:22px;width:22px;height:22px;font-size:11px;}
.igsim-comment>span:last-child{flex:1;}
.igsim-comment small{display:block;color:#8d98a5;font-size:9px;padding-top:3px;}
.igsim-comment--reply{margin-left:38px;}
.igsim-bottomnav{position:absolute;bottom:0;left:0;right:0;height:38px;border-top:1px solid #eef1f4;display:flex;align-items:center;justify-content:space-around;background:#fff;}
.igsim-bottomnav svg{width:19px;height:19px;}
.igsim-bottomnav .igsim-avatar{width:19px;height:19px;flex-basis:19px;border-width:1px;}

.igsim-direct-hint{position:absolute;bottom:43px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#142d44;color:#fff;font-size:11px;display:flex;align-items:center;gap:6px;border-radius:15px;padding:7px 10px;box-shadow:0 5px 16px #142d4460;z-index:7;}
.igsim-dm-head{height:51px;border-bottom:1px solid #e7eaf0;gap:9px;padding:0 10px;}
.igsim-dm-head .igsim-avatar{width:27px;height:27px;flex-basis:27px;}
.igsim-dm-head svg{width:18px;height:18px;flex:0 0 18px;color:#273646;}
.igsim-dm-head>span:nth-of-type(2){flex:1;display:flex;flex-direction:column;gap:2px;min-width:0;}
.igsim-dm-head strong{font-size:11px;}
.igsim-dm-head small{font-size:9px;color:#82909d;}
.igsim-dm-scroll{position:absolute;top:51px;bottom:47px;overflow:auto;scrollbar-width:none;width:100%;padding:0 13px;}
.igsim-dm-scroll::-webkit-scrollbar{display:none;}
.igsim-profile{display:flex;flex-direction:column;align-items:center;padding:17px 0 11px;gap:4px;max-height:200px;opacity:1;overflow:hidden;transition:max-height .45s,padding .45s,opacity .3s;}
.igsim-profile .igsim-avatar{height:56px;width:56px;flex-basis:56px;border-width:2px;}
.igsim-profile strong{font-size:14px;}
.igsim-profile small{font-size:10px;color:#7b8d9b;}
.igsim-profile>span:last-child{font-size:10px;padding:5px 10px;background:#f0f1f4;border-radius:8px;margin-top:3px;}
.igsim-profile.is-compact{max-height:0;padding:0;opacity:0;}
.igsim-today{text-align:center;color:#8b97a3;font-size:9px;padding:8px 0 15px;}
.igsim-messages{display:flex;flex-direction:column;gap:10px;align-items:stretch;padding-bottom:14px;}
.igsim-bubble{border-radius:16px;max-width:92%;font-size:12px;line-height:1.45;padding:11px 12px;position:relative;word-break:break-word;}
.igsim-bubble b{font-weight:800;}
.igsim-bubble--user{align-self:flex-end;background:linear-gradient(130deg,#ad39c0,#6f39dd);color:#fff;border-bottom-right-radius:5px;}
.igsim-bubble--agency{align-self:flex-start;background:#f0f1f5;color:#1b2731;border-bottom-left-radius:5px;}
.igsim-quick{display:flex;gap:6px;align-self:flex-start;flex-wrap:wrap;}
.igsim-quick span{border:1px solid #bc75e1;color:#8c31bb;border-radius:16px;padding:5px 10px;font-size:10px;background:#fff;}
.igsim-listing,.igsim-resource{display:flex;flex-direction:column;align-self:flex-start;width:86%;background:#fff;overflow:hidden;border-radius:14px;border:1px solid #e2e6ea;box-shadow:0 4px 16px #24384d18;}
.igsim-listing>img{display:block;width:100%;height:112px;object-fit:cover;}
.igsim-listing>span{display:flex;flex-direction:column;gap:4px;padding:10px;font-size:11px;}
.igsim-listing b{font-size:11px;color:#243545;}
.igsim-listing strong{font-size:15px;color:#152f48;}
.igsim-listing em,.igsim-resource em{display:flex;align-items:center;justify-content:center;gap:7px;background:linear-gradient(90deg,#c31c98,#8b36c1);color:#fff;font-style:normal;font-size:11px;font-weight:700;border-radius:10px;padding:9px 7px;margin-top:4px;}
.igsim-resource{padding:12px;gap:10px;}
.igsim-resource-hero{display:flex;gap:9px;align-items:flex-start;color:#193548;}
.igsim-resource-hero>span{display:flex;flex-direction:column;gap:2px;}
.igsim-resource-hero b{font-size:12px;}
.igsim-resource-hero small{font-size:10px;color:#607488;line-height:1.45;}
.igsim-resource svg{color:#9150c8;flex:0 0 18px;}
.igsim-info{align-self:flex-start;border-radius:12px;background:#f7ecfe;color:#7a39aa;padding:10px;font-size:11px;display:flex;gap:7px;align-items:center;flex-wrap:wrap;max-width:88%;}
.igsim-info small{display:block;color:#7b6d83;font-size:9px;width:100%;padding-left:24px;}
.igsim-typing{background:#f2f2f5;border-radius:20px;align-self:flex-start;display:flex;gap:3px;padding:10px;}
.igsim-typing i{width:5px;height:5px;background:#98a2b1;border-radius:50%;animation:igsim-typing 1s ease-in-out infinite alternate;}
.igsim-typing i:nth-child(2){animation-delay:.18s;}.igsim-typing i:nth-child(3){animation-delay:.36s;}
.igsim-compose{position:absolute;bottom:0;left:6px;right:6px;border:1px solid #dce2e8;display:flex;gap:6px;height:37px;border-radius:23px;padding:4px 6px;align-items:center;background:#fff;}
.igsim-compose span{display:grid;place-items:center;background:#398cf7;color:#fff;width:26px;height:26px;border-radius:50%;font-size:14px;}
.igsim-compose small{color:#8b95a4;font-size:9px;flex:1;overflow:hidden;white-space:nowrap;}
.igsim-compose svg{flex-shrink:0;width:16px;height:16px;color:#33485d;}
.igsim-home-indicator{position:absolute;left:50%;bottom:5px;transform:translateX(-50%);width:92px;height:4px;border-radius:3px;background:#1b1d22;z-index:11;}

.igsim-reveal{opacity:0;visibility:hidden;transform:translateY(9px);max-height:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;overflow:hidden;transition:opacity .28s,transform .28s,max-height .28s,visibility .28s;}
.igsim-reveal.is-visible{opacity:1;visibility:visible;transform:translateY(0);max-height:390px;overflow:visible;}
.igsim-comment.igsim-reveal.is-visible{margin-top:7px;}
.igsim-bubble.igsim-reveal.is-visible{padding:11px 12px;}
.igsim-listing.igsim-reveal.is-visible,.igsim-resource.igsim-reveal.is-visible{max-height:320px;}
.igsim-quick.igsim-reveal.is-visible{max-height:45px;}
.igsim-typing.igsim-reveal.is-visible,.igsim-info.igsim-reveal.is-visible{padding:10px;}
.igsim-direct-hint.igsim-reveal.is-visible{padding:7px 10px;}
.igsim-listing em.igsim-reveal.is-visible{padding:8px 5px;}

.igsim-meta{display:flex;gap:9px;align-items:center;justify-content:space-between;min-height:35px;padding:0 6px 0;}
.igsim-meta>span{display:flex;align-items:center;gap:5px;color:#688092;font-size:9px;white-space:nowrap;}
.igsim-meta>span i{width:6px;height:6px;border-radius:50%;background:#13b874;}
.igsim-controls{display:flex;gap:3px;align-items:center;}
.igsim-controls button{display:flex;align-items:center;gap:4px;border:1px solid #dce4ee;border-radius:9px;color:#3a5c73;font-size:10px;background:#fff;padding:7px;cursor:pointer;}
.igsim-controls button:hover{background:#f5f9fc;}
.igsim-controls button:focus-visible{outline:2px solid #147bcb;outline-offset:2px;}

.assistant-social-video-card:has(> .igsim){max-width:340px;width:min(100%,340px);box-shadow:none;border:none;background:transparent;padding:0;}
.assistant-social-video-card:has(> .igsim) .assistant-social-video-badge,.assistant-social-video-card:has(> .igsim) > p{display:none;}
.assistant-social-demo-video:has(> .igsim){max-width:320px;}
.assistant-social-demo-js{max-width:330px;margin:auto;}
.assistant-social-story-media:has(.igsim){min-height:680px;}
@media(max-width:600px){
  .igsim{max-width:285px;}
  .igsim-phone{height:558px;min-height:470px;border-radius:44px;}
  .igsim-post-photo{height:195px;}
  .assistant-social-story-media:has(.igsim){min-height:590px;}
  .assistant-social-video-card:has(> .igsim){max-width:300px;}
}
@keyframes igsim-typing{to{opacity:.3;transform:translateY(-2px);}}
@media(prefers-reduced-motion:reduce){.igsim *,.igsim *::before,.igsim *::after{transition:none !important;animation:none !important;}}

/* Comment sheet */
.igsim-comments-sheet{position:absolute;z-index:5;left:0;right:0;bottom:0;height:240px;background:#fff;border-radius:19px 19px 0 0;box-shadow:0 -9px 23px #13263e2b;padding:10px 12px 0;transform:translateY(106%);transition:transform .43s cubic-bezier(.2,.8,.2,1);}
.igsim[data-igsim-step="1"] .igsim-comments-sheet,.igsim[data-igsim-step="2"] .igsim-comments-sheet,.igsim[data-igsim-step="3"] .igsim-comments-sheet{transform:translateY(0);}
.igsim-sheet-handle{height:4px;width:42px;border-radius:4px;background:#d5d8de;margin:0 auto 10px;}
.igsim-sheet-heading{display:block;text-align:center;font-size:12px;font-weight:700;padding-bottom:10px;border-bottom:1px solid #eaecef;}
.igsim-comments-sheet .igsim-comment{font-size:11px;margin:9px 0 0;min-height:32px;}
.igsim-comments-sheet .igsim-comment--reply{margin-left:24px;}
.igsim-comments-sheet .igsim-comment .igsim-avatar{flex-basis:26px;width:26px;height:26px;}
.igsim-comments-sheet .igsim-comment .igsim-avatar-b{left:7px;top:3px;font-size:15px;}
.igsim-comments-sheet .igsim-comment .igsim-avatar-dot{right:5px;top:6px;width:4px;height:4px;}
.igsim-sheet-input{position:absolute;left:13px;right:13px;bottom:12px;display:flex;align-items:center;gap:8px;border:1px solid #e7e9ed;border-radius:20px;padding:5px 8px;font-size:9px;color:#7d8994;}
.igsim-sheet-input span:nth-child(2){flex:1;}
.igsim-sheet-input strong{color:#3896d7;}
.igsim-direct-hint.igsim-reveal{transform:translateX(-50%) translateY(9px);}
.igsim-direct-hint.igsim-reveal.is-visible{transform:translateX(-50%) translateY(0);}

/* Chat content: accurate, compact real-estate examples, no giant icons. */
.igsim-listing-facts{font-size:9.5px;line-height:1.4;color:#66788b;}
.igsim-listing-origin{font-size:9px;line-height:1.35;color:#7b8b99;}
.igsim-lead-card{display:flex;flex-direction:column;align-self:flex-start;gap:8px;width:92%;padding:12px;border:1px solid #e4d5fa;border-radius:13px;background:#faf6ff;color:#243448;box-shadow:0 2px 8px rgba(98,49,160,.07);}
.igsim-lead-card.igsim-reveal.is-visible{max-height:280px;}
.igsim-lead-head{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.35;color:#7b32b2;}
.igsim-lead-head b{font-weight:800;}
.igsim-lead-row{display:flex;flex-direction:column;gap:2px;border-top:1px solid #ecdef8;padding-top:7px;}
.igsim-lead-row span{font-size:9px;color:#7c6a90;}
.igsim-lead-row strong{font-size:10px;font-weight:750;color:#243448;overflow-wrap:anywhere;}
.igsim-lead-card>small{font-size:9px;line-height:1.4;color:#766786;}
.igsim-phone .igsim-listing em{font-size:11px;line-height:1.2;min-height:31px;}

/* Facebook / Messenger variant */
.igsim[data-igsim-platform="facebook"]{
  --igsim-blue:#1677f2;
  --igsim-blue-soft:#eaf3ff;
}
.igsim[data-igsim-platform="facebook"] .igsim-avatar--agency{border-color:#1677f2;box-shadow:0 2px 10px rgba(22,119,242,.12) inset;}
.igsim[data-igsim-platform="facebook"] .igsim-bubble--user{background:linear-gradient(135deg,#1877f2,#0e5fcb);}
.igsim[data-igsim-platform="facebook"] .igsim-quick span{border-color:#a8c7ff;color:#145cc2;background:#f7fbff;}
.igsim[data-igsim-platform="facebook"] .igsim-listing em,
.igsim[data-igsim-platform="facebook"] .igsim-resource em{background:linear-gradient(90deg,#1877f2,#2c8bff);}
.igsim[data-igsim-platform="facebook"] .igsim-info{background:#eef5ff;color:#145cc2;}
.igsim[data-igsim-platform="facebook"] .igsim-info small{color:#5f7286;}
.igsim[data-igsim-platform="facebook"] .igsim-lead-card{background:#f7fbff;border-color:#d6e6ff;box-shadow:0 2px 8px rgba(24,119,242,.08);}
.igsim[data-igsim-platform="facebook"] .igsim-lead-head{color:#145cc2;}
.igsim[data-igsim-platform="facebook"] .igsim-lead-row{border-top-color:#deebff;}
.igsim[data-igsim-platform="facebook"] .igsim-direct-hint{background:#145cc2;box-shadow:0 5px 16px rgba(20,92,194,.35);}
.igsim[data-igsim-platform="facebook"] .igsim-profile>span:last-child{background:#edf4ff;color:#145cc2;}

.igsim-fb-topbar{height:42px;display:flex;justify-content:space-between;align-items:center;padding:0 12px;background:#fff;border-bottom:1px solid #e7ecf3;color:#1877f2;}
.igsim-fb-topbar strong{font-size:23px;line-height:1;font-weight:900;letter-spacing:-.6px;}
.igsim-fb-topbar span{display:flex;align-items:center;gap:12px;color:#2d4662;}
.igsim-fb-card{margin:8px 10px 0;border:1px solid #e5ebf3;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 8px 26px rgba(17,44,81,.08);}
.igsim-post-head--facebook{height:52px;padding:0 12px;}
.igsim-post-head--facebook > span:nth-child(2){display:flex;flex-direction:column;line-height:1.15;flex:1;font-size:11px;}
.igsim-fb-stats{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;font-size:10px;color:#657889;border-top:1px solid #eef3f8;}
.igsim-fb-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid #eef3f8;}
.igsim-fb-actions span{display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 6px;font-size:10px;color:#405770;font-weight:700;}
.igsim-fb-actions svg{width:15px!important;height:15px!important;max-width:15px!important;max-height:15px!important;flex:0 0 15px!important;}
.igsim-comments-sheet--facebook{height:228px;}
.igsim-bottomnav--facebook{height:40px;}
.igsim-bottomnav--facebook svg{color:#2c4868;fill:none;stroke:currentColor;}
.igsim-bottomnav--facebook svg path:only-child{fill:none;}

.igsim-dm-head--facebook{background:#fff;border-bottom:1px solid #e5edf6;}
.igsim-dm-head--facebook .igsim-avatar{width:29px;height:29px;flex-basis:29px;}
.igsim-dm-head--facebook strong{font-size:12px;}
.igsim-dm-head--facebook small{font-size:9px;color:#6d8398;}
.igsim-compose--facebook{border-radius:18px;background:#f8fbff;border-color:#d9e6f7;bottom:3px;}
.igsim-compose--facebook span{background:#eef4fb;color:#2372e4;width:26px;height:26px;}
.igsim-compose--facebook span svg{color:#2372e4;width:14px!important;height:14px!important;}
.igsim-view--dm-facebook .igsim-profile strong{font-size:13px;}

/* Chat AI source cue */
/* Small agency-listing lookup cue in the Chat AI demonstration. */
.igsim-ai-source{align-self:flex-start;align-items:center;gap:6px;border:1px solid #d4eafa;border-radius:11px;background:#f0f8ff;color:#396982;font-size:10px;line-height:1.35;font-weight:680;max-width:92%;}
.igsim-ai-source svg{width:14px!important;height:14px!important;flex:0 0 14px;}
.igsim-ai-source.igsim-reveal.is-visible{display:flex;padding:8px 10px;max-height:70px;}

/* WhatsApp variant */
.igsim[data-igsim-platform="whatsapp"]{
  --igsim-wa-green:#075e54;
  --igsim-wa-accent:#25d366;
  --igsim-wa-bubble:#dcf8c6;
  --igsim-wa-surface:#efeae2;
}
.igsim[data-igsim-platform="whatsapp"] .igsim-scenes{
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.35) 0 2px, transparent 3px 100%),
    radial-gradient(circle at 78% 35%, rgba(255,255,255,.25) 0 1.5px, transparent 2.5px 100%),
    radial-gradient(circle at 35% 70%, rgba(255,255,255,.2) 0 2px, transparent 3px 100%),
    linear-gradient(180deg,#f5f1ea,#ece5dd);
}
.igsim-dm-head--whatsapp{
  background:var(--igsim-wa-green);
  color:#fff;
  border-bottom:none;
}
.igsim-dm-head--whatsapp strong,
.igsim-dm-head--whatsapp small,
.igsim-dm-head--whatsapp svg{color:#fff;}
.igsim-dm-head--whatsapp small{opacity:.9;}
.igsim-dm-scroll--whatsapp{top:51px;bottom:53px;padding:10px 10px 4px;}
.igsim-today--whatsapp{
  display:inline-block;
  margin:0 auto 12px;
  padding:4px 9px;
  border-radius:8px;
  background:#fff7cf;
  color:#6a6246;
  font-size:9px;
  box-shadow:0 1px 2px rgba(0,0,0,.08);
}
.igsim[data-igsim-platform="whatsapp"] .igsim-messages{gap:8px;}
.igsim[data-igsim-platform="whatsapp"] .igsim-bubble{
  box-shadow:0 1px 1px rgba(0,0,0,.08);
  font-size:11.5px;
}
.igsim[data-igsim-platform="whatsapp"] .igsim-bubble--user{
  background:var(--igsim-wa-bubble);
  color:#23343d;
  border-bottom-right-radius:5px;
}
.igsim[data-igsim-platform="whatsapp"] .igsim-bubble--agency{
  background:#fff;
  color:#22343c;
  border-bottom-left-radius:5px;
}
.igsim[data-igsim-platform="whatsapp"] .igsim-quick{gap:7px;}
.igsim[data-igsim-platform="whatsapp"] .igsim-quick span{
  border-color:#b9e9c7;
  color:#0f6a4d;
  background:#f8fffb;
}
.igsim[data-igsim-platform="whatsapp"] .igsim-listing,
.igsim[data-igsim-platform="whatsapp"] .igsim-resource{
  border-color:#dde5de;
  box-shadow:0 4px 14px rgba(20,53,44,.08);
}
.igsim[data-igsim-platform="whatsapp"] .igsim-listing em,
.igsim[data-igsim-platform="whatsapp"] .igsim-resource em{
  background:linear-gradient(90deg,#128c7e,#25d366);
}
.igsim[data-igsim-platform="whatsapp"] .igsim-info{
  background:#edf7ef;
  color:#0f6a4d;
}
.igsim[data-igsim-platform="whatsapp"] .igsim-info small{color:#61786e;}
.igsim[data-igsim-platform="whatsapp"] .igsim-lead-card{
  background:#f7fffa;
  border-color:#d5ebdb;
  box-shadow:0 2px 8px rgba(18,140,126,.08);
}
.igsim[data-igsim-platform="whatsapp"] .igsim-lead-head{color:#0f6a4d;}
.igsim[data-igsim-platform="whatsapp"] .igsim-lead-row{border-top-color:#e0f0e5;}
.igsim[data-igsim-platform="whatsapp"] .igsim-typing{
  background:#fff;
  box-shadow:0 1px 1px rgba(0,0,0,.06);
}
.igsim-compose--whatsapp{
  background:#f0f2f5;
  border:none;
  border-radius:24px;
  bottom:4px;
  left:8px;
  right:8px;
  height:40px;
}
.igsim-compose--whatsapp span{
  width:28px;
  height:28px;
  background:#fff;
  color:#5e7487;
  box-shadow:0 1px 2px rgba(0,0,0,.08);
}
.igsim-compose--whatsapp span svg{color:#5e7487;width:14px!important;height:14px!important;}
.igsim-compose--whatsapp small{font-size:10px;color:#6d7882;}
.igsim[data-igsim-platform="whatsapp"] .igsim-meta > span i{background:#25d366;}

/* v11 · Deliberate "assistant is typing" pause before automated replies. */
.igsim-assistant-composing,
.igsim-public-composing {
  display: none;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 94%;
  color: #64768a;
  font-size: 10px;
  line-height: 1.3;
}
.igsim-assistant-composing.is-composing,
.igsim-public-composing.is-composing { display: flex; }
.igsim-assistant-composing {
  align-self: flex-start;
  border: 1px solid #e3ebee;
  border-radius: 15px 15px 15px 4px;
  padding: 8px 10px;
  background: #fff;
  box-shadow: 0 2px 8px #16384b0a;
}
.igsim-assistant-composing-dots,
.igsim-public-composing { --typing-dot: #7399b5; }
.igsim-assistant-composing-dots { display: inline-flex; gap: 3px; align-items: center; }
.igsim-assistant-composing-dots i,
.igsim-public-composing > i {
  display: inline-block;
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--typing-dot);
  animation: igsim-compose-bounce 1s ease-in-out infinite;
}
.igsim-assistant-composing-dots i:nth-child(2),
.igsim-public-composing > i:nth-child(2) { animation-delay: .17s; }
.igsim-assistant-composing-dots i:nth-child(3),
.igsim-public-composing > i:nth-child(3) { animation-delay: .34s; }
.igsim-public-composing {
  position: absolute;
  bottom: 51px;
  left: 48px;
  z-index: 8;
  padding: 8px 10px;
  background: #eef3f7;
  border-radius: 12px;
}
.igsim[data-igsim-platform="whatsapp"] .igsim-assistant-composing {
  background: #fff;
  color: #56736a;
}
.igsim[data-igsim-platform="whatsapp"] .igsim-assistant-composing-dots { --typing-dot: #17a77f; }
.igsim[data-igsim-platform="facebook"] .igsim-assistant-composing-dots,
.igsim[data-igsim-platform="facebook"] .igsim-public-composing { --typing-dot: #1877f2; }
.igsim[data-igsim-platform="instagram"] .igsim-assistant-composing-dots,
.igsim[data-igsim-platform="instagram"] .igsim-public-composing { --typing-dot: #af3bad; }
@keyframes igsim-compose-bounce {
  0%, 65%, 100% { opacity: .35; transform: translateY(0); }
  32% { opacity: 1; transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .igsim-assistant-composing-dots i,.igsim-public-composing > i { animation: none; }
}
