/* Deliberately scoped: inherited site typography, no global resets. */
.bc-offer-dialog,
.bc-offer-launcher {
  --bc-offer-accent: #0b776e;
  --bc-offer-button: #08695f;
  font-family: inherit;
  color: #203041;
  box-sizing: border-box;
}
.bc-offer-dialog[data-brand="school"],
.bc-offer-launcher[data-brand="school"] {
  --bc-offer-accent: #2457a3;
  --bc-offer-button: #2457a3;
}
.bc-offer-dialog[data-brand="campus"],
.bc-offer-launcher[data-brand="campus"] {
  --bc-offer-accent: #294d9d;
  --bc-offer-button: #294d9d;
}
.bc-offer-dialog[data-brand="club"],
.bc-offer-launcher[data-brand="club"] {
  --bc-offer-accent: #ad6aaa;
  --bc-offer-button: #754574;
}
.bc-offer-dialog[data-brand="estate"],
.bc-offer-launcher[data-brand="estate"] {
  --bc-offer-accent: #38aa87;
  --bc-offer-button: #16735a;
}
dialog.bc-offer-dialog {
  position: fixed;
  inset: 0;
  width: calc(100% - 32px);
  max-width: 560px;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #dce4e9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 80px rgb(15 32 49 / 20%);
  text-align: left;
  line-height: 1.6;
}
dialog.bc-offer-dialog:not([open]) {
  display: none;
}
dialog.bc-offer-dialog::backdrop {
  background: rgb(15 28 40 / 46%);
}
.bc-offer-dialog .bc-offer-panel {
  position: relative;
  padding: 36px 34px 26px;
}
.bc-offer-dialog .bc-offer-panel::before {
  position: absolute;
  inset: 38px auto auto 0;
  width: 4px;
  height: 46px;
  border-radius: 0 3px 3px 0;
  background: var(--bc-offer-accent);
  content: "";
}
.bc-offer-dialog .bc-offer-title {
  margin: 0;
  padding: 0 22px 0 0;
  color: #203041;
  font-family: inherit;
  font-size: clamp(1.5rem, 3.5vw, 1.8rem);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.22;
  text-transform: none;
  text-wrap: balance;
}
.bc-offer-dialog .bc-offer-body {
  margin: 18px 0 0;
  padding: 0;
  color: #415365;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}
.bc-offer-dialog .bc-offer-availability {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 13px;
  margin: 24px 0;
}
.bc-offer-dialog .bc-offer-dots {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 5px;
}
.bc-offer-dialog .bc-offer-dot {
  display: block;
  width: 9px;
  height: 9px;
  box-sizing: border-box;
  border: 1px solid #c8d1d9;
  border-radius: 50%;
  background: #fff;
}
.bc-offer-dialog .bc-offer-dot[data-available="true"] {
  border-color: var(--bc-offer-accent);
  background: var(--bc-offer-accent);
}
.bc-offer-dialog .bc-offer-availability-text {
  margin: 0;
  padding: 0;
  color: #203041;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
}
.bc-offer-dialog .bc-offer-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.bc-offer-dialog .bc-offer-action,
.bc-offer-dialog .bc-offer-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 10px 16px;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
}
.bc-offer-dialog .bc-offer-action {
  flex: 1 1 auto;
  color: #fff;
  background: var(--bc-offer-button);
}
.bc-offer-dialog .bc-offer-action:hover {
  color: #fff;
  background: var(--bc-offer-button);
  filter: brightness(0.92);
  text-decoration: none;
}
.bc-offer-dialog .bc-offer-dismiss {
  flex: 0 1 auto;
  color: #415365;
  background: transparent;
}
.bc-offer-dialog .bc-offer-dismiss:hover {
  color: #203041;
  background: #f0f4f7;
}
.bc-offer-dialog .bc-offer-close {
  position: absolute;
  top: 6px;
  right: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #536474;
  background: transparent;
  font-family: inherit;
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}
.bc-offer-dialog .bc-offer-close:hover {
  color: #203041;
  background: #f0f4f7;
}
.bc-offer-dialog .bc-offer-terms {
  margin: 18px 0 0;
  padding: 0;
  color: #536474;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.55;
}
button.bc-offer-launcher {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, var(--bc-offer-widget-gap, 0px), env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100vw - 32px);
  min-height: 44px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid #ccd7df;
  border-left: 3px solid var(--bc-offer-accent);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 16px rgb(15 32 49 / 9%);
  color: #203041;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-transform: none;
  cursor: pointer;
}
button.bc-offer-launcher[hidden] {
  display: none !important;
}
.bc-offer-dialog :is(a, button):focus-visible,
button.bc-offer-launcher:focus-visible {
  outline: 3px solid var(--bc-offer-button);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  dialog.bc-offer-dialog {
    inset: auto 0 0;
    width: calc(100% - 24px);
    max-height: 90vh;
    max-height: 90dvh;
    margin: 0 auto max(12px, env(safe-area-inset-bottom));
    border-radius: 18px;
  }
  .bc-offer-dialog .bc-offer-panel {
    padding: 34px 24px 24px;
  }
  .bc-offer-dialog .bc-offer-body {
    font-size: 0.9375rem;
  }
}
@media (max-width: 440px) {
  .bc-offer-dialog .bc-offer-actions {
    flex-direction: column;
    gap: 4px;
  }
  .bc-offer-dialog .bc-offer-availability {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
