/* ==========================================================================
   HOME (draft): the assistant beside the network, in #serviceoverview.
   Linked inside that section, so it loads after every sheet in the head, and
   by the draft Home alone. Where the two columns sit (stacked, side by side,
   the engaged state, the pop-out) is set in home_product-1-1.css and -1-2.css.
   This sheet holds the paints: one white box with a dark blue border, brand
   text, no gray fill, no box inside a box, nothing that pulses for ever.
   ========================================================================== */
.stg-network{ box-sizing:border-box; margin:0 auto; }
.stg-network *,
.stg-network *::before,
.stg-network *::after{ box-sizing:border-box; }

/* the card only places the frame: the frame is the one box a visitor sees */
.stg-network .stg-card{ padding:0 !important; background:transparent; border:0; }
.stg-network .stg-frame{
  margin-top:0 !important; overflow:hidden; background:#fff;
  border:1.5px solid #004C97; border-radius:14px;
  box-shadow:0 1px 0 rgba(0,76,151,.05), 0 16px 32px -24px rgba(0,76,151,.5);
  transition:margin-top 420ms cubic-bezier(.22,1,.36,1);
}
/* engaged: "Show network" stands over the frame, so the frame steps down from it */
body:not(.npe-popout) .duo.eco-active .stg-network .stg-frame{ margin-top:12px !important; }

/* the bar over the chat: brand text on white, never white on navy */
.stg-bar{
  display:flex; align-items:center; gap:8px; padding:12px 16px;
  background:#fff; color:#004C97; border-bottom:1.5px solid #004C97;
  font-weight:600; line-height:1.2;
}
.stg-dot{ flex:none; width:8px; height:8px; border-radius:50%; background:#0096D6; }

.stg-embed{ display:block; width:100%; height:760px; border:0; background:#fff; }

.stg-fallback{
  display:block; padding:12px 16px; text-align:center;
  background:#fff; color:#004C97; border-top:1.5px solid #004C97;
  font-weight:600; text-decoration:none;
}
.stg-network .stg-fallback{ font-size:var(--fs-small) !important; }
.stg-fallback:hover{ text-decoration:underline; text-underline-offset:3px; }
/* the frame clips what lies outside it, so the focus ring is drawn inside */
.stg-fallback:focus-visible{ outline-offset:-4px; }

/* "Show network", shown while the assistant has taken the whole width */
.stg-network .eco-restore{ border:1.5px solid #004C97; border-radius:10px; background:#fff; color:#004C97; font-size:var(--fs-small); font-weight:600; }
.stg-network .eco-restore:hover{ border-color:#004C97; color:#004C97; box-shadow:0 0 0 1.5px #004C97; }

/* the dot beats three times when the page opens, then holds */
@media (prefers-reduced-motion:no-preference){
  .stg-dot{ animation:stgPulse 1.8s ease-out 3; }
}
@keyframes stgPulse{
  0%{ box-shadow:0 0 0 0 rgba(0,150,214,.6); }
  70%, 100%{ box-shadow:0 0 0 8px rgba(0,150,214,0); }
}

@media (max-width:768px){
  .stg-embed{ height:620px; }
}
