.astrix-consent {
  position: fixed;
  z-index: 99999;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: min(90vh, 42rem);
  overflow: auto;
  padding: 1rem;
  border-top: 1px solid #ccd7da;
  background: #fff;
  color: #14262d;
  box-shadow: 0 -0.75rem 2.5rem rgba(20, 38, 45, 0.2);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.astrix-consent[hidden],
.astrix-consent [hidden] {
  display: none !important;
}

.astrix-consent__summary,
.astrix-consent__settings {
  width: min(100%, 72rem);
  margin-inline: auto;
}

.astrix-consent__summary {
  display: grid;
  gap: 1rem;
}

.astrix-consent h2 {
  margin: 0;
  font-size: 1.25rem;
}

.astrix-consent p {
  margin: 0.4rem 0 0;
  color: #52636a;
  font-size: 0.92rem;
  line-height: 1.5;
}

.astrix-consent__settings > p {
  padding: 0.7rem 0;
  border-bottom: 1px solid #d8e0e2;
}

.astrix-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.astrix-consent__button {
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  border: 2px solid #007e96;
  border-radius: 0.55rem;
  background: #007e96;
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
  cursor: pointer;
}

.astrix-consent__button--quiet {
  background: #fff;
  color: #005d70;
}

.astrix-consent :focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 2px;
}

@media (min-width: 52rem) {
  .astrix-consent {
    padding: 1.15rem 2rem;
  }

  .astrix-consent__summary {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .astrix-consent__actions {
    justify-content: flex-end;
  }
}
