@font-face {
  font-family: "Aeonik Pro";
  src: url("./assets/fonts/d6d0023ba7d0771be29b9406fb7b0eb1464741d4");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Aeonik Pro";
  src: url("./assets/fonts/d6d0023ba7d0771be29b9406fb7b0eb1464741d4");
  font-style: normal;
  font-weight: 500;
}

:root {
  --bg-page: #f5f6fd;
  --bg-surface: #ffffff;
  --bg-panel: #f8f9ff;
  --bg-header: #071d59;
  --super-dark: #011036;
  --bg-avatar: #4053ff;
  --bg-button: #dcdfff;
  --bg-button-hover: #cfd5ff;
  --bg-tag-green: #00be75;
  --bg-tag-red: #ff4f52;
  --bg-tag-yellow: #ffd500;
  --bg-tag-gray: #aeb6c9;
  --border-soft: #e8eaf8;
  --border-mid: #d5d7ea;
  --text-strong: #001446;
  --text-main: #253056;
  --text-muted: #5a607f;
  --text-soft: #8d96ac;
  --text-on-dark: #ffffff;
  --text-on-dark-soft: #dcdfff;
  --shadow-card: 1px 2px 4px rgba(0, 0, 0, 0.12);
  --shadow-panel: 0 8px 22px rgba(9, 22, 59, 0.08);
  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 10px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: linear-gradient(180deg, #f7f8fe 0%, var(--bg-page) 100%);
  color: var(--text-main);
  font-family: "Aeonik Pro", "Segoe UI", sans-serif;
}

body.modal-open {
  background: var(--super-dark);
  overflow: hidden;
}

.topbar {
  background: var(--bg-header);
  height: 64px;
  width: 100%;
}

.topbar--report {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  padding: 0 24px 0 20px;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1200;
}

.topbar__brand {
  align-items: center;
  display: flex;
  gap: 12px;
  margin: 0;
  width: auto;
}

.topbar__brand--compact {
  margin: 0;
  max-width: none;
  width: auto;
}

.brand-lockup {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.brand-lockup--exact {
  gap: 12px;
}

.brand-lockup__icon {
  display: block;
  height: 34px;
  object-fit: contain;
  width: 41px;
}

.brand-lockup__icon--exact {
  height: 34px;
  width: 40px;
}

.brand-lockup__wordmark {
  display: grid;
  gap: 1px;
}

.brand-lockup__exact-text {
  align-items: start;
  display: grid;
  gap: 0;
}

.brand-lockup__exact-wordmark {
  display: block;
  height: 21px;
  object-fit: contain;
  width: 119px;
}

.brand-lockup__exact-subtitle {
  display: block;
  height: 12px;
  object-fit: contain;
  width: 113px;
}

.brand-lockup__title {
  color: #ffffff;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-lockup__subtitle {
  color: rgba(220, 223, 255, 0.82);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  height: 34px;
  object-fit: contain;
  width: auto;
}

.brand-logo--auth {
  height: 36px;
}

.topbar__mark,
.auth-brand__mark {
  align-items: center;
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.topbar__mark img,
.auth-brand__mark img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.sidebar-icon {
  display: inline-block;
  height: 18px;
  position: relative;
  width: 18px;
}

.sidebar-icon::before,
.sidebar-icon::after {
  content: "";
  position: absolute;
}

.sidebar-icon--home::before {
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 8px solid currentColor;
  left: 2px;
  top: 1px;
}

.sidebar-icon--home::after {
  border: 2px solid currentColor;
  border-radius: 2px;
  height: 8px;
  left: 4px;
  top: 8px;
  width: 10px;
}

.sidebar-icon--chart::before {
  border: 2px solid currentColor;
  border-radius: 3px;
  inset: 1px;
}

.sidebar-icon--chart::after {
  background: linear-gradient(90deg, transparent 0 12%, currentColor 12% 26%, transparent 26% 42%, currentColor 42% 58%, transparent 58% 74%, currentColor 74% 88%, transparent 88% 100%);
  bottom: 3px;
  height: 8px;
  left: 3px;
  width: 12px;
}

.sidebar-icon--stack::before {
  border: 2px solid currentColor;
  border-radius: 3px;
  height: 4px;
  inset: 1px 1px auto 1px;
}

.sidebar-icon--stack::after {
  background: currentColor;
  border-radius: 2px;
  box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
  height: 2px;
  left: 3px;
  top: 4px;
  width: 12px;
}

.sidebar-icon--gear::before {
  border: 2px solid currentColor;
  border-radius: 999px;
  height: 10px;
  left: 4px;
  top: 4px;
  width: 10px;
}

.sidebar-icon--gear::after {
  background: currentColor;
  display: inline-flex;
  height: 2px;
  left: 1px;
  top: 8px;
  transform: rotate(45deg);
  width: 16px;
}

.topbar__title,
.auth-brand__title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  margin: 0 0 4px;
}

.topbar__subtitle,
.auth-brand__subtitle {
  color: #dcdfff;
  font-size: 12px;
  margin: 0;
}

.report-layout {
  display: block;
  min-height: calc(100vh - 64px);
  padding-top: 64px;
}

.report-sidebar {
  align-items: center;
  background: #001446;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: calc(100vh - 64px);
  left: 0;
  padding: 94px 24px 24px;
  position: fixed;
  top: 64px;
  width: 88px;
  z-index: 1100;
}

.report-sidebar__row {
  align-items: center;
  background: transparent;
  border-radius: 10px;
  color: #dcdfff;
  display: flex;
  height: 40px;
  justify-content: center;
  text-decoration: none;
  transition: background-color 120ms ease, transform 120ms ease;
  width: 40px;
}

.report-sidebar__row.is-active {
  color: #ffffff;
}

.report-sidebar__row.is-active .report-sidebar__icon-wrap {
  background: #4053ff;
  box-shadow: 0 0 12px rgba(64, 83, 255, 0.4);
}

.report-sidebar__row:not(.is-active) .report-sidebar__icon {
  filter: brightness(0) saturate(100%) invert(84%) sepia(10%) saturate(397%) hue-rotate(190deg) brightness(96%) contrast(91%);
}

.report-sidebar__row.is-active .report-sidebar__icon {
  filter: brightness(0) saturate(100%) invert(100%);
}

.report-sidebar__row:hover {
  transform: translateY(-1px);
}

.report-sidebar__icon-wrap {
  align-items: center;
  background: #192b58;
  border-radius: 6px;
  display: inline-flex;
  flex: 0 0 40px;
  height: 40px;
  justify-content: center;
  line-height: 0;
  width: 40px;
}

.report-sidebar__icon {
  display: block;
  height: 16px;
  object-fit: contain;
  width: 16px;
}

.report-sidebar__icon--comp {
  height: 20px;
  width: 15px;
}

.report-sidebar__icon--chart,
.report-sidebar__icon--assessment {
  height: 18px;
  width: 18px;
}

.report-sidebar__icon--footprints {
  height: 20px;
  width: 20px;
}

.report-sidebar__label {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.report-main {
  margin-left: 88px;
  min-width: 0;
}

.breadcrumb-shell--report {
  box-shadow: none;
  justify-content: flex-start;
  padding: 0 24px;
}

.breadcrumb-shell {
  align-items: center;
  background: var(--bg-surface);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  display: flex;
  height: 60px;
  justify-content: center;
  padding: 0 24px;
}

.breadcrumb {
  align-items: center;
  color: var(--text-soft);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px;
  line-height: 20px;
  margin: 0;
  max-width: 1232px;
  width: 100%;
}

.breadcrumb-shell--report .breadcrumb {
  flex: 0 0 auto;
  max-width: none;
  width: auto;
}

.report-main .breadcrumb-shell--report {
  justify-content: flex-start;
}

.report-main .breadcrumb-shell--report .breadcrumb {
  margin: 0;
  max-width: none;
  width: auto;
}

.breadcrumb-current {
  color: #6d7bfc;
  font-weight: 500;
}

.page-shell {
  margin: 0 auto;
  max-width: 1152px;
  padding: 28px 24px 0;
}

.hero {
  display: grid;
  gap: 32px;
  margin: 0 auto;
  max-width: 1104px;
  width: 100%;
}

.hero-copy {
  text-align: left;
}

.hero-copy h1 {
  color: var(--text-strong);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 10px;
}

.hero-copy p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}

.toolbar {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1104px;
  width: 100%;
}

.search-field {
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 14px rgba(9, 22, 59, 0.04);
  display: flex;
  gap: 10px;
  height: 44px;
  max-width: 842px;
  padding: 0 16px;
  width: 100%;
}

.search-field:focus-within {
  border-color: #a7b2ff;
  box-shadow: 0 0 0 3px rgba(64, 83, 255, 0.12);
}

.search-icon {
  fill: var(--text-soft);
  flex: 0 0 18px;
  height: 18px;
  width: 18px;
}

.search-icon__img {
  display: block;
  flex: 0 0 20px;
  height: 20px;
  object-fit: contain;
  width: 20px;
}

.search-field input {
  background: transparent;
  border: 0;
  color: var(--text-main);
  font: inherit;
  outline: 0;
  width: 100%;
}

.search-field input::placeholder {
  color: var(--text-soft);
}

.view-toggle {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(9, 22, 59, 0.04);
  display: inline-flex;
  gap: 3px;
  padding: 3px;
}

.view-toggle__button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--text-strong);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  gap: 6px;
  justify-content: center;
  line-height: 1;
  min-width: 64px;
  padding: 6px 12px;
}

