html.semiomed-smooth .semiomed-metrics-page {
  max-width: 1180px !important;
  gap: 18px;
}

html.semiomed-smooth .semiomed-metrics-hero {
  overflow: hidden;
  border: 1px solid var(--border-subtle, #e1e8f0) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(16, 56, 104, 0.05) !important;
  backdrop-filter: none !important;
}

html.semiomed-smooth .semiomed-metrics-hero h1 {
  max-width: 720px;
  margin-top: 6px !important;
  color: var(--text-primary, #172033) !important;
  font-size: 36px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.08;
}

html.semiomed-smooth .semiomed-metrics-summary-card,
html.semiomed-smooth .semiomed-metrics-next-action,
html.semiomed-smooth .semiomed-metrics-data-panel {
  border-radius: 7px !important;
  box-shadow: none !important;
}

html.semiomed-smooth .semiomed-metrics-summary-card {
  border-color: var(--border-subtle, #e1e8f0) !important;
  background: #f8fafc !important;
}

html.semiomed-smooth .semiomed-metrics-next-action {
  border-color: var(--brand-border, #d8e4f2) !important;
  background: var(--brand-soft, #eef4fb) !important;
}

html.semiomed-smooth .semiomed-workspace button.semiomed-metrics-primary-action {
  border: 1px solid var(--brand, #103868) !important;
  border-radius: 6px !important;
  background-color: var(--brand, #103868) !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: none !important;
}

html.semiomed-smooth .semiomed-workspace button.semiomed-metrics-primary-action:hover {
  border-color: var(--brand-hover, #0b2f59) !important;
  background-color: var(--brand-hover, #0b2f59) !important;
  color: #ffffff !important;
}

html.semiomed-smooth .semiomed-workspace button.semiomed-metrics-secondary-action {
  border-color: var(--brand-border, #d8e4f2) !important;
  border-radius: 6px !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: var(--brand, #103868) !important;
  box-shadow: none !important;
}

html.semiomed-smooth .semiomed-metrics-tabs {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px !important;
  padding: 4px !important;
  border: 1px solid var(--border-subtle, #e1e8f0) !important;
  border-radius: 7px !important;
  background: #f8fafc !important;
}

html.semiomed-smooth .semiomed-metrics-tabs button {
  min-height: 40px;
  border-radius: 5px !important;
  letter-spacing: 0 !important;
}

html.semiomed-smooth .semiomed-metrics-data-panel {
  border-color: var(--border-subtle, #e1e8f0) !important;
  background: #ffffff !important;
}

html.dark.semiomed-smooth .semiomed-metrics-hero,
html.dark.semiomed-smooth .semiomed-metrics-data-panel {
  border-color: #334155 !important;
  background: #0f172a !important;
}

html.dark.semiomed-smooth .semiomed-metrics-summary-card,
html.dark.semiomed-smooth .semiomed-metrics-tabs {
  border-color: #334155 !important;
  background: #111c30 !important;
}

@media (min-width: 768px) {
  html.semiomed-smooth .semiomed-metrics-hero h1 {
    font-size: 44px !important;
  }
}

@media (max-width: 720px) {
  html.semiomed-smooth .semiomed-metrics-hero {
    border-radius: 7px !important;
  }

  html.semiomed-smooth .semiomed-metrics-hero h1 {
    font-size: 30px !important;
  }
}
