
/* OWGE facilitator Intel Domain Sliders */
#owgeIntelDomainPressureSliders {
  margin: 18px 0 22px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.96));
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#owgeIntelDomainPressureSliders .owge-intel-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 14px;
  margin: 0 0 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

#owgeIntelDomainPressureSliders .owge-intel-card-head h2 {
  margin: 0;
  font-size: 0.98rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

#owgeIntelDomainPressureSliders .owge-intel-card-head p {
  margin: 5px 0 0;
  color: rgba(203, 213, 225, 0.72);
  font-size: 0.82rem;
  line-height: 1.35;
}

#owgeIntelDomainPressureSliders .owge-intel-card-body {
  padding: 0;
}

#owgeIntelDomainPressureSliders .owge-intel-domain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 14px;
  align-items: stretch;
}

#owgeIntelDomainPressureSliders .owge-intel-domain {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 142px;
  padding: 14px;
  border-radius: 15px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.56));
}

#owgeIntelDomainPressureSliders .owge-intel-domain h3 {
  order: 0;
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: rgba(248, 250, 252, 0.96);
}

#owgeIntelDomainPressureSliders .owge-comm-domain-pressure {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#owgeIntelDomainPressureSliders .owge-comm-domain-pressure-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

#owgeIntelDomainPressureSliders .owge-comm-domain-pressure-values span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 5px 6px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(2, 6, 23, 0.34);
  color: rgba(148, 163, 184, 0.92);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

#owgeIntelDomainPressureSliders .owge-comm-domain-pressure-values b {
  margin-top: 2px;
  color: rgba(248, 250, 252, 0.96);
  font-size: 0.7rem;
  letter-spacing: 0;
}

#owgeIntelDomainPressureSliders input[type="range"] {
  width: 100%;
  accent-color: #38bdf8;
  cursor: pointer;
}

#owgeIntelDomainPressureSliders .owge-comm-domain-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(2, 6, 23, 0.52);
}

#owgeIntelDomainPressureSliders .owge-comm-domain-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.85), rgba(34, 197, 94, 0.78));
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.22);
}

@media (max-width: 1180px) {
  #owgeIntelDomainPressureSliders .owge-intel-domain-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 720px) {
  #owgeIntelDomainPressureSliders {
    padding: 14px;
  }

  #owgeIntelDomainPressureSliders .owge-intel-domain-grid {
    grid-template-columns: 1fr;
  }
}

/* Fix layout: sliders belong inside each individual domain card */
#owgeIntelDomainPressureSliders .owge-intel-domain-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(180px, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
}

#owgeIntelDomainPressureSliders .owge-intel-domain {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  min-height: 150px !important;
}

#owgeIntelDomainPressureSliders .owge-intel-domain > h3 {
  margin: 0 0 2px !important;
}

#owgeIntelDomainPressureSliders .owge-comm-domain-pressure {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
  margin-top: 4px !important;
}

#owgeIntelDomainPressureSliders .owge-intel-card-body > .owge-comm-domain-pressure {
  display: none !important;
}

#owgeIntelDomainPressureSliders .owge-intel-card-body > .owge-comm-domain-pressure-values,
#owgeIntelDomainPressureSliders .owge-intel-card-body > input[data-comm-domain-slider],
#owgeIntelDomainPressureSliders .owge-intel-card-body > .owge-comm-domain-track {
  display: none !important;
}

@media (max-width: 1180px) {
  #owgeIntelDomainPressureSliders .owge-intel-domain-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  #owgeIntelDomainPressureSliders .owge-intel-domain-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Player-style facilitator Intel domain cards */
#owgeIntelDomainPressureSliders {
  margin: 18px 0 22px !important;
}

#owgeIntelDomainPressureSliders .owge-intel-card-head {
  margin-bottom: 14px !important;
}

