/* SteroidsEU Stack Compatibility Advisor & Evidence Bottom Sheet (Mobile-First) */

/* --- 1. Product Page '?' Trigger Button inside .ai-upsell-row --- */
.steu-why-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition-property: background-color, border-color, color, transform;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.steu-why-btn::after {
  content: "";
  position: absolute;
  inset: -7px;
}
.steu-why-btn:hover,
.steu-why-btn:focus-visible {
  background: #f1f5f9;
  border-color: #0f172a;
  color: #0f172a;
  outline: none;
}
.steu-why-btn:active {
  transform: scale(0.95);
}
.steu-why-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition-property: background-color, border-color, color, transform;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.steu-why-chip::after {
  content: "";
  position: absolute;
  inset: -6px -4px;
}
.steu-why-chip:hover,
.steu-why-chip:focus-visible {
  background: #f1f5f9;
  border-color: #0f172a;
  color: #0f172a;
  outline: none;
}
.steu-why-chip:active {
  transform: scale(0.96);
}
.steu-why-chip-q {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #0f172a;
  font-size: 10px;
  font-weight: 800;
}

/* --- 2. Cart & Checkout Stack Compatibility Check Panel --- */
.steu-sc-wrap {
  margin: 12px 0 14px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.steu-sc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.steu-sc-head-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.steu-sc-shield {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #0f172a;
  color: #ffffff;
  flex-shrink: 0;
}
.steu-sc-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.1px;
  text-wrap: balance;
  line-height: 1.25;
}
.steu-sc-sub {
  margin: 1px 0 0;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.3;
  text-wrap: pretty;
}
.steu-sc-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.steu-sc-card {
  border-radius: 9px;
  padding: 11px 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  transition-property: border-color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.steu-sc-card.is-caution {
  border-color: #fcd34d;
  background: #fffdf5;
  border-left: 3.5px solid #d97706;
}
.steu-sc-card.is-info {
  border-color: #cbd5e1;
  background: #f8fafc;
  border-left: 3.5px solid #15803d;
}
.steu-sc-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}
.steu-sc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  padding: 2px 7px;
  border-radius: 6px;
  line-height: 1.3;
}
.steu-sc-card.is-caution .steu-sc-badge {
  background: #fef3c7;
  color: #92400e;
}
.steu-sc-card.is-info .steu-sc-badge {
  background: #ecfdf5;
  color: #166534;
}
.steu-sc-dismiss {
  position: relative;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 500;
  padding: 2px 4px;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
  transition-property: color;
  transition-duration: 140ms;
}
.steu-sc-dismiss::after {
  content: "";
  position: absolute;
  inset: -8px -6px;
}
.steu-sc-dismiss:hover {
  color: #0f172a;
  text-decoration: underline;
}
.steu-sc-card-title {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  text-wrap: balance;
}
.steu-sc-card-short {
  margin: 0 0 9px;
  font-size: 12.5px;
  color: #334155;
  line-height: 1.45;
  text-wrap: pretty;
}
.steu-sc-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.steu-sc-why-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 5px 11px;
  border-radius: 7px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition-property: background-color, border-color, color, transform;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.steu-sc-why-btn:hover {
  background: #f1f5f9;
  border-color: #0f172a;
  color: #0f172a;
}
.steu-sc-why-btn:active {
  transform: scale(0.96);
}
.steu-sc-suggest {
  margin-top: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.steu-sc-suggest-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: contain;
  background: #ffffff;
  outline: 1px solid rgba(0, 0, 0, 0.08);
  outline-offset: -1px;
  flex-shrink: 0;
}
.steu-sc-suggest-info {
  flex: 1;
  min-width: 0;
}
.steu-sc-suggest-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.28;
}
.steu-sc-suggest-name:hover {
  color: #15803d;
}
.steu-sc-suggest-price {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.steu-sc-suggest-price .is-old {
  font-size: 11px;
  font-weight: 400;
  color: #94a3b8;
  text-decoration: line-through;
  margin-right: 5px;
}
.steu-sc-suggest-price .is-special {
  color: #0f172a;
}
.steu-sc-add-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 7px;
  border: none;
  background: #15803d;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition-property: background-color, transform;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.steu-sc-add-btn:hover {
  background: #166534;
}
.steu-sc-add-btn:active {
  transform: scale(0.96);
}
.steu-sc-add-btn.is-added {
  background: #0f172a;
  pointer-events: none;
}

