/* Reports executive hero v4
 * Restores the intended strong ShiftNevis purple hero after the readability pass.
 * Scope is intentionally limited to the report header/hero.
 * IMPORTANT: print pagination is owned by report-print.html only. Do not import
 * legacy print styles here, because this file is shared by screen and print.
 */

.reports-page.report-professional > .report-professional-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding: 2px 2px 8px;
  margin: 0;
  background: transparent;
}

.reports-page.report-professional .report-professional-head__eyebrow {
  color: var(--brand-3);
}

.reports-page.report-professional .report-professional-head h2 {
  color: var(--text);
}

.reports-page.report-professional .report-professional-head p {
  color: var(--muted);
}

.reports-page.report-professional .report-professional-head .toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 10px;
}

/* Executive actions: only two actions belong here — create and export. */
.reports-page.report-professional .report-professional-head .toolbar .report-top-build-btn,
.reports-page.report-professional .report-professional-head .toolbar .report-top-pdf-btn {
  min-height: 46px;
  padding: 0 17px;
  border-radius: 14px;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.reports-page.report-professional .report-professional-head .toolbar .report-top-build-btn {
  min-width: 142px;
  border: 1px solid #6d28d9;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  box-shadow: 0 10px 24px rgba(109, 40, 217, .20);
}

.reports-page.report-professional .report-professional-head .toolbar .report-top-build-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(109, 40, 217, .25);
}

.reports-page.report-professional .report-professional-head .toolbar .report-top-pdf-btn {
  min-width: 162px;
  border: 1px solid #d8c8f8;
  background: #fff;
  color: #6d28d9;
  box-shadow: 0 8px 20px rgba(74, 45, 115, .08);
}

.reports-page.report-professional .report-professional-head .toolbar .report-top-pdf-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: #bda2ef;
  background: #faf7ff;
  box-shadow: 0 11px 24px rgba(109, 40, 217, .13);
}

.reports-page.report-professional .report-professional-head .toolbar .report-top-pdf-btn i {
  color: #dc2626;
}

.reports-page.report-professional .report-professional-head .toolbar .report-top-pdf-btn:disabled {
  opacity: .48;
  filter: grayscale(.12);
  box-shadow: none;
  cursor: not-allowed;
}

/* Main management hero: the copy was designed for a dark purple surface. */
.reports-page.report-professional .report-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 355px) !important;
  align-items: stretch !important;
  gap: 22px !important;
  min-height: 0 !important;
  padding: 24px !important;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(91, 33, 182, .28) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 8% 112%, rgba(255,255,255,.20), transparent 34%),
    radial-gradient(circle at 88% -18%, rgba(255,255,255,.13), transparent 34%),
    linear-gradient(135deg, #5b21b6 0%, #6d28d9 44%, #7c3aed 72%, #8b5cf6 100%) !important;
  box-shadow: 0 18px 44px rgba(91, 33, 182, .20) !important;
  color: #fff !important;
}

.reports-page.report-professional .report-hero::before,
.reports-page.report-professional .report-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
}

.reports-page.report-professional .report-hero::before {
  width: 250px;
  height: 250px;
  inset: -155px auto auto -85px;
}

.reports-page.report-professional .report-hero::after {
  width: 180px;
  height: 180px;
  inset: auto -95px -115px auto;
}

.reports-page.report-professional .report-hero__copy,
.reports-page.report-professional .report-scope-card {
  position: relative;
  z-index: 1;
}

.reports-page.report-professional .report-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 4px 2px;
}

.reports-page.report-professional .report-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.11);
  color: #fff !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.reports-page.report-professional .report-hero h2 {
  max-width: 780px;
  margin: 9px 0 0 !important;
  color: #fff !important;
  text-shadow: 0 2px 14px rgba(44, 12, 83, .18);
}

.reports-page.report-professional .report-hero__copy > p,
.reports-page.report-professional .report-hero p {
  max-width: 820px;
  margin: 8px 0 0;
  color: rgba(255,255,255,.86) !important;
}

.reports-page.report-professional .report-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.reports-page.report-professional .report-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.17) !important;
  border-radius: 999px;
  background: rgba(255,255,255,.10) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.reports-page.report-professional .report-hero__meta i {
  color: rgba(255,255,255,.90) !important;
}

/* Keep the workspace/control card bright and legible inside the purple hero. */
.reports-page.report-professional .report-scope-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 18px !important;
  border: 1px solid rgba(255,255,255,.45) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 14px 32px rgba(50, 22, 89, .18) !important;
  color: var(--text) !important;
}

.reports-page.report-professional .report-scope-card label,
.reports-page.report-professional .report-scope-card b,
.reports-page.report-professional .report-scope-card strong {
  color: var(--text) !important;
}

.reports-page.report-professional .report-scope-card > p {
  color: var(--muted) !important;
}

.reports-page.report-professional .report-scope-status {
  margin-top: 12px;
}

.reports-page.report-professional .report-scope-actions {
  margin-top: 12px;
}

@media (max-width: 1050px) {
  .reports-page.report-professional .report-hero {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 320px) !important;
  }
}

@media (max-width: 820px) {
  .reports-page.report-professional > .report-professional-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .reports-page.report-professional .report-professional-head .toolbar {
    width: 100%;
  }

  .reports-page.report-professional .report-hero {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    padding: 18px !important;
  }

  .reports-page.report-professional .report-scope-card {
    padding: 15px !important;
  }
}

@media (max-width: 560px) {
  .reports-page.report-professional .report-professional-head .toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .reports-page.report-professional .report-professional-head .toolbar .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .reports-page.report-professional .report-hero {
    padding: 15px !important;
    border-radius: 18px !important;
  }
}