body.setup-page,
body:has(#enrichment-workspace:not([hidden]) #entry-launch:not([hidden])) {
  background-color: color-mix(in srgb, var(--paper) 95%, var(--client-tint, var(--paper)));
}

.entry-launch {
  display: block;
  max-width: 57rem;
  margin-inline: auto;
  padding: clamp(1rem, 3vh, 2rem) 0 0;
}

.home-client-brand {
  width: fit-content;
  margin: 0 auto 3.5rem;
  padding: .625rem 1.125rem;
  border-radius: .625rem;
}

.home-client-brand img {
  display: block;
  width: min(50vw, 9.75rem);
  height: 3.25rem;
  object-fit: contain;
}

.home-client-brand:has(+ .trial-brand-note:not([hidden])) {
  margin-bottom: .5rem;
}

.trial-brand-note {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: .8125rem;
  text-align: center;
}

body:has(#enrichment-workspace:not([hidden]) #entry-launch:not([hidden])) .client-brand-slot {
  visibility: hidden;
}

#tool-label {
  display: block;
  margin: 0 0 1.5rem;
  color: var(--navy);
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -.05em;
  text-align: center;
}

.launch-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 1rem;
  border-radius: 1rem;
}

.launch-action {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .875rem;
  width: 100%;
  height: 100%;
  min-height: 7rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--workspace-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 4px 14px #09111b06;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}

.launch-action:hover {
  background: var(--peach);
}

.launch-action:focus-visible {
  z-index: 1;
  outline-offset: -3px;
  outline-color: var(--orange);
}

.launch-action > span:nth-child(2) {
  flex: 1;
}

.launch-symbol {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 9px;
}

#launch-manual .launch-symbol { color: #0a66c2; background: #edf5fd; }
#launch-name .launch-symbol { color: #7653a5; background: #f3eef9; }
#launch-upload .launch-symbol { color: #277458; background: #ecf6ef; }

.launch-action strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.35;
}

.launch-action small {
  display: block;
  margin-top: .3125rem;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.45;
  opacity: .85;
}

#launch-upload {
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 8rem;
  border: 1.5px dashed #bfae9e;
  background: #fdfbf7;
  box-shadow: none;
}

#launch-upload:hover,
#launch-upload.dragging {
  border-color: var(--orange);
  background: #fff6ef;
}

.launch-or {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: .875rem;
  margin: -.25rem 0;
  color: var(--muted);
  font-size: .8125rem;
}

.launch-or::before,
.launch-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--workspace-line);
}

@media (max-width: 960px) {
  .entry-launch {
    max-width: 34rem;
  }

  .launch-actions {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .launch-action, #launch-upload {
    flex-direction: row;
    min-height: 5.5rem;
    padding: 1rem 1.125rem;
    text-align: left;
  }

  #launch-upload {
    justify-content: flex-start;
  }
}

@media (min-width: 961px) {
  .workspace-main:has(> .entry-launch:not([hidden])) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 18vh;
  }

  .workspace-main > .entry-launch {
    width: 100%;
    padding-top: 0;
  }
}