/* Compact 1-row Slim Strip for Checkout & Popup Cart info tips (clinical slate-emerald harmony) */
.steu-sc-wrap.is-compact-wrap {
  margin: 8px 0 10px;
  padding: 10px;
}
.steu-sc-slim-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0 10px;
}
.steu-sc-slim {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  border-left: 3.5px solid #15803d;
  background: #f8fafc;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}
.steu-sc-slim.is-caution {
  border-color: #fcd34d;
  border-left-color: #d97706;
  background: #fffdf5;
}
.steu-sc-slim-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #ecfdf5;
  color: #15803d;
  flex-shrink: 0;
}
.steu-sc-slim.is-caution .steu-sc-slim-icon {
  background: #fef3c7;
  color: #b45309;
}
.steu-sc-slim-main {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.steu-sc-slim-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.28;
}
.steu-sc-slim-why {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}
.steu-sc-slim-why::after,
.steu-sc-slim-close::after {
  content: "";
  position: absolute;
  inset: -6px;
}
.steu-sc-slim-close {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.steu-sc-slim-close:hover {
  color: #0f172a;
}

/* Sticky Drawer Footer CTA (0px scroll to open Full Cycle & Stack Explorer) */
.steu-drawer-footer {
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  flex-shrink: 0;
}
.steu-drawer-explorer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1.5px solid #0f172a;
  background: #0f172a;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  text-align: center;
  transition-property: background-color, transform;
  transition-duration: 140ms;
}
.steu-drawer-explorer-link:hover {
  background: #1e293b;
}
.steu-drawer-explorer-link:active {
  transform: scale(0.98);
}

/* --- 3. Evidence Bottom Sheet (Mobile) / Modal Drawer (Desktop) --- */
.steu-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483640;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition-property: opacity;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}
.steu-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.steu-drawer-panel {
  width: 100%;
  max-width: 580px;
  max-height: 88vh;
  background: #ffffff;
  color: #0f172a;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(28px);
  transition-property: transform, opacity;
  transition-duration: 230ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.steu-drawer-backdrop.is-open .steu-drawer-panel {
  transform: translateY(0);
}
@media (min-width: 768px) {
  .steu-drawer-backdrop {
    align-items: center;
    padding: 20px;
  }
  .steu-drawer-panel {
    border-radius: 16px;
    max-height: 84vh;
    transform: translateY(14px) scale(0.98);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
  }
  .steu-drawer-backdrop.is-open .steu-drawer-panel {
    transform: translateY(0) scale(1);
  }
}
.steu-drawer-handle {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: #cbd5e1;
  margin: 9px auto 0;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .steu-drawer-handle {
    display: none;
  }
}
.steu-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.steu-drawer-heading {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  text-wrap: balance;
}
.steu-drawer-sub {
  margin: 3px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.35;
}
.steu-drawer-close {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition-property: background-color, color, transform;
  transition-duration: 140ms;
}
.steu-drawer-close::after {
  content: "";
  position: absolute;
  inset: -5px;
}
.steu-drawer-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.steu-drawer-close:active {
  transform: scale(0.95);
}
.steu-drawer-body {
  padding: 14px 16px 18px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.steu-drawer-box {
  padding: 11px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.steu-drawer-box.is-alex {
  background: #f8fafc;
  border-color: #e2e8f0;
  border-left: 3.5px solid #15803d;
}
.steu-drawer-box-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: #475569;
  margin-bottom: 4px;
}
.steu-drawer-box.is-alex .steu-drawer-box-label {
  color: #15803d;
}
.steu-drawer-text {
  margin: 0;
  font-size: 13px;
  color: #1e293b;
  line-height: 1.5;
  text-wrap: pretty;
}
.steu-drawer-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}
@media (min-width: 540px) {
  .steu-drawer-compare {
    grid-template-columns: 1fr 1fr;
  }
}
.steu-compare-col {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 12.5px;
  line-height: 1.45;
  text-wrap: pretty;
}
.steu-compare-col.is-with {
  background: #f7fcf9;
  border-color: #ccebd7;
  color: #14532d;
}
.steu-compare-col.is-without {
  background: #fffdf7;
  border-color: #fde68a;
  color: #78350f;
}
.steu-compare-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}
.steu-lab-strip {
  padding: 9px 12px;
  border-radius: 9px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  color: #334155;
  line-height: 1.4;
}
.steu-lab-strip strong {
  color: #0f172a;
}

