.london-consent-banner[hidden],
.london-consent-dialog:not([open]) {
  display: none !important;
}

.london-consent-banner {
  position: fixed;
  z-index: 10000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(143, 182, 224, .45);
  border-radius: 12px;
  color: #fff;
  background: #123f73;
  box-shadow: 0 24px 60px rgba(9, 22, 40, .32);
}

.london-consent-copy { max-width: 690px; }
.london-consent-eyebrow { display: block; margin-bottom: 7px; color: #8fb6e0; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.london-consent-copy h2, .london-consent-panel h2 { margin: 0 0 8px; font: 600 24px/1.2 "Bodoni Moda", Georgia, serif; }
.london-consent-copy p { margin: 0 0 7px; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.55; }
.london-consent-copy a { color: #fff; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.london-consent-actions { display: grid; grid-template-columns: repeat(2, minmax(138px, 1fr)); gap: 8px; min-width: 310px; }

.london-consent-button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(28,95,168,.45);
  border-radius: 999px;
  color: #123f73;
  background: #fff;
  cursor: pointer;
  font: 700 13px/1.2 "Work Sans", Arial, sans-serif;
}
.london-consent-button:hover { background: #eef4fa; }
.london-consent-button:focus-visible, .london-consent-close:focus-visible { outline: 3px solid #d1a13e; outline-offset: 3px; }
.london-consent-button-strong { color: #fff; background: #1c5fa8; border-color: rgba(255,255,255,.42); }
.london-consent-button-strong:hover { color: #fff; background: #174f8d; }
.london-consent-button-link { grid-column: 1 / -1; min-height: 36px; padding: 6px 12px; color: #fff; background: transparent; border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.london-consent-button-link:hover { background: rgba(255,255,255,.08); }

.london-consent-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: min(820px, calc(100vh - 32px));
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 12px;
  color: var(--okt-ink);
  background: #fff;
  box-shadow: 0 28px 80px rgba(9,22,40,.38);
}
.london-consent-dialog::backdrop { background: rgba(9,22,40,.64); backdrop-filter: blur(3px); }
.london-consent-panel { padding: clamp(24px, 5vw, 42px); }
.london-consent-panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.london-consent-panel-header .london-consent-eyebrow { color: var(--okt-blue); }
.london-consent-close { flex: 0 0 42px; width: 42px; height: 42px; padding: 0; border: 1px solid var(--okt-border); border-radius: 50%; color: var(--okt-blue-dark); background: #fff; cursor: pointer; font: 400 28px/38px "Work Sans", Arial, sans-serif; }
.london-consent-intro { margin: 0 0 23px; color: rgba(23,20,13,.7); font-size: 14px; line-height: 1.65; }
.london-consent-category { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 22px; align-items: center; padding: 19px 0; border-top: 1px solid var(--okt-border); }
.london-consent-category h3 { margin: 0 0 5px; color: var(--okt-blue-dark); font: 700 16px/1.3 "Work Sans", Arial, sans-serif; }
.london-consent-category p { margin: 0; color: rgba(23,20,13,.68); font-size: 13px; line-height: 1.55; }
.london-consent-category code { font-size: .92em; }
.london-consent-category input { width: 23px; height: 23px; accent-color: var(--okt-blue); cursor: pointer; }
.london-consent-always { color: #287347; font-size: 12px; font-weight: 800; white-space: nowrap; }
.london-consent-provider-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; font-size: 12px; }
.london-consent-provider-links a { color: var(--okt-blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.london-consent-panel-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 25px; }
.london-consent-button-primary { color: #fff; background: var(--okt-blue); }
.london-consent-button-primary:hover { color: #fff; background: var(--okt-blue-dark); }

@media (max-width: 760px) {
  .london-consent-banner { right: 10px; bottom: 10px; left: 10px; grid-template-columns: 1fr; width: auto; padding: 20px; gap: 17px; }
  .london-consent-copy h2 { font-size: 21px; }
  .london-consent-actions { min-width: 0; }
  .london-consent-dialog { width: calc(100% - 20px); max-height: calc(100vh - 20px); }
  .london-consent-panel { padding: 24px 20px; }
  .london-consent-category { gap: 14px; }
  .london-consent-panel-actions { grid-template-columns: 1fr; }
  .london-consent-panel-actions .london-consent-button-primary { order: -1; }
}

.site-footer__legal-links .london-cookie-settings { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; }

.london-consent-banner { max-height: calc(100dvh - 36px); overflow-y: auto; }
.london-consent-dialog { margin: auto; }
