:host {
  all: initial;
  position: static;
  display: contents;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.rlcm-root,
.rlcm-root *,
.rlcm-root *::before,
.rlcm-root *::after {
  box-sizing: border-box;
}

.rlcm-root {
  all: initial;
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
  color-scheme: light;
}

.rlcm-root button,
.rlcm-root input,
.rlcm-root textarea,
.rlcm-root select,
.rlcm-root a {
  font-family: inherit;
  font-style: normal;
  letter-spacing: normal;
  text-indent: 0;
  text-shadow: none;
  text-transform: none;
  filter: none;
}

.rlcm-root button,
.rlcm-root input,
.rlcm-root textarea,
.rlcm-root select {
  appearance: none;
  -webkit-appearance: none;
}

.rlcm-root button::before,
.rlcm-root button::after,
.rlcm-root a::before,
.rlcm-root a::after {
  content: none;
  display: none;
}

.rlcm-banner[hidden],
.rlcm-modal[hidden],
.rlcm-reopen[hidden] {
  display: none !important;
}

.rlcm-banner {
  all: initial;
  position: fixed;
  z-index: 2147483000;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  background: var(--rlcm-bg, #000000);
  color: var(--rlcm-text, #ffffff);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

.rlcm-banner__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 34%);
  gap: 24px;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 12px 16px;
}

.rlcm-banner__copy,
.rlcm-banner__actions {
  min-width: 0;
}

.rlcm-banner__text,
.rlcm-banner__text p {
  margin: 0;
  color: var(--rlcm-text, #ffffff);
  font-family: inherit;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: normal;
  text-align: left;
  text-decoration: none;
  text-transform: none;
}

.rlcm-banner__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.rlcm-banner__links span {
  display: inline;
}

.rlcm-banner__links a {
  all: unset;
  color: var(--rlcm-link, #ffffff);
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.rlcm-banner__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rlcm-btn {
  all: unset;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  min-height: 42px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 2px;
  outline: 0;
  background-image: none;
  box-shadow: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: normal;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: opacity 0.15s ease;
}

.rlcm-btn:hover {
  opacity: 0.92;
}

.rlcm-btn:focus-visible,
.rlcm-reopen:focus-visible,
.rlcm-modal__close:focus-visible {
  outline: 3px solid var(--rlcm-accent, #2f6fb5);
  outline-offset: 3px;
}

.rlcm-btn--accept,
.rlcm-btn--accept:hover,
.rlcm-btn--accept:focus,
.rlcm-btn--accept:active {
  color: var(--rlcm-accept-text, #ffffff);
  background: var(--rlcm-accept-bg, #2f6fb5);
  border-color: var(--rlcm-accept-bg, #2f6fb5);
}

.rlcm-btn--reject,
.rlcm-btn--reject:hover,
.rlcm-btn--reject:focus,
.rlcm-btn--reject:active {
  color: var(--rlcm-reject-text, #111111);
  background: var(--rlcm-reject-bg, #ffffff);
  border-color: rgba(0, 0, 0, 0.12);
}

.rlcm-btn--preferences,
.rlcm-btn--preferences:hover,
.rlcm-btn--preferences:focus,
.rlcm-btn--preferences:active {
  color: var(--rlcm-pref-text, #111111);
  background: var(--rlcm-pref-bg, #ffffff);
  border-color: rgba(0, 0, 0, 0.12);
}

.rlcm-modal {
  all: initial;
  position: fixed;
  z-index: 2147483001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

.rlcm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
}

.rlcm-modal__panel {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 28px;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  color: #161616;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

.rlcm-modal__panel h2 {
  margin: 0 40px 8px 0;
  color: #161616;
  font-family: inherit;
  font-size: 25px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
}

.rlcm-modal__intro,
.rlcm-modal__intro p {
  margin: 0 0 18px;
  color: #4b4b4b;
  font-family: inherit;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.45;
}

.rlcm-modal__close {
  all: unset;
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f1f1f1;
  color: #111111;
  box-shadow: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.rlcm-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 17px 0;
  border-top: 1px solid #e8e8e8;
}

.rlcm-category > div {
  min-width: 0;
}

.rlcm-category strong {
  color: #161616;
  font-family: inherit;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
}

.rlcm-category p {
  margin: 4px 0 0;
  color: #606060;
  font-family: inherit;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.45;
}

.rlcm-switch {
  all: unset;
  position: relative;
  display: grid;
  grid-template-columns: auto;
  justify-items: center;
  gap: 4px;
  min-width: 82px;
  cursor: pointer;
}

.rlcm-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.rlcm-switch span {
  position: relative;
  display: block;
  width: 48px;
  height: 26px;
  border-radius: 20px;
  background: #b8b8b8;
  transition: background 0.2s ease;
}

.rlcm-switch span::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.rlcm-switch input:checked + span {
  background: var(--rlcm-accent, #2f6fb5);
}

.rlcm-switch input:checked + span::after {
  transform: translateX(22px);
}

.rlcm-switch input:focus-visible + span {
  outline: 3px solid var(--rlcm-accent, #2f6fb5);
  outline-offset: 3px;
}

.rlcm-switch input:disabled + span {
  opacity: 0.72;
}

.rlcm-switch em {
  color: #666666;
  font-family: inherit;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.3;
}

.rlcm-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.rlcm-reopen {
  all: unset;
  position: fixed;
  z-index: 2147482999;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 36px;
  margin: 0;
  padding: 8px 13px;
  border: 0;
  border-radius: 999px;
  background: var(--rlcm-bg, #000000);
  color: var(--rlcm-text, #ffffff);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.24);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
  text-align: center;
  text-transform: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

@media (max-width: 1100px) {
  .rlcm-banner__content {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rlcm-banner__actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .rlcm-banner {
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
  }

  .rlcm-banner__content {
    width: 100%;
    max-width: 100%;
    max-height: 82vh;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 14px;
  }

  .rlcm-banner__content > *,
  .rlcm-banner__actions > * {
    min-width: 0;
    max-width: 100%;
  }

  .rlcm-banner__actions,
  .rlcm-modal__actions {
    grid-template-columns: 1fr;
  }

  .rlcm-btn {
    width: auto;
    max-width: 100%;
  }

  .rlcm-modal {
    padding: 10px;
  }

  .rlcm-modal__panel {
    width: 100%;
    max-height: calc(100vh - 20px);
    padding: 22px 18px;
    border-radius: 8px;
  }

  .rlcm-category {
    grid-template-columns: minmax(0, 1fr) 74px;
    gap: 10px;
  }
}

.rlcm-inline-link[data-rlcm-action] {
  all: unset !important;
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  font: inherit !important;
  line-height: inherit !important;
  letter-spacing: normal !important;
  text-decoration: underline !important;
  text-transform: none !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.rlcm-inline-link[data-rlcm-action]::before,
.rlcm-inline-link[data-rlcm-action]::after {
  content: none !important;
  display: none !important;
}
