#marketing-consent {
  position: fixed;
  inset: auto 1rem 1rem auto;
  z-index: 20;
  width: min(30rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  overflow: auto;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: white;
  color: var(--navy);
  box-shadow: 0 0.5rem 2rem #03192e30;
}

#marketing-title { font-size: 1.25rem; margin: 0; }
#marketing-consent p { font-size: 1rem; margin: 0.75rem 0; }
#marketing-options label:not([hidden]) { display: block; margin: 0.5rem 0; }

#marketing-close,
#cookie-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.marketing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.marketing-links { justify-content: space-between; }

.marketing-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

#marketing-selection { margin-top: 1rem; }
#marketing-selection summary { cursor: pointer; }

.marketing-actions button,
#marketing-selection button {
  min-height: 44px;
  padding: 0.5rem;
  border: 1px solid var(--navy);
  border-radius: 0.25rem;
  background: white;
  color: var(--navy);
  font: inherit;
  cursor: pointer;
}

.marketing-actions button {
  font-weight: 600;
}

.marketing-actions [data-choice="granted"] {
  background: #e2f3f2;
  border-color: #397d80;
}
