body.rt-site .rt-cookie-banner,
body.rt-site .rt-cookie-panel-backdrop {
  color: var(--rt-ink);
  font-family: var(--rt-font-sans);
}

body.rt-site .rt-cookie-banner[hidden],
body.rt-site .rt-cookie-panel-backdrop[hidden] {
  display: none !important;
}

body.rt-site .rt-cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2050;
  background: #fff;
  border: 1px solid var(--rt-line);
  border-radius: var(--rt-radius);
  box-shadow: var(--rt-shadow-lg);
}

body.rt-site .rt-cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px;
}

body.rt-site .rt-cookie-copy {
  max-width: 760px;
}

body.rt-site .rt-cookie-copy h2,
body.rt-site .rt-cookie-panel h2,
body.rt-site .rt-cookie-option h3,
body.rt-site .rt-legal-card h2 {
  margin: 0;
  color: var(--rt-ink);
  font-weight: 800;
}

body.rt-site .rt-cookie-copy h2,
body.rt-site .rt-cookie-panel h2 {
  font-size: 22px;
}

body.rt-site .rt-cookie-copy p {
  margin: 6px 0 0;
  color: var(--rt-ink-muted);
  font-size: 14px;
  line-height: 1.45;
}

body.rt-site .rt-cookie-copy a {
  color: var(--rt-brand-deep);
  font-weight: 700;
  text-decoration: none;
}

body.rt-site .rt-cookie-copy a:hover {
  text-decoration: underline;
}

body.rt-site .rt-cookie-actions,
body.rt-site .rt-cookie-panel-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

body.rt-site .rt-cookie-btn {
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--rt-line);
  padding: 10px 16px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

body.rt-site .rt-cookie-btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px var(--rt-brand-soft);
}

body.rt-site .rt-cookie-btn:active {
  transform: translateY(1px);
}

body.rt-site .rt-cookie-btn-main {
  background: var(--rt-coral);
  border-color: var(--rt-coral);
  color: #fff;
}

body.rt-site .rt-cookie-btn-main:hover {
  background: var(--rt-coral-deep);
  border-color: var(--rt-coral-deep);
}

body.rt-site .rt-cookie-btn-secondary {
  background: #fff;
  color: var(--rt-ink);
}

body.rt-site .rt-cookie-btn-secondary:hover {
  background: var(--rt-bg-cream);
}

body.rt-site .rt-cookie-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2060;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(14, 34, 56, .48);
}

body.rt-site .rt-cookie-panel {
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  background: #fff;
  border-radius: var(--rt-radius);
  box-shadow: var(--rt-shadow-lg);
  border: 1px solid var(--rt-line);
}

body.rt-site .rt-cookie-panel-header,
body.rt-site .rt-cookie-option,
body.rt-site .rt-cookie-panel-footer {
  padding: 20px;
}

body.rt-site .rt-cookie-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--rt-line-soft);
}

body.rt-site .rt-cookie-eyebrow {
  margin: 0 0 4px;
  color: var(--rt-ink-muted);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
}

body.rt-site .rt-cookie-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--rt-line);
  border-radius: 8px;
  background: #fff;
  color: var(--rt-ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

body.rt-site .rt-cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--rt-line-soft);
}

body.rt-site .rt-cookie-option h3 {
  font-size: 17px;
}

body.rt-site .rt-cookie-option p {
  margin: 6px 0 0;
  color: var(--rt-ink-muted);
  font-size: 14px;
  line-height: 1.45;
}

body.rt-site .rt-cookie-option-locked {
  background: var(--rt-bg-cream);
}

body.rt-site .rt-cookie-switch {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

body.rt-site .rt-cookie-switch input {
  position: absolute;
  opacity: 0;
}

body.rt-site .rt-cookie-switch span {
  width: 54px;
  height: 30px;
  border-radius: 30px;
  background: var(--rt-line);
  position: relative;
  transition: background .15s ease;
}

body.rt-site .rt-cookie-switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--rt-shadow-sm);
  transition: transform .15s ease;
}

body.rt-site .rt-cookie-switch input:checked + span {
  background: var(--rt-accent);
}

body.rt-site .rt-cookie-switch input:checked + span::after {
  transform: translateX(24px);
}

body.rt-site .rt-footer-link-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--rt-ink-muted);
  font-size: 14px;
  cursor: pointer;
}

body.rt-site .rt-footer-link-button:hover {
  color: var(--rt-brand-deep);
  text-decoration: underline;
}

body.rt-site .rt-legal-card {
  padding: 28px;
}

body.rt-site .rt-legal-card h2 {
  font-size: 24px;
  margin-top: 24px;
  margin-bottom: 10px;
}

body.rt-site .rt-legal-card h2:first-child {
  margin-top: 0;
}

body.rt-site .rt-legal-card p {
  color: var(--rt-ink-muted);
  line-height: 1.65;
}

body.rt-site .rt-cookie-table th {
  color: var(--rt-ink-2);
}

body.rt-site .rt-cookie-table td {
  color: var(--rt-ink-muted);
  vertical-align: top;
}

@media (max-width: 768px) {
  body.rt-site .rt-cookie-banner-content,
  body.rt-site .rt-cookie-option {
    align-items: stretch;
    flex-direction: column;
  }

  body.rt-site .rt-cookie-actions,
  body.rt-site .rt-cookie-panel-footer {
    flex-direction: column;
  }

  body.rt-site .rt-cookie-btn {
    width: 100%;
  }
}
