/* The privacy choices: a card in the system's colours, corner and type scale (base.css). */
#cw .cw-journey-consent {
  position: fixed;
  z-index: 1200;
  inset: auto 20px 20px auto;
  box-sizing: border-box;
  width: min(540px, calc(100% - 40px));
  padding: 24px;
  background: var(--cw-cream);
  color: var(--cw-brown);
  border: 1px solid var(--cw-line-strong);
  border-radius: var(--cw-radius);
  box-shadow: 0 8px 32px rgb(62 34 9 / 16%);
}
#cw .cw-journey-consent h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 400;
}
#cw .cw-journey-consent p {
  font-size: 14px;
  line-height: 1.5;
  margin: 8px 0;
}
#cw .cw-journey-consent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0 12px;
}
#cw .cw-journey-consent .cw-btn {
  min-height: 44px;
  font-size: 14px;
  padding: 12px;
}
#cw .cw-journey-consent .cw-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
#cw .cw-journey-consent .cw-journey-consent__note {
  font-size: 12px;
  margin-bottom: 0;
}
#cw .cw-journey-consent a {
  /* At least 24 pixels to tap (see .cw-link in base.css). */
  padding-block: 4px;
  margin-block: -4px;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* The card takes the keyboard when it opens: it shows the site's own ring (base.css), as its
   buttons and link do, not the browser's black one. */
#cw .cw-journey-consent:focus-visible,
#cw .cw-journey-consent button:focus-visible,
#cw .cw-journey-consent a:focus-visible {
  outline: 2px solid var(--cw-navy);
  outline-offset: 2px;
}
@media (max-width: 420px) {
  #cw .cw-journey-consent {
    inset: auto 12px 12px;
    width: calc(100% - 24px);
    padding: 20px;
  }
  #cw .cw-journey-consent__actions {
    grid-template-columns: 1fr;
  }
}
