/* Network theatre. All styles stay within the standalone OPC live section. */
.opc-live {
  --live-gold: #ddbf8b;
  --live-supply: #9fcbbc;
  --live-delivery: #9baecb;
  background: #08131c;
  color: #e7e9e8;
  position: relative;
  overflow: clip;
  padding: 90px 0 28px;
  border-top: 1px solid #ffffff13;
}
.opc-live .wrap {
  position: relative;
  z-index: 2;
}
.opc-live-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  pointer-events: none;
}
.opc-live-heading button {
  pointer-events: auto;
}
.opc-live-eyebrow {
  font:
    10px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #bac8cc;
  margin-bottom: 24px;
}
.opc-live-signal {
  display: inline-block;
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--live-gold);
  box-shadow: 0 0 10px #ddbf8b55;
}
.opc-live-demo {
  font: 10px/1.5 var(--font);
  letter-spacing: 0.5px;
  border: 1px solid #8c9b9e40;
  border-radius: 3px;
  padding: 2px 6px;
  margin-left: 7px;
  color: #96a4aa;
}
.opc-live h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.3;
  letter-spacing: -1.3px;
  font-weight: 400;
}
.opc-live-heading p {
  font-size: 14px;
  line-height: 1.7;
  color: #97a6ad;
  margin-top: 13px;
  letter-spacing: 1px;
}
.opc-live-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid #92a2a638;
  border-radius: 3px;
  font-size: 11px;
  margin-top: 3px;
  background: #080e1360;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.opc-live-toggle:hover {
  background: #ffffff09;
  border-color: #d9c9a978;
}
.opc-live-toggle:disabled {
  opacity: 0.5;
  cursor: default;
}
.opc-live-toggle [data-live-pause-icon] {
  font-size: 11px;
  color: var(--live-gold);
  width: 10px;
}
.opc-live-map {
  position: relative;
  height: 550px;
  margin-top: -75px;
  z-index: 0;
  pointer-events: none;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 10%,
    #000 78%,
    transparent 100%
  );
}
#opc-network-map {
  display: block;
  width: 100%;
  height: 100%;
}
.opc-map-caption {
  position: absolute !important;
  bottom: 190px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  color: #7b919a;
  font:
    9px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 1.5px;
}
.opc-live-console {
  margin-top: -171px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: 7.5%;
  align-items: start;
}
.opc-live-channel {
  min-width: 0;
}
.opc-live-stream-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.opc-live-filters {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.opc-live-filters button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 12px;
  color: #91a0a7;
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s;
}
.opc-live-filters button[aria-pressed="true"] {
  background: #e8e6dc0b;
  border-color: #a9aaa73f;
  color: #f2eee4;
}
.opc-live-filters button:hover {
  color: #f2eee4;
}
.opc-live-filters i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--live-gold);
}
.opc-live-filters [data-live-filter="supply"] i {
  background: var(--live-supply);
}
.opc-live-filters [data-live-filter="delivery"] i {
  background: var(--live-delivery);
}
.opc-channel-id {
  font:
    9px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 1px;
  color: #647d8a;
}
.opc-live-stream {
  list-style: none;
  padding: 0;
  margin: 0;
  height: 415px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #66747b50 transparent;
  contain: layout;
  scroll-behavior: smooth;
}
.opc-broadcast {
  --message-color: var(--live-gold);
  padding: 21px 23px 20px;
  margin: 0 0 10px;
  border: 1px solid #8ca1ab24;
  border-radius: 5px;
  background: linear-gradient(125deg, #132029a8, #0a141bd9);
  position: relative;
}
.opc-broadcast[data-kind="supply"] {
  --message-color: var(--live-supply);
}
.opc-broadcast[data-kind="delivery"] {
  --message-color: var(--live-delivery);
}
.opc-broadcast.is-new {
  border-color: #d4b77e4a;
}
.opc-broadcast-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.opc-agent-avatar {
  width: 29px;
  height: 29px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--message-color);
  font:
    10px/1 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  border: 1px solid #b1c1c429;
  background: #bfded905;
  border-radius: 50%;
}
.opc-agent-identity {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
  min-width: 0;
}
.opc-agent-identity strong {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  color: #e6e9e8;
}
.opc-agent-identity small {
  font-size: 11px;
  color: #7f96a2;
  line-height: 1.4;
}
.opc-message-time {
  font:
    10px/1.4 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  color: #78909d;
  white-space: nowrap;
  margin-left: auto;
}
.opc-broadcast-body {
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.15px;
  color: #c9d1d3;
  margin: 13px 0 14px;
  overflow-wrap: anywhere;
}
.opc-broadcast-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 10px;
  line-height: 1.5;
}
.opc-message-kind {
  color: var(--message-color);
  padding-right: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.opc-message-kind::before {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}
.opc-message-tag {
  padding: 2px 6px;
  border-radius: 2px;
  color: #8198a5;
  background: #a5bbca09;
  border: 1px solid #829aa812;
}
.opc-live-summary {
  padding-top: 53px;
  min-width: 0;
}
.opc-live-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 17px;
}
.opc-live-stats > div {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.opc-live-stats strong {
  font:
    300 clamp(26px, 2.8vw, 37px) / 1 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: -1.5px;
  font-variant-numeric: tabular-nums;
  color: #ecece6;
}
.opc-live-stats span {
  font-size: 11px;
  line-height: 1.5;
  color: #8ea1aa;
}
.opc-live-time {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid #a1b3bd20;
  font-size: 10px;
  color: #91a4ae;
}
.opc-live-time time {
  font:
    12px/1 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 1px;
  margin-left: auto;
  color: #bfcacf;
  font-variant-numeric: tabular-nums;
}
.opc-activity-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 26px;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #8097a4;
}
.opc-live-activity {
  margin-top: 17px;
  min-height: 157px;
}
.opc-activity-agent {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.opc-activity-agent strong {
  font-size: 13px;
  font-weight: 400;
  color: #d7ddde;
}
.opc-activity-agent small {
  font-size: 10px;
  color: #7893a1;
  margin-left: auto;
}
.opc-activity-task {
  font-size: 13px;
  line-height: 1.8;
  color: #b7c5cb;
  margin: 10px 0 12px;
}
.opc-activity-step {
  font-size: 11px;
  line-height: 1.7;
  color: var(--live-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.opc-activity-track {
  height: 2px;
  background: #8ba8b121;
  margin-top: 18px;
  overflow: hidden;
}
.opc-activity-track i {
  height: 100%;
  display: block;
  background: var(--live-gold);
  transform: scaleX(var(--work-progress, 0.5));
  transform-origin: left;
  transition: transform 2.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.opc-live-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 43px;
  padding-top: 23px;
  border-top: 1px solid #a0b6c117;
  color: #718b99;
  font-size: 10px;
  line-height: 1.7;
}
.opc-live-bottom a {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 11px;
  color: #abb9bf;
}
.opc-live.is-paused .opc-live-signal {
  background: #869196;
  box-shadow: none;
}
.opc-live.is-paused .opc-activity-track i,
.motion-paused .opc-live * {
  transition: none !important;
  animation-play-state: paused !important;
}
.opc-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.opc-live-empty {
  color: #8ea1aa;
  padding: 30px;
  font-size: 13px;
  border: 1px solid #8ca1ab24;
  border-radius: 4px;
}
@media (min-width: 1700px) {
  .opc-live-map {
    height: 630px;
    margin-top: -95px;
  }
}
@media (max-width: 1000px) {
  .opc-live-console {
    gap: 35px;
    grid-template-columns: minmax(0, 1.25fr) minmax(250px, 1fr);
  }
  .opc-live-stats {
    gap: 10px;
  }
  .opc-live-stats strong {
    font-size: 27px;
  }
  .opc-live-map {
    height: 480px;
    margin-top: -40px;
  }
  .opc-broadcast {
    padding: 18px;
  }
  .opc-agent-identity {
    gap: 4px;
  }
  .opc-agent-identity small {
    width: 100%;
  }
}
@media (max-width: 700px) {
  .opc-live {
    padding-top: 62px;
  }
  .opc-live-heading {
    gap: 14px;
  }
  .opc-live h2 {
    font-size: 29px;
    letter-spacing: -0.9px;
    max-width: 245px;
  }
  .opc-live-eyebrow {
    font-size: 9px;
    gap: 6px;
    letter-spacing: 1px;
    margin-bottom: 20px;
  }
  .opc-live-demo {
    font-size: 9px;
    margin-left: 2px;
  }
  .opc-live-heading p {
    font-size: 12px;
    letter-spacing: 0;
    max-width: 230px;
  }
  .opc-live-toggle {
    padding: 0 10px;
    font-size: 10px;
    min-height: 35px;
  }
  .opc-live-map {
    height: 300px;
    margin-top: 8px;
    mask-image: linear-gradient(
      to bottom,
      transparent,
      #000 12%,
      #000 83%,
      transparent
    );
  }
  .opc-map-caption {
    bottom: 29px;
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .opc-live-console {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-top: -6px;
  }
  .opc-live-summary {
    display: contents;
  }
  .opc-live-stats {
    order: -3;
    width: 100%;
    gap: 20px;
  }
  .opc-live-stats strong {
    font-size: 28px;
  }
  .opc-live-stats span {
    font-size: 10px;
  }
  .opc-live-time {
    order: -2;
    margin: 0;
    padding-bottom: 19px;
    width: 100%;
  }
  .opc-live-channel {
    width: 100%;
    order: -1;
  }
  .opc-live-stream {
    height: 440px;
  }
  .opc-live-stream-toolbar {
    margin-bottom: 12px;
  }
  .opc-live-filters {
    gap: 2px;
  }
  .opc-live-filters button {
    font-size: 11px;
    padding: 7px 9px;
  }
  .opc-channel-id {
    display: none;
  }
  .opc-broadcast {
    padding: 17px 16px;
  }
  .opc-broadcast-body {
    font-size: 13px;
    line-height: 1.85;
    margin: 12px 0;
  }
  .opc-agent-identity strong {
    font-size: 13px;
  }
  .opc-agent-identity small {
    font-size: 10px;
  }
  .opc-message-time {
    font-size: 9px;
  }
  .opc-activity-heading {
    width: 100%;
    margin-top: 2px;
  }
  .opc-live-activity {
    width: 100%;
    min-height: 130px;
    margin-top: -10px;
  }
  .opc-live-bottom {
    margin-top: 24px;
    align-items: flex-start;
    font-size: 9px;
  }
  .opc-live-bottom a {
    font-size: 10px;
    gap: 12px;
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .opc-live * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.opc-activity-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.opc-activity-head > .opc-activity-step {
  margin-left: auto;
  white-space: nowrap;
  color: #91a5ad;
  font:
    10px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
}
.opc-activity-head .opc-agent-identity {
  display: block;
}
.opc-activity-head .opc-agent-identity small {
  display: block;
  margin-top: 3px;
}
.opc-activity-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--live-gold);
  font-size: 11px;
  line-height: 1.7;
  margin-top: 12px;
}
.opc-activity-foot > span:last-child {
  font-variant-numeric: tabular-nums;
}
.opc-live-summary {
  background: linear-gradient(0deg, #08131c 0%, #08131ced 72%, #08131c00 100%);
}
@media (max-width: 700px) {
  .opc-live-heading > div {
    width: 100%;
  }
  .opc-live-heading .opc-live-toggle {
    position: absolute;
    right: 0;
    top: 0;
    margin: 0;
  }
  .opc-live h2 {
    max-width: none;
    font-size: 28px;
  }
  .opc-live-heading p {
    max-width: none;
  }
  .opc-live-eyebrow {
    margin-bottom: 28px;
  }
  .opc-live-map {
    height: 240px;
  }
  .opc-live-summary {
    background: none;
  }
}
@media (max-width: 370px) {
  .opc-live-eyebrow {
    font-size: 8px;
    letter-spacing: 0.7px;
  }
  .opc-live-demo {
    font-size: 8px;
    padding: 2px 4px;
  }
  .opc-channel-id {
    display: none;
  }
  .opc-live-filters {
    gap: 1px;
  }
  .opc-live-filters button {
    font-size: 10px;
    padding: 7px 8px;
  }
}