.view-toggle__icon {
  display: block;
  height: 15px;
  width: 15px;
  stroke: currentColor;
  stroke-width: 1.5;
}

.view-toggle__button.is-active {
  background: var(--bg-header);
  color: var(--text-on-dark);
}

.view-toggle__button:not(.is-active) {
  background: #eff1ff;
  color: var(--text-strong);
}

.view-toggle__button:not(.is-active):hover {
  background: #eff1ff;
  color: var(--text-strong);
}

.profiles-panel {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #e8eaf8;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(9, 22, 59, 0.08);
  margin-top: 18px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1104px;
  padding: 12px;
  position: relative;
  width: 100%;
}

.profiles-panel::before {
  background: linear-gradient(180deg, rgba(64, 83, 255, 0.06), rgba(64, 83, 255, 0));
  border-radius: inherit;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.profiles-grid {
  display: grid;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.profiles-grid[data-view="cards"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profiles-grid[data-view="list"] {
  grid-template-columns: 1fr;
}

.profile-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(9, 22, 59, 0.08);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.profile-card:hover {
  border-color: rgba(109, 123, 252, 0.18);
  box-shadow: 0 18px 36px rgba(9, 22, 59, 0.12);
  transform: translateY(-2px);
}

.profile-card__header {
  background: linear-gradient(163deg, #001446 0%, #0e215c 100%);
  color: var(--text-on-dark);
  display: flex;
  gap: 16px;
  min-height: 138px;
  position: relative;
  padding: 22px 24px;
}

.profile-card__header::after {
  background: radial-gradient(circle at top right, rgba(143, 153, 255, 0.26), transparent 34%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.profile-card__header-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.profile-card__avatar {
  align-items: center;
  background: var(--bg-avatar);
  border-radius: 999px;
  display: flex;
  flex: 0 0 58px;
  font-size: 20px;
  font-weight: 500;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.profile-card__identity {
  min-width: 0;
  padding-top: 4px;
}

.profile-card__name {
  color: var(--text-on-dark);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
}

.profile-card__role {
  color: var(--text-on-dark-soft);
  font-size: 14px;
  line-height: 1.3;
  margin: 6px 0 0;
}

.profile-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
}

.profile-card__location {
  align-items: center;
  color: var(--text-muted);
  display: flex;
  font-size: 14px;
  gap: 8px;
}

.profile-card__location--header {
  color: #e8eaf8;
  font-size: 14px;
}

.profile-card__location-icon {
  display: block;
  flex: 0 0 11px;
  height: 13px;
  width: 11px;
}

.badge-stack {
  display: grid;
  gap: 10px;
}

.badge-row {
  align-items: center;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  min-height: 48px;
  padding: 8px 10px;
}

.badge-row__label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24px;
  text-transform: uppercase;
}

.pill {
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.28px;
  line-height: 1;
  min-width: 92px;
  padding: 8px 10px;
  text-align: center;
  text-transform: uppercase;
}

.pill--green {
  background: var(--bg-tag-green);
}

.pill--red {
  background: var(--bg-tag-red);
}

.pill--yellow {
  background: var(--bg-tag-yellow);
  color: #5a607f;
}

.pill--gray {
  background: #d5d7ea;
  color: #001446;
}

.profile-card__action {
  align-items: center;
  background: #ffffff;
  border: 1px solid #c1c8d5;
  border-radius: var(--radius-pill);
  color: var(--text-strong);
  display: inline-flex;
  font-size: 14px;
  font-weight: 500;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
  text-decoration: none;
  transition: background-color 120ms ease, transform 120ms ease;
  width: 100%;
}

.profile-card__action:hover {
  background: #f5f6fd;
  transform: translateY(-1px);
}

.profile-card__action--soft {
  background: #dcdfff;
  border-color: #d5d7ea;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.profile-card__action--soft:hover {
  background: #cfd5ff;
}

.profile-card__action-arrow {
  display: block;
  height: 16px;
  object-fit: contain;
  width: 16px;
}

.profile-list-card {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e8eaf8;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(240px, 420px) minmax(520px, 1fr) auto;
  min-height: 90px;
  padding: 20px;
}

.profile-list-card__identity {
  align-items: center;
  display: flex;
  gap: 16px;
  min-width: 0;
}

.profile-list-card__avatar {
  align-items: center;
  background: var(--bg-avatar);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 50px;
  font-size: 21px;
  font-weight: 500;
  height: 50px;
  justify-content: center;
  width: 50px;
}

.profile-list-card__copy {
  min-width: 0;
}

.profile-list-card__name {
  color: #001446;
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
  margin: 0 0 6px;
}

.profile-list-card__role {
  color: #5a607f;
  font-size: 16px;
  line-height: 1;
  margin: 0;
}

.profile-list-card__meta {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(164px, 1.25fr) 1px minmax(140px, 0.95fr) 1px minmax(140px, 0.95fr);
  min-width: 0;
}

.profile-list-meta {
  align-items: start;
  display: grid;
  gap: 10px;
  min-width: 0;
}

.profile-list-meta--location {
  align-items: center;
  gap: 0;
  min-width: 0;
}

.profile-list-meta__location {
  align-items: center;
  color: #001446;
  display: inline-flex;
  font-size: 14px;
  gap: 8px;
  white-space: nowrap;
}

.profile-list-meta__label {
  color: #5a607f;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.profile-list-divider {
  background: #d5d7ea;
  height: 42px;
  width: 1px;
}

.profile-list-card__cta {
  display: flex;
  justify-content: flex-end;
  min-width: 132px;
}

.profile-card__action--list {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #4053ff;
  justify-content: flex-end;
  min-height: 42px;
  padding: 0 12px;
  width: auto;
}

.profile-card__action--list:hover {
  background: rgba(64, 83, 255, 0.06);
}

.profiles-empty {
  color: var(--text-muted);
  font-size: 16px;
  padding: 24px 4px 0;
}

.auth-overlay,
.simulation-overlay {
  align-items: center;
  background: var(--super-dark);
  backdrop-filter: blur(6px);
  display: flex;
  inset: 0;
  justify-content: center;
  overflow-y: auto;
  padding: 24px;
  position: fixed;
  z-index: 9999;
}

.auth-shell {
  width: 100%;
  max-width: 420px;
  padding: 0 24px;
}

.auth-brand {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
  text-align: center;
}

.auth-brand__icon {
  display: block;
  height: 40px;
  width: 40px;
}

.auth-brand__title {
  color: #fff;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}

.auth-brand__subtitle {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.auth-card {
  background: #0e215c;
  border: 1px solid rgba(64, 83, 255, 0.22);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  padding: 32px;
}

.auth-card__title {
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 24px;
  text-align: center;
}

.auth-form {
  display: grid;
  gap: 20px;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-field span {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.auth-field input {
  background: #001446;
  border: 1px solid rgba(213, 215, 234, 0.2);
  border-radius: 12px;
  color: #fff;
  padding: 14px 16px;
}

.auth-field input::placeholder {
  color: var(--grey-500);
}

.auth-field input:focus {
  border-color: #4053ff;
  box-shadow: 0 0 0 3px rgba(64, 83, 255, 0.12);
  outline: 0;
}

.auth-submit {
  background: #4053ff;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(64, 83, 255, 0.35);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 16px;
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.auth-submit:hover {
  background: #5570ff;
  box-shadow: 0 16px 36px rgba(64, 83, 255, 0.42);
  transform: translateY(-1px);
}

.auth-error {
  background: rgba(239, 68, 68, 0.12);
  border-radius: 12px;
  color: #fca5a5;
  font-size: 13px;
  margin: 0;
  padding: 10px 12px;
  text-align: center;
}

.auth-footer {
  color: #fff;
  font-size: 14px;
  margin: 32px 0 0;
  text-align: center;
}

.auth-form.is-shaking {
  animation: shake 0.45s ease-in-out;
}

.simulation-shell {
  background: linear-gradient(135deg, #06153f 0%, #0e215c 52%, #13296c 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(0, 10, 35, 0.45);
  overflow: hidden;
  width: min(1120px, 100%);
}

.simulation-overlay {
  align-items: flex-start;
}

.simulation-content {
  gap: 20px;
}

.simulation-lower {
  display: flex;
  gap: 20px;
  min-height: 0;
  align-items: stretch;
}

.simulation-step-column {
  display: flex;
  flex: 0 0 360px;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}

.simulation-current-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
}

.simulation-current-step__title {
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 8px;
}

.simulation-current-step__description {
  color: #d5d7ea;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.simulation-step-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding-right: 6px;
}

.simulation-step-item {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  display: flex;
  gap: 14px;
  padding: 14px 16px;
}

.simulation-step-item__status {
  align-items: center;
  display: flex;
  height: 22px;
  justify-content: center;
  flex: 0 0 22px;
  margin-top: 2px;
}

.simulation-step-item__dot {
  border-radius: 999px;
  height: 12px;
  width: 12px;
}

.simulation-step-item--complete .simulation-step-item__dot { background: #00be75; }
.simulation-step-item--searching .simulation-step-item__dot { background: #4053ff; box-shadow: 0 0 0 3px rgba(64, 83, 255, 0.14); }
.simulation-step-item--extracting .simulation-step-item__dot { background: #ffd500; box-shadow: 0 0 0 3px rgba(255, 213, 0, 0.14); }
.simulation-step-item--queued .simulation-step-item__dot { background: rgba(255, 255, 255, 0.28); }

.simulation-step-item__copy {
  flex: 1;
  min-width: 0;
}

.simulation-step-item__title {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 4px;
}

.simulation-step-item__description {
  color: #c1c8d5;
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}

.simulation-step-item__badge {
  align-items: center;
  align-self: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #dcdfff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  white-space: nowrap;
}

.simulation-step-item--complete .simulation-step-item__badge {
  background: rgba(0, 190, 117, 0.18);
  color: #dffcf0;
}

.simulation-step-item--searching .simulation-step-item__badge {
  background: rgba(64, 83, 255, 0.18);
  color: #e7eaff;
}

.simulation-step-item--extracting .simulation-step-item__badge {
  background: rgba(255, 213, 0, 0.18);
  color: #fff7cf;
}

.simulation-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 28px 32px 20px;
}

.simulation-kicker {
  color: #9fa9ff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.simulation-header h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 8px;
}

.simulation-subtitle {
  color: #dcdfff;
  margin: 0;
}

.simulation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.simulation-meta__pill {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  min-height: 28px;
  padding: 0 12px;
  text-transform: uppercase;
}

.simulation-meta__pill--light {
  background: rgba(220, 223, 255, 0.16);
  border: 1px solid rgba(220, 223, 255, 0.14);
  color: #ffffff;
}

.simulation-meta__pill--dark {
  background: rgba(0, 20, 70, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dcdfff;
}

.simulation-progress {
  display: grid;
  gap: 10px;
  min-width: 250px;
}

.simulation-progress__meta {
  color: #dcdfff;
  display: flex;
  font-size: 13px;
  justify-content: space-between;
}

.simulation-progress__track {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  height: 10px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.simulation-progress__bar {
  background: linear-gradient(90deg, #4053ff 0%, #8f99ff 100%);
  border-radius: 999px;
  height: 100%;
  transition: width 600ms ease;
  width: 0;
}

.simulation-content {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  padding: 24px 32px 32px;
}

.flow-panel,
.evidence-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 0;
  padding: 20px;
}

.flow-panel__description {
  color: #d5d7ea;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.flow-diagram-shell {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  display: grid;
  gap: 16px;
  padding: 18px;
}

.flow-diagram-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.flow-diagram-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}

.simulation-diagram {
  background:
    radial-gradient(circle at top left, rgba(109, 123, 252, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(0, 190, 117, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  height: 430px;
  min-height: 430px;
  overflow: hidden;
  position: relative;
}

.simulation-diagram__canvas {
  left: 50%;
  top: 0;
  position: absolute;
  transform: translateX(-50%);
  transform-origin: top center;
  width: 1120px;
  height: 430px;
}

.simulation-diagram::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  content: "";
  inset: 0 0 auto 0;
  height: 72px;
  pointer-events: none;
  position: absolute;
}

.simulation-stage-heads {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.simulation-stage-head {
  color: rgba(220, 223, 255, 0.82);
  display: inline-flex;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  position: absolute;
  text-transform: uppercase;
}

.simulation-diagram__svg {
  height: 100%;
  inset: 0;
  overflow: visible;
  position: absolute;
  width: 100%;
  z-index: 1;
}

.simulation-diagram__labels {
  inset: 0;
  position: absolute;
  z-index: 2;
}

.flow-node {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: #d5d7ea;
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 14px 14px 12px;
  position: absolute;
  transition: border-color 240ms ease, background-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
  z-index: 3;
}

.flow-node[data-shape="diamond"] {
  align-items: center;
  border-radius: 28px;
  justify-items: center;
  min-height: 122px;
  padding: 18px 12px;
  transform: rotate(45deg);
}

.flow-node[data-shape="diamond"] > * {
  transform: rotate(-45deg);
}

.flow-node[data-status="running"] {
  background: rgba(64, 83, 255, 0.18);
  border-color: rgba(159, 169, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(159, 169, 255, 0.18), 0 12px 28px rgba(64, 83, 255, 0.12);
  transform: translateY(-2px);
}

.flow-node[data-status="extracting"] {
  background: rgba(255, 213, 0, 0.14);
  border-color: rgba(255, 213, 0, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 213, 0, 0.18), 0 12px 28px rgba(255, 213, 0, 0.08);
  transform: translateY(-2px);
}

.flow-node[data-status="done"] {
  background: rgba(0, 190, 117, 0.16);
  border-color: rgba(0, 190, 117, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 190, 117, 0.15);
}

.flow-node[data-shape="diamond"][data-status="running"] {
  transform: rotate(45deg) translateY(-2px);
}

.flow-node[data-shape="diamond"][data-status="extracting"] {
  transform: rotate(45deg) translateY(-2px);
}

.flow-node[data-shape="diamond"][data-status="done"] {
  transform: rotate(45deg);
}

.flow-node__label {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  max-width: 100%;
  min-height: 32px;
}

.flow-node__icon-wrap {
  align-items: center;
  background: #001446;
  border-radius: 6px;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.flow-node__icon {
  display: block;
  height: 14px;
  object-fit: contain;
  width: 14px;
}

.flow-node[data-shape="diamond"] .flow-node__icon-wrap {
  height: 40px;
  width: 40px;
}

.flow-node[data-shape="diamond"] .flow-node__icon {
  height: 18px;
  width: 18px;
}

.flow-node__status {
  align-items: center;
  color: #dcdfff;
  display: inline-flex;
  font-size: 10px;
  gap: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flow-node__status::before {
  background: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 8px;
  width: 8px;
}

.flow-node[data-status="running"] .flow-node__status::before { background: #4053ff; }
.flow-node[data-status="extracting"] .flow-node__status::before { background: #ffd500; }
.flow-node[data-status="done"] .flow-node__status::before { background: #00be75; }

.flow-node[data-status="running"] .flow-node__status::before {
  box-shadow: 0 0 0 0 rgba(64, 83, 255, 0.4);
  animation: pulse-dot 1.4s infinite;
}

.flow-node__progress {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  height: 4px;
  overflow: hidden;
  width: 100%;
}

.flow-node__progress-bar {
  background: linear-gradient(90deg, #4053ff 0%, #8f99ff 100%);
  border-radius: 999px;
  height: 100%;
  transition: width 600ms ease;
}

.flow-node[data-status="extracting"] .flow-node__progress-bar {
  background: linear-gradient(90deg, #ffd500 0%, #ffe86f 100%);
}

.flow-node[data-status="done"] .flow-node__progress-bar {
  background: linear-gradient(90deg, #00be75 0%, #63f1b0 100%);
}

.simulation-edge {
  fill: none;
  stroke: rgba(220, 223, 255, 0.4);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 4 6;
}

.simulation-diagram::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-position: center;
  background-size: 36px 36px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.evidence-panel {
  min-height: 560px;
}

.evidence-panel__header {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.evidence-panel__header h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}

.evidence-panel__status {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #dcdfff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 12px;
}

.evidence-list {
  display: grid;
  gap: 8px;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.evidence-list::-webkit-scrollbar {
  width: 8px;
}

.evidence-list::-webkit-scrollbar-thumb {
  background: rgba(220, 223, 255, 0.18);
  border-radius: 999px;
}

.evidence-item {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(232, 234, 248, 0.95);
  border-left-width: 4px;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  position: relative;
}

.evidence-item:nth-child(2n) {
  border-left-color: #6d7bfc;
}

.evidence-item:nth-child(3n) {
  border-left-color: #ffd500;
}

.evidence-item__dot {
  align-self: flex-start;
  border-radius: 999px;
  flex: 0 0 auto;
  height: 10px;
  margin-top: 7px;
  width: 10px;
}

.evidence-item--high .evidence-item__dot {
  background: #00be75;
}

.evidence-item--medium .evidence-item__dot {
  background: #ffd500;
}

.evidence-item--low .evidence-item__dot {
  background: #ff4f52;
}

.evidence-item__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.evidence-item__head {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  min-width: 0;
}

.evidence-item__head-left,
.evidence-item__head-right {
  align-items: center;
  display: flex;
  gap: 8px;
  min-width: 0;
}

.evidence-item__head .mini-pill {
  min-width: 64px;
}

.evidence-item__agent {
  color: #001446;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.evidence-item__kind,
.evidence-item__time {
  color: #8d96ac;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.evidence-item__claim {
  color: #001446;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.38;
  margin: 0;
}

.evidence-item__meta {
  align-items: center;
  color: #5a607f;
  display: flex;
  flex-wrap: wrap;
  font-size: 11px;
  gap: 10px;
  justify-content: space-between;
}

.evidence-item__source {
  min-width: 0;
}

.evidence-item__trace {
  white-space: nowrap;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(64, 83, 255, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(64, 83, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(64, 83, 255, 0);
  }
}

.report-page-shell {
  display: grid;
  gap: 24px;
  margin: 0 auto;
  max-width: 1248px;
  padding-left: 31px;
  padding-right: 31px;
  padding-bottom: 64px;
  padding-top: 16px;
}

.report-page-shell > .summary-card,
.report-page-shell > .report-section {
  scroll-margin-top: 104px;
}

.report-page-header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.report-page-header h1 {
  color: #001446;
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  margin: 0 0 12px;
}

.report-page-header p {
  color: #5a607f;
  font-size: 16px;
  margin: 0;
}

.report-page-header__back {
  align-items: center;
  background: #eff1ff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  color: #001446;
  display: inline-flex;
  font-size: 14px;
  gap: 8px;
  padding: 12px 16px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.report-page-header__back:hover {
  background: #e4e8ff;
  border-color: #d4d9ff;
}

.report-page-header__back:active {
  transform: translateY(1px);
}

.report-page-header__back-icon {
  font-size: 16px;
  line-height: 1;
}

.summary-card {
  background: #001446;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  display: grid;
  gap: 24px;
  padding: 25px;
}

.summary-card__header {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.summary-card__identity {
  align-items: center;
  display: flex;
  gap: 16px;
}

.summary-card__avatar {
  align-items: center;
  background: #4053ff;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 58px;
  font-size: 20px;
  font-weight: 500;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.summary-card__name {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 8px;
}

.summary-card__meta {
  color: rgba(255, 255, 255, 0.64);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 14px;
  margin-top: 2px;
}

.summary-card__meta-item {
  align-items: center;
  color: #d5d7ea;
  display: inline-flex;
  gap: 6px;
}

.summary-card__meta-item svg {
  display: block;
  flex: 0 0 12px;
  height: 12px;
  width: 12px;
}

.summary-card__meta-item img {
  display: block;
  flex: 0 0 12px;
  height: 12px;
  object-fit: contain;
  width: 12px;
}

.summary-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.summary-badge {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.summary-badge__label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-card__body {
  background: #192b58;
  border-radius: 12px;
  display: grid;
  gap: 32px;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  padding: 24px;
}

.score-ring {
  align-items: center;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.score-ring__chart {
  align-items: center;
  aspect-ratio: 1;
  border-radius: 999px;
  display: grid;
  height: 144px;
  justify-items: center;
  overflow: visible;
  position: relative;
  width: 144px;
}

.score-ring__svg {
  display: block;
  height: 100%;
  inset: 0;
  position: absolute;
  transform: rotate(-90deg);
  width: 100%;
}

.score-ring__progress {
  will-change: stroke-dasharray;
}

.score-ring__strength {
  position: relative;
  z-index: 1;
}

.score-ring__strength {
  color: #dcdfff;
  font-size: 20px;
  font-weight: 500;
}

.score-ring__caption {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.score-ring__range {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  margin: 0;
  text-align: center;
}

.score-ring__range span {
  color: rgba(255, 255, 255, 0.62);
}

.score-ring__range strong {
  color: #ffffff;
  font-weight: 500;
}

.component-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.component-grid__row {
  display: grid;
  gap: 12px;
}

.component-grid__row--single {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.component-grid__row--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.component-grid__card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.component-grid__top {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 28px minmax(0, 1fr) auto;
}

.component-grid__text {
  min-width: 0;
}

.component-grid__label {
  align-items: center;
  display: inline-flex;
  gap: 4px;
  min-width: 0;
}

.component-grid__info {
  display: inline-flex;
  position: relative;
}

.component-grid__info-trigger {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 10px;
  height: 14px;
  justify-content: center;
  line-height: 1;
  width: 14px;
}

.component-grid__tooltip {
  background: #001446;
  border-radius: 6px;
  bottom: calc(100% + 8px);
  color: #ffffff;
  font-size: 11px;
  left: 0;
  line-height: 1.4;
  opacity: 0;
  padding: 8px 10px;
  pointer-events: none;
  position: absolute;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease;
  width: 240px;
  z-index: 10;
}

.component-grid__info:hover .component-grid__tooltip,
.component-grid__info:focus-within .component-grid__tooltip {
  opacity: 1;
  transform: translateY(0);
}

.component-grid__icon {
  align-items: center;
  background: #001446;
  border-radius: 6px;
  color: #ffffff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.component-grid__icon svg {
  display: block;
  height: 14px;
  width: 14px;
}

.component-grid__icon img {
  display: block;
  height: 14px;
  object-fit: contain;
  width: 14px;
}

.component-grid__title {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  margin: 0;
}

.component-grid__weight {
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  margin: 0;
}

.component-grid__dash {
  color: #c1c8d5;
  font-size: 15px;
  font-weight: 500;
}

.component-grid__track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}

.component-grid__bar {
  background: linear-gradient(90deg, #6d7bfc 0%, #8f99ff 100%);
  border-radius: 999px;
  height: 100%;
  will-change: width;
}

.summary-card__composition {
  background: #192b58;
  border-radius: 12px;
  box-shadow: 0 6px 10px -3px rgba(0, 0, 0, 0.1);
  display: grid;
  gap: 20px;
  padding: 24px;
}

.summary-card__composition-header h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}

.report-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.section-block {
  display: grid;
  gap: 20px;
  padding: 24px;
}

.section-header {
  align-items: center;
  display: flex;
  gap: 12px;
}

.section-header__icon {
  align-items: center;
  background: #001446;
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.section-header__icon svg {
  display: block;
  height: 18px;
  width: 18px;
}

.section-header__icon img {
  display: block;
  height: 18px;
  object-fit: contain;
  width: 18px;
}

.section-header__title {
  color: #001446;
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 4px;
}

.section-header__subtitle {
  color: #8d96ac;
  font-size: 12px;
  margin: 0;
}

.composition-bar {
  background: #f5f6fd;
  border-radius: 8px;
  display: flex;
  height: 32px;
  overflow: hidden;
}

.composition-bar--dark {
  background: rgba(255, 255, 255, 0.1);
}

.composition-bar__segment {
  height: 100%;
  min-width: 2px;
  will-change: width;
}

.composition-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.composition-legend__item {
  align-items: center;
  color: #001446;
  display: inline-flex;
  font-size: 12px;
  gap: 6px;
}

.composition-legend--dark .composition-legend__item {
  color: #f5f6fd;
  font-size: 14px;
}

.composition-legend__pct {
  color: #d5d7ea;
}

.composition-legend__swatch {
  border-radius: 2px;
  display: inline-block;
  height: 12px;
  width: 12px;
}

.mock-overview {
  display: grid;
  gap: 16px;
}

.mock-panel {
  background: #f5f6fd;
  border: 1px solid #e8eaf8;
  border-radius: 10px;
  display: grid;
  gap: 16px;
  padding: 20px;
}

.mock-panel--compact {
  gap: 12px;
}

.mock-panel__header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.mock-panel__title {
  color: #001446;
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 4px;
}

.mock-panel__subtitle {
  color: #8d96ac;
  font-size: 14px;
  margin: 0;
}

.mock-panel__toggle,
.footprint-group__count {
  color: #6d7bfc;
  font-size: 14px;
  font-weight: 500;
}

.mock-panel__toggle-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  height: 18px;
  justify-content: center;
  padding: 0;
  width: 18px;
}

.mock-panel__toggle-icon {
  display: block;
  height: 6px;
  object-fit: contain;
  width: 10.6667px;
  transition: transform 140ms ease;
}

.mock-panel__toggle-button.is-collapsed .mock-panel__toggle-icon {
  transform: rotate(-90deg);
}

.career-timeline {
  display: grid;
  gap: 10px;
  position: relative;
}

.career-timeline::before {
  background: #d5d7ea;
  content: "";
  height: calc(100% - 28px);
  left: 9px;
  position: absolute;
  top: 18px;
  width: 1px;
}

.career-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 20px minmax(0, 1fr);
}

.career-row__rail {
  align-items: flex-start;
  display: flex;
  justify-content: center;
  padding-top: 32px;
  position: relative;
}

.career-row__dot {
  display: block;
  height: 20px;
  width: 20px;
  object-fit: contain;
  z-index: 1;
}

.career-row__card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 12px;
}

.career-row__main {
  align-items: flex-start;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.career-row__date {
  color: #8d96ac;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.career-row__title {
  color: #001446;
  font-size: 17px;
  margin: 0;
}

.career-row__separator {
  color: #c1c8d5;
  margin: 0 10px;
}

.career-row__company {
  color: #6d7bfc;
}

.career-row__metrics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.career-chip {
  align-items: center;
  background: rgba(245, 246, 253, 0.6);
  border: 1px solid #e8eaf8;
  border-radius: 6px;
  display: inline-flex;
  gap: 8px;
  min-height: 52px;
  padding: 12px 14px;
}

.career-chip--salary {
  gap: 12px;
}

.career-chip__label {
  color: #8d96ac;
  font-size: 13px;
}

.career-chip__value {
  color: #001446;
  font-size: 16px;
}

.career-chip__value--accent {
  color: #4053ff;
  font-size: 17px;
  font-weight: 500;
}

.career-included {
  color: #4053ff;
  display: inline-flex;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ownership-list,
.real-estate-list,
.mock-inline-list {
  display: grid;
  gap: 8px;
}

.ownership-card,
.real-estate-card,
.footprint-row {
  align-items: center;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 12px;
}

.ownership-card {
  flex-direction: column;
  gap: 8px;
}

.ownership-card__top,
.real-estate-card__left,
.real-estate-card__right,
.overview-inline-row__left,
.overview-inline-row__right {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  width: 100%;
}

.overview-inline-row__left {
  flex: 1 1 auto;
  justify-content: flex-start;
  min-width: 0;
}

.overview-inline-row__right {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.footprint-row {
  align-items: flex-start;
  justify-content: space-between;
}

.footprint-row__left {
  align-items: flex-start;
  display: flex;
  flex: 1 1 auto;
  gap: 10px;
  min-width: 0;
}

.footprint-row__text {
  color: #001446;
  font-size: 14px;
  line-height: 1.45;
  min-width: 0;
}

.footprint-row__right {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.ownership-card__title {
  color: #001446;
  font-size: 15px;
  font-weight: 500;
}

.ownership-card__pct {
  color: #001446;
  font-size: 15px;
  font-weight: 500;
}

.ownership-card__track {
  background: #dcdfff;
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
  width: 100%;
}

.ownership-card__bar {
  background: #6d7bfc;
  border-radius: 4px;
  height: 100%;
  min-width: 2px;
}

.real-estate-card {
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.real-estate-card__left {
  justify-content: flex-start;
  min-width: 0;
  flex: 1 1 auto;
  width: auto;
}

.real-estate-card__icon {
  display: block;
  flex: 0 0 16px;
  height: 20px;
  object-fit: contain;
  width: 16px;
}

.real-estate-card__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.real-estate-card__city {
  color: #001446;
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}

.real-estate-card__meta {
  color: #8d96ac;
  font-size: 12px;
  margin: 0;
}

.real-estate-card__right {
  align-items: end;
  flex-direction: column;
  gap: 4px;
  flex: 0 0 auto;
  min-width: 118px;
  width: auto;
}

.real-estate-card__details {
  color: #8d96ac;
  font-size: 12px;
  margin-top: 2px;
}

.overview-inline-row__source {
  align-items: center;
  color: #8d96ac;
  display: inline-flex;
  font-size: 12px;
  gap: 6px;
  line-height: 1;
  text-decoration: none;
}

.overview-inline-row__source:hover {
  color: #4053ff;
}

.overview-inline-row__source svg,
.overview-inline-row__source img {
  display: block;
  flex: 0 0 auto;
  height: 12px;
  width: 12px;
}

.footprint-row .overview-rank {
  border-radius: 999px;
  flex: 0 0 auto;
  height: 10px;
  margin-top: 2px;
  width: 10px;
}

.footprint-row .overview-rank--highest {
  background: #6d7bfc;
  box-shadow: 0 0 0 2px #dcdfff;
}

.footprint-row .overview-rank--high {
  background: #00be75;
  box-shadow: 0 0 0 2px #a2e9cd;
}

.footprint-row .overview-rank--medium {
  background: #ffcc00;
  box-shadow: 0 0 0 2px #ffe999;
}

.footprint-row .overview-rank--low {
  background: #ff4f52;
  box-shadow: 0 0 0 2px #ffbec1;
}

.real-estate-card__value {
  color: #4053ff;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.real-estate-card__subvalue {
  color: #8d96ac;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.overview-empty {
  color: #8d96ac;
  font-size: 14px;
  padding: 10px 0;
}

.assessment-list,
.footprints-list {
  display: grid;
  gap: 8px;
}

.assessment-group {
  background: #f5f6fd;
  border: 1px solid #e8eaf8;
  border-radius: 8px;
  display: grid;
  overflow: hidden;
}

.assessment-group__header {
  align-items: center;
  background: #e8eaf8;
  display: flex;
  gap: 12px;
  padding: 12px;
}

.assessment-group__count {
  color: #5a607f;
  font-size: 12px;
}

.assessment-group__body {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.assessment-row {
  align-items: center;
  background: #ffffff;
  border-left: 4px solid var(--accent, #00be75);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  padding: 12px;
}

.assessment-row__text {
  color: #001446;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.assessment-row__badge {
  background: rgba(245, 246, 253, 0.5);
  border: 1px solid #e8eaf8;
  border-radius: 6px;
  color: #5a607f;
  font-size: 12px;
  line-height: 1;
  padding: 7px 9px;
  white-space: nowrap;
}

.assessment-item__top,
.footprint-item__top {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.assessment-item__title,
.footprint-item__title {
  color: #001446;
  font-size: 14px;
  font-weight: 500;
}

.assessment-item__badge-wrap {
  align-items: center;
  display: flex;
  gap: 10px;
}

.assessment-item__count {
  color: #8d96ac;
  font-size: 11px;
}

.assessment-item__claim,
.footprint-item__claim {
  color: #253056;
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.assessment-item__meta,
.footprint-item__meta {
  color: #8d96ac;
  display: flex;
  flex-wrap: wrap;
  font-size: 11px;
  gap: 10px;
}

.mini-pill {
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 11px;
  font-weight: 500;
  justify-content: center;
  letter-spacing: 0.22px;
  min-width: 64px;
  padding: 6px 10px;
  text-transform: uppercase;
}

.mini-pill--green { background: #00be75; }
.mini-pill--yellow { background: #ffd500; color: #5a607f; }
.mini-pill--red { background: #ff4f52; }
.mini-pill--gray { background: #d5d7ea; color: #001446; }

.footprint-filters {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footprint-filter {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e8eaf8;
  border-radius: 999px;
  color: #001446;
  display: inline-flex;
  font-size: 12px;
  font-weight: 500;
  gap: 4px;
  justify-content: center;
  min-height: 30px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 7px 12px;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.footprint-filter:hover {
  transform: translateY(-1px);
}

.footprint-filter--active {
  background: #5a607f;
  border-color: #e8eaf8;
  color: #ffffff;
}

.footprint-filter--doc {
  background: #eff1ff;
}

.footprint-filter--web {
  background: #fff3bb;
}

.footprint-filter__dot {
  border: 2px solid transparent;
  border-radius: 999px;
  display: inline-block;
  height: 8px;
  width: 8px;
}

.footprint-filter__dot--highest {
  background: #6d7bfc;
  border-color: #dcdfff;
}

.footprint-filter__dot--high {
  background: #00be75;
  border-color: #a2e9cd;
}

.footprint-filter__dot--medium {
  background: #ffd500;
  border-color: #fff3bb;
}

.footprint-filter__dot--low {
  background: #ff4f52;
  border-color: #ffbec1;
}

.footprint-groups {
  display: grid;
  gap: 16px;
}

.footprint-group {
  background: #f5f6fd;
  border: 1px solid #e8eaf8;
  border-radius: 10px;
  display: grid;
  gap: 12px;
  padding: 20px;
}

.footprint-group__header {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.footprint-group__title {
  color: #001446;
  font-size: 16px;
  font-weight: 500;
}

.footprint-group__meta {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

.footprint-group__toggle-button {
  height: 18px;
  width: 18px;
}

.footprint-group__chevron {
  display: block;
  height: 6px;
  width: 10.6667px;
  object-fit: contain;
}

.footprint-group__rows {
  display: grid;
  gap: 8px;
}

.report-footer-nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 20px;
}

.footer-nav-link {
  align-items: center;
  color: #5a607f;
  display: inline-flex;
  font-size: 14px;
  gap: 8px;
  text-decoration: none;
}

.footer-nav-link__icon {
  font-size: 16px;
  line-height: 1;
}

.footer-nav-link.is-disabled {
  color: #b7bfd3;
  cursor: default;
  pointer-events: none;
}

[hidden] {
  display: none !important;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

@media (max-width: 1180px) {
  .profiles-grid[data-view="cards"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-list-card {
    grid-template-columns: 1fr;
  }

  .profile-list-card__meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-list-divider {
    display: none;
  }

  .profile-list-card__cta {
    justify-content: flex-start;
  }

  .summary-card__body,
  .simulation-content {
    grid-template-columns: 1fr;
  }

  .flow-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .career-row__main {
    align-items: stretch;
    flex-direction: column;
  }

  .career-row__metrics {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .page-shell {
    padding: 28px 20px 0;
  }

  .breadcrumb-shell {
    padding: 0 20px;
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .view-toggle {
    align-self: flex-end;
  }

  .report-page-shell {
    padding: 28px 20px 56px;
  }

  .report-layout {
    padding-top: 64px;
  }

  .report-sidebar {
    display: none;
  }

  .report-main {
    margin-left: 0;
  }

  .breadcrumb-shell--report {
    padding-left: 20px;
  }

  .report-page-header,
  .summary-card__header,
  .simulation-header {
    align-items: stretch;
    flex-direction: column;
  }

  .component-grid__row--single,
  .component-grid__row--pair {
    grid-template-columns: 1fr;
  }

  .report-footer-nav {
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .profiles-grid[data-view="cards"] {
    grid-template-columns: 1fr;
  }

  .profile-card__header {
    padding: 20px;
  }

  .profile-list-card {
    padding: 18px;
  }

  .profile-list-card__identity {
    align-items: flex-start;
  }

  .profile-list-card__name {
    font-size: 20px;
    line-height: 1.15;
  }

  .profile-list-card__role {
    font-size: 14px;
    line-height: 1.35;
  }

  .profile-card__avatar {
    flex-basis: 58px;
    font-size: 20px;
    height: 58px;
    width: 58px;
  }

  .profile-card__name {
    font-size: 18px;
  }

  .summary-card__body,
  .simulation-content {
    grid-template-columns: 1fr;
  }

  .component-grid__row--single,
  .component-grid__row--pair {
    grid-template-columns: 1fr;
  }

  .simulation-diagram {
    min-height: 520px;
  }

  .overview-inline-row,
  .footprint-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .overview-inline-row__right {
    justify-content: space-between;
    width: 100%;
  }
}

/* Final polish overrides for selector list + simulation overlay */

.search-icon {
  display: inline-flex;
  flex: 0 0 20px;
  height: 20px;
  width: 20px;
}

.profile-list-card {
  position: relative;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.profile-list-card::after {
  background: linear-gradient(180deg, rgba(64, 83, 255, 0.08) 0%, rgba(64, 83, 255, 0) 100%);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 160ms ease;
}

.profile-list-card:hover {
  border-color: rgba(109, 123, 252, 0.22);
  box-shadow: 0 16px 32px rgba(9, 22, 59, 0.12);
  transform: translateY(-1px);
}

.profile-list-card:hover::after {
  opacity: 1;
}

.profile-list-card__identity,
.profile-list-card__meta,
.profile-list-card__cta {
  position: relative;
  z-index: 1;
}

.profile-list-card__copy {
  display: grid;
  gap: 4px;
}

.profile-list-meta {
  min-height: 48px;
}

.profile-list-meta__label {
  letter-spacing: 0.02em;
  min-width: 88px;
}

.profile-list-meta__location {
  font-weight: 500;
}

.profile-list-divider {
  align-self: stretch;
  background: linear-gradient(180deg, rgba(232, 234, 248, 0) 0%, #e8eaf8 18%, #e8eaf8 82%, rgba(232, 234, 248, 0) 100%);
  width: 1px;
}

.simulation-shell {
  backdrop-filter: blur(18px);
  background:
    radial-gradient(circle at top left, rgba(64, 83, 255, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(0, 190, 117, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(7, 29, 89, 0.98) 0%, rgba(0, 20, 70, 0.98) 100%);
  border: 1px solid rgba(220, 223, 255, 0.12);
  box-shadow: 0 28px 80px rgba(0, 8, 31, 0.42);
}

.simulation-header {
  border-bottom: 1px solid rgba(220, 223, 255, 0.1);
  margin-bottom: 4px;
  padding-bottom: 20px;
}

.simulation-meta__pill {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.flow-diagram-shell,
.evidence-panel {
  box-shadow: inset 0 0 0 1px rgba(220, 223, 255, 0.08);
}

.simulation-diagram {
  background:
    radial-gradient(circle at center, rgba(64, 83, 255, 0.08), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
}

.simulation-lane-head {
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(220, 223, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.simulation-lane {
  border: 1px solid rgba(220, 223, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.flow-node {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
}

.flow-node[data-status="running"] {
  box-shadow: 0 0 0 1px rgba(159, 169, 255, 0.18), 0 18px 32px rgba(64, 83, 255, 0.18);
}

.flow-node[data-status="extracting"] {
  box-shadow: 0 0 0 1px rgba(255, 213, 0, 0.18), 0 18px 32px rgba(255, 213, 0, 0.12);
}

.flow-node__label {
  text-wrap: balance;
}

.flow-node__icon-wrap {
  box-shadow: inset 0 0 0 1px rgba(220, 223, 255, 0.08);
}

.evidence-item {
  overflow: hidden;
  position: relative;
}

.evidence-item::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0));
  content: "";
  height: 1px;
  left: 16px;
  position: absolute;
  right: 16px;
  top: 0;
}

.simulation-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.simulation-content > .flow-panel,
.simulation-content > .simulation-lower {
  width: 100%;
}

.simulation-lower {
  min-height: 0;
  width: 100%;
}

.flow-panel,
.evidence-panel {
  width: 100%;
}

.evidence-panel {
  flex: 1;
  min-height: 0;
}

.simulation-content {
  min-height: 0;
}

.flow-panel {
  min-height: 0;
}

.evidence-list {
  max-height: none;
}