#owgeIntelDomainPressureSliders .owge-intel-domain-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(220px, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-card {
  position: relative !important;
  min-height: 182px !important;
  padding: 18px 18px 16px 74px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(96, 165, 250, 0.26) !important;
  background:
    radial-gradient(circle at 14% 10%, rgba(56, 189, 248, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.62)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035) !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-card::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 20px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: rgba(2, 6, 23, 0.34);
  box-shadow: 0 0 28px color-mix(in srgb, currentColor 26%, transparent);
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-card::after {
  position: absolute;
  left: 34px;
  top: 29px;
  font-size: 18px;
  line-height: 1;
  opacity: 0.96;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-card.is-communication {
  color: #38bdf8;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-card.is-communication::after {
  content: "◈";
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-card.is-maritime {
  color: #38bdf8;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-card.is-maritime::after {
  content: "▣";
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-card.is-mandate {
  color: #c084fc;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-card.is-mandate::after {
  content: "⚖";
  left: 33px;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-card.is-media {
  color: #86efac;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-card.is-media::after {
  content: "●";
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-title {
  margin: 0 !important;
  color: currentColor !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.015em !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-description {
  margin: 6px 0 24px !important;
  color: rgba(226, 232, 240, 0.82) !important;
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-tension-label {
  margin-bottom: 8px !important;
  color: rgba(203, 213, 225, 0.84) !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-pressure {
  margin-top: auto !important;
  width: 100% !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-values {
  display: flex !important;
  gap: 6px !important;
  margin-bottom: 8px !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-values span {
  min-height: 28px !important;
  flex: 1 !important;
  padding: 4px 6px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  background: rgba(2, 6, 23, 0.36) !important;
  color: rgba(203, 213, 225, 0.76) !important;
  font-size: 0.56rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.06em !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-values b {
  display: block !important;
  margin-top: 1px !important;
  color: rgba(248, 250, 252, 0.98) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0 !important;
}

#owgeIntelDomainPressureSliders input[data-comm-domain-slider] {
  width: 100% !important;
  accent-color: currentColor !important;
  cursor: pointer !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-scale {
  display: flex !important;
  justify-content: space-between !important;
  margin: 4px 0 10px !important;
  color: rgba(226, 232, 240, 0.72) !important;
  font-size: 0.62rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-track {
  height: 6px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  background: rgba(2, 6, 23, 0.55) !important;
  overflow: hidden !important;
}

#owgeIntelDomainPressureSliders .owge-comm-domain-fill {
  height: 100% !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, #22c55e, #eab308, #ef4444) !important;
}

/* Hide wrongly placed orphan controls above the cards */
#owgeIntelDomainPressureSliders > .owge-comm-domain-pressure,
#owgeIntelDomainPressureSliders .owge-intel-card-body > .owge-comm-domain-pressure,
#owgeIntelDomainPressureSliders .owge-intel-card-body > input[data-comm-domain-slider],
#owgeIntelDomainPressureSliders .owge-intel-card-body > .owge-comm-domain-track,
#owgeIntelDomainPressureSliders .owge-intel-card-body > .owge-comm-domain-pressure-values {
  display: none !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-card .owge-comm-domain-pressure {
  display: flex !important;
  flex-direction: column !important;
}

@media (max-width: 1280px) {
  #owgeIntelDomainPressureSliders .owge-intel-domain-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  #owgeIntelDomainPressureSliders .owge-intel-domain-grid {
    grid-template-columns: 1fr !important;
  }

  #owgeIntelDomainPressureSliders .owge-player-style-domain-card {
    padding-left: 72px !important;
  }
}

/* Final contrast pass for facilitator player-style domain cards */
#owgeIntelDomainPressureSliders {
  background:
    linear-gradient(180deg, rgba(8, 16, 32, 0.96), rgba(5, 11, 24, 0.98)) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-card {
  color: rgba(226, 232, 240, 0.92) !important;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.78)) !important;
  border-color: rgba(148, 163, 184, 0.20) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.035),
    0 10px 28px rgba(0,0,0,0.16) !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-card::before {
  opacity: 0.75 !important;
  border-color: rgba(96, 165, 250, 0.42) !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.10) !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-card::after {
  color: rgba(125, 211, 252, 0.88) !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-title {
  color: rgba(248, 250, 252, 0.96) !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-description {
  color: rgba(203, 213, 225, 0.68) !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-tension-label {
  color: rgba(148, 163, 184, 0.92) !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-values span {
  background: rgba(2, 6, 23, 0.42) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  color: rgba(148, 163, 184, 0.92) !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-domain-values b {
  color: rgba(241, 245, 249, 0.96) !important;
}

#owgeIntelDomainPressureSliders input[data-comm-domain-slider] {
  accent-color: #38bdf8 !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-scale {
  color: rgba(148, 163, 184, 0.78) !important;
}

#owgeIntelDomainPressureSliders .owge-player-style-track {
  background: rgba(2, 6, 23, 0.72) !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
}

#owgeIntelDomainPressureSliders .owge-comm-domain-fill {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.82), rgba(234, 179, 8, 0.82), rgba(239, 68, 68, 0.82)) !important;
}

/* Selected Intel free text / script block */
.owge-intel-script-block-field {
  grid-column: 1 / -1;
}

.owge-intel-script-block-field textarea {
  min-height: 220px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  line-height: 1.45;
  white-space: pre-wrap;
}
