/* RuntimeIQ product chrome overrides */

.runtimeiq-mark {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 12px;
  border: 2px solid rgba(56, 189, 248, 0.85);
  color: #38bdf8;
  font-size: 1.35rem;
  background: rgba(15, 23, 42, 0.06);
}

.slack-brand.slack-brand--product .slack-brand-product {
  color: #e0f2fe;
}

.slack-brand.slack-brand--product .slack-brand-tagline {
  color: rgba(224, 242, 254, 0.92);
  border-top-color: rgba(224, 242, 254, 0.28);
}

.slack-brand.slack-brand--product .slack-brand-name {
  color: #e0f2fe;
}

.slack-brand.slack-brand--product .slack-brand-sub {
  color: rgba(224, 242, 254, 0.88);
  opacity: 1;
}

.slack-brand-name {
  letter-spacing: -0.02em;
}

.slack-topbar .actions .primary {
  background: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 100%);
  color: #0f172a;
  border-color: #0284c7;
}

.slack-topbar .actions .primary:hover,
.slack-app .briefing-inline-actions .primary:hover {
  filter: brightness(1.06);
}

.slack-app .briefing-inline-actions .primary {
  background: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 100%);
  color: #0f172a;
  border-color: #0284c7;
  min-height: 2.5rem;
  font-size: 0.9375rem;
  padding-block: 0.5rem;
  border-radius: 8px;
}

.modal-card--create-scenario {
  max-width: 640px;
  width: min(640px, calc(100vw - 2rem));
}

.modal-card--create-scenario textarea {
  width: 100%;
  min-height: 5rem;
  resize: vertical;
  font: inherit;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border, #d5deeb);
  background: var(--surface, #fff);
  color: inherit;
}

.create-scenario-role-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.create-scenario-draft {
  margin-top: 0.75rem;
}

@media (max-width: 640px) {
  .create-scenario-role-row {
    grid-template-columns: 1fr;
  }
}

/* RuntimeAI uses a fixed turn budget (no rounds picker in the sim UI). */
body[data-product="runtimeai"] #agent-turns {
  display: none !important;
}

/* --- RUNTIMEAI UI ISOLATION START --- */
body[data-product="runtimeai"] .v-sim-bar__nav a[href="/simops"],
body[data-product="runtimeai"] .v-sim-bar__nav a[href="/assurance"],
body[data-product="runtimeai"] .v-sim-bar__nav a[href="/bellwether"],
body[data-offering="runtimeai"] .v-offering-nav a[href="/simops"],
body[data-offering="runtimeai"] .v-offering-nav a[href="/assurance"],
body[data-offering="runtimeai"] .v-offering-nav a[href="/bellwether"],
body[data-product="runtimeai"] #tab-btn-feedback,
body[data-product="runtimeai"] #tab-feedback,
body[data-product="runtimeai"] .admin-settings-human-end {
  display: none !important;
}

body[data-product="runtimeai"] #filter-actor option[value="human"],
body[data-product="runtimeai"] #filter-actor option[value="harness"] {
  display: none !important;
}

body.landing-page[data-product="runtimeai"] .v-offering-nav {
  display: none !important;
}

/* --- RUNTIMEAI UI ISOLATION END --- */