/* Verified PubMed Studies list inside Drawer */
.steu-studies-title {
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.steu-studies-hint {
  margin: 0 0 8px;
  font-size: 11.5px;
  color: #64748b;
}
.steu-studies-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.steu-study-card {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}
.steu-ev-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  margin-bottom: 5px;
  line-height: 1.3;
}
.steu-ev-green { background: #ecfdf5; color: #166534; }
.steu-ev-amber { background: #fffbeb; color: #92400e; }
.steu-ev-blue  { background: #f1f5f9; color: #1e293b; }
.steu-ev-slate { background: #f1f5f9; color: #475569; }
.steu-study-takeaway {
  font-size: 12.5px;
  color: #1e293b;
  line-height: 1.45;
  margin-bottom: 6px;
  text-wrap: pretty;
}
.steu-study-meta {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.35;
}
.steu-study-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #0f4c5c;
  text-decoration: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.steu-study-link:hover {
  text-decoration: underline;
  color: #0f172a;
}
.steu-drawer-disclaimer {
  margin: 2px 0 0;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
  font-size: 11px;
  color: #64748b;
  line-height: 1.45;
  text-wrap: pretty;
}
.steu-drawer-loading {
  padding: 28px 16px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* --- 4. Dark Theme Support (.dark-theme from oct_deals) --- */
.dark-theme .steu-why-btn {
  background: #1e293b;
  border-color: #475569;
  color: #cbd5e1;
}
.dark-theme .steu-why-btn:hover {
  background: #1e3a8a;
  border-color: #60a5fa;
  color: #ffffff;
}
.dark-theme .steu-sc-wrap {
  background: #141c2b;
  border-color: #283548;
}
.dark-theme .steu-sc-title,
.dark-theme .steu-sc-card-title,
.dark-theme .steu-sc-suggest-name,
.dark-theme .steu-sc-suggest-price {
  color: #f1f5f9;
}
.dark-theme .steu-sc-sub,
.dark-theme .steu-sc-dismiss {
  color: #94a3b8;
}
.dark-theme .steu-sc-card.is-caution {
  background: #1f1b10;
  border-color: #78350f;
}
.dark-theme .steu-sc-card.is-info {
  background: #111c2e;
  border-color: #1e3a8a;
}
.dark-theme .steu-sc-card-short {
  color: #cbd5e1;
}
.dark-theme .steu-sc-why-btn,
.dark-theme .steu-sc-suggest {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}
.dark-theme .steu-drawer-panel {
  background: #0f172a;
  color: #f1f5f9;
}
.dark-theme .steu-drawer-header,
.dark-theme .steu-drawer-footer,
.dark-theme .steu-drawer-disclaimer {
  border-color: #1e293b;
}
.dark-theme .steu-drawer-footer {
  background: #0f172a;
}
.dark-theme .steu-drawer-explorer-link {
  background: #15803d;
  border-color: #15803d;
}
.dark-theme .steu-sc-slim {
  background: #141c2b;
  border-color: #283548;
  border-left-color: #22c55e;
}
.dark-theme .steu-sc-slim.is-caution {
  background: #1f1b10;
  border-color: #78350f;
}
.dark-theme .steu-sc-slim-icon {
  background: rgba(21, 128, 61, 0.22);
  color: #86efac;
}
.dark-theme .steu-sc-slim-title {
  color: #f1f5f9;
}
.dark-theme .steu-sc-slim-why {
  background: #1e293b;
  border-color: #475569;
  color: #e2e8f0;
}
.dark-theme .steu-sc-slim-close {
  color: #94a3b8;
}
.dark-theme .steu-drawer-heading,
.dark-theme .steu-studies-title,
.dark-theme .steu-lab-strip strong {
  color: #f8fafc;
}
.dark-theme .steu-drawer-close {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}
.dark-theme .steu-drawer-box,
.dark-theme .steu-study-card,
.dark-theme .steu-lab-strip {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}
.dark-theme .steu-drawer-box.is-alex {
  background: #0d2618;
  border-color: #166534;
}
.dark-theme .steu-drawer-box.is-alex .steu-drawer-box-label {
  color: #86efac;
}
.dark-theme .steu-drawer-text,
.dark-theme .steu-study-takeaway {
  color: #e2e8f0;
}
.dark-theme .steu-compare-col.is-with {
  background: #0d2618;
  border-color: #166534;
  color: #bbf7d0;
}
.dark-theme .steu-compare-col.is-without {
  background: #241b0c;
  border-color: #854d0e;
  color: #fde68a;
}
.dark-theme .steu-study-link {
  color: #60a5fa;
}

/* --- 5. Verified Scientific References Block inside Blog Articles --- */
.steu-evidence-refs {
  margin: 24px 0 18px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.steu-evidence-summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  user-select: none;
  transition-property: background-color;
  transition-duration: 150ms;
}
.steu-evidence-summary::-webkit-details-marker {
  display: none;
}
.steu-evidence-summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #e2e8f0;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.steu-evidence-refs[open] .steu-evidence-summary::after {
  content: "\2212";
  background: #0f172a;
  color: #ffffff;
}
.steu-evidence-summary:hover {
  background: #f1f5f9;
}
.steu-evidence-body {
  padding: 0 16px 16px;
  border-top: 1px solid #e2e8f0;
}
.steu-ref-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.steu-ref-item {
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}
.steu-ref-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 5px;
}
.steu-ref-num {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}
.steu-ref-takeaway {
  font-size: 13px;
  color: #1e293b;
  line-height: 1.5;
  margin-bottom: 6px;
  text-wrap: pretty;
}
.steu-ref-source {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}
.steu-ref-link {
  display: inline-flex;
  align-items: center;
  margin: 6px 0 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #0f4c5c;
  text-decoration: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.steu-ref-link:hover {
  text-decoration: underline;
  color: #0f172a;
}
.steu-ref-disclaimer {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.45;
}

/* Clinical Bridge Card from Blog Articles -> Cycle & Stack Explorer */
.steu-blog-cfg-bridge {
  margin: 18px 0 8px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  border-left: 3.5px solid #15803d;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 640px) {
  .steu-blog-cfg-bridge {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
}
.steu-blog-cfg-kicker {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #15803d;
  margin-bottom: 3px;
}
.steu-blog-cfg-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 3px;
}
.steu-blog-cfg-desc {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}
.steu-blog-cfg-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 9px;
  background: #0f172a;
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition-property: background-color, transform;
  transition-duration: 140ms;
}
.steu-blog-cfg-cta:hover {
  background: #1e293b;
}
.steu-blog-cfg-cta:active {
  transform: scale(0.98);
}
.dark-theme .steu-blog-cfg-bridge {
  background: #141c2b;
  border-color: #283548;
  border-left-color: #22c55e;
}
.dark-theme .steu-blog-cfg-kicker { color: #86efac; }
.dark-theme .steu-blog-cfg-title { color: #f8fafc; }
.dark-theme .steu-blog-cfg-desc { color: #cbd5e1; }
.dark-theme .steu-blog-cfg-cta { background: #15803d; }
.dark-theme .steu-ref-link,
.dark-theme .steu-study-link {
  color: #93c5fd;
}
.dark-theme .steu-evidence-refs {
  background: #141c2b;
  border-color: #283548;
}
.dark-theme .steu-evidence-summary {
  color: #f1f5f9;
}
.dark-theme .steu-evidence-summary:hover {
  background: #1e293b;
}
.dark-theme .steu-evidence-summary::after {
  background: #334155;
  color: #f1f5f9;
}
.dark-theme .steu-evidence-body,
.dark-theme .steu-ref-disclaimer {
  border-color: #283548;
}
.dark-theme .steu-ref-item {
  background: #1e293b;
  border-color: #334155;
}
.dark-theme .steu-ref-takeaway {
  color: #e2e8f0;
}
.dark-theme .steu-ref-source,
.dark-theme .steu-ref-disclaimer {
  color: #94a3b8;
}
.dark-theme .steu-ref-link {
  color: #60a5fa;
}

/* Prevent inline blog CTA boxes or tables from overflowing 390px mobile containers */
.ds-blog-post-text {
  max-width: 100%;
  overflow-x: clip;
}
.ds-blog-post-text .cta-box,
.ds-blog-post-text .steu-evidence-refs {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (prefers-reduced-motion: reduce) {
  .steu-drawer-backdrop,
  .steu-drawer-panel,
  .steu-why-btn,
  .steu-sc-why-btn,
  .steu-sc-add-btn {
    transition-duration: 0.01ms !important;
  }
}
