/* SimOps — slate grey-blue product chrome */

:root {
  --simops-slate: #3d5166;
  --simops-slate-deep: #2a3544;
  --simops-slate-soft: #5a7088;
  --simops-blue: #6a9fd4;
  --simops-blue-bright: #8eb8e8;
  --simops-blue-muted: #4a7ab8;
  --simops-surface: #eef2f7;
  --simops-surface-elevated: #f8fafc;
}

.simops-logo {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
}

.simops-mark {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--simops-slate-soft) 0%, var(--simops-slate) 100%);
  box-shadow: 0 2px 8px rgba(42, 53, 68, 0.18);
  padding: 0.35rem;
}

.simops-mark .simops-logo {
  width: 100%;
  height: 100%;
}

[data-theme="dark"] .simops-mark,
:root:not([data-theme="light"]) .simops-mark {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

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

.slack-brand.slack-brand--product .slack-brand-tagline {
  color: rgba(255, 255, 255, 0.9);
  border-top-color: rgba(255, 255, 255, 0.22);
}

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

.slack-brand.slack-brand--product .slack-brand-sub {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.86);
  opacity: 1;
}

.slack-brand-name {
  letter-spacing: -0.02em;
  color: var(--simops-slate-deep);
}

[data-theme="dark"] .slack-brand-name,
:root:not([data-theme="light"]) .slack-brand-name {
  color: inherit;
}

.slack-brand-sub {
  font-size: 0.82rem;
  color: var(--simops-slate-soft);
}

[data-theme="dark"] .slack-brand-sub,
:root:not([data-theme="light"]) .slack-brand-sub {
  color: inherit;
  opacity: 0.78;
}

.slack-topbar .actions .primary,
.slack-app .briefing-inline-actions .primary {
  background: linear-gradient(180deg, var(--simops-blue-bright) 0%, var(--simops-blue-muted) 100%);
  color: #f8fafc;
  border-color: #3d6a9e;
  min-height: 2.5rem;
  font-size: 0.9375rem;
  padding-block: 0.5rem;
  border-radius: 8px;
}

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

[data-theme="light"] .slack-sidebar {
  border-right-color: #d8e0ea;
}

[data-theme="light"] .slack-sidebar-top {
  border-bottom-color: #d8e0ea;
}

.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;
  }
}

/* --- SIMOPS UI ISOLATION START --- */
body[data-product="simops"] .v-sim-bar__nav a[href="/runtimeai"],
body[data-product="simops"] .v-sim-bar__nav a[href="/assurance"],
body[data-product="simops"] .v-sim-bar__nav a[href="/bellwether"],
body[data-offering="simops"] .v-offering-nav a[href="/runtimeai"],
body[data-offering="simops"] .v-offering-nav a[href="/assurance"],
body[data-offering="simops"] .v-offering-nav a[href="/bellwether"],
body[data-product="simops"] #tab-btn-model-cost,
body[data-product="simops"] #tab-btn-model-tests,
body[data-product="simops"] #tab-btn-feedback,
body[data-product="simops"] #tab-model-cost,
body[data-product="simops"] #tab-model-tests,
body[data-product="simops"] #tab-feedback,
body.landing-page[data-product="simops"] .v-offering-nav {
  display: none !important;
}

body[data-product="simops"] #filter-actor option[value="agent"],
body[data-product="simops"] #filter-actor option[value="harness"] {
  display: none !important;
}
/* --- SIMOPS UI ISOLATION END --- */
