#vls-cc {
  --vls-cc-white: #fff;
  --vls-cc-ink: #202a23;
  --vls-cc-muted: #526158;
  --vls-cc-green: #214d38;
  --vls-cc-sage: #f3f7f3;
  --vls-cc-line: #ccd8ce;
  color: var(--vls-cc-ink);
  font: 400 15px/1.5 system-ui, sans-serif;
  text-align: start;
}

#vls-cc *,
#vls-cc *::before,
#vls-cc *::after {
  box-sizing: border-box;
}

#vls-cc [hidden] {
  display: none !important;
}

#vls-cc [data-vls-dialog]:not([open]),
[data-vls-embed] [hidden] {
  display: none;
}

[data-vls-auto-hidden][hidden] {
  display: none !important;
}

#vls-cc [data-vls-banner],
#vls-cc [data-vls-dialog] {
  color: inherit;
  background: var(--vls-cc-white);
  border: 1px solid var(--vls-cc-line);
  border-radius: 14px;
  box-shadow: 0 10px 40px #152c2030;
}

#vls-cc [data-vls-banner] {
  position: fixed;
  z-index: 2147482000;
  inset: auto 16px max(12px, env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 24px;
  width: auto;
  max-width: 1040px;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin-inline: auto;
  padding: 14px 18px;
  overflow: auto;
  overscroll-behavior: contain;
}

#vls-cc [data-vls-dialog] {
  position: fixed;
  z-index: 2147482001;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  width: min(630px, calc(100% - 24px));
  max-width: none;
  height: max-content;
  max-height: min(730px, calc(100vh - 24px));
  max-height: min(730px, calc(100dvh - 24px));
  margin: auto;
  padding: 18px;
  overflow: auto;
  overscroll-behavior: contain;
}

#vls-cc [data-vls-dialog]::backdrop {
  background: #13291d65;
}

html:has(#vls-cc [data-vls-dialog]:modal) {
  overflow: hidden;
}

#vls-cc .vls-cc-title {
  margin: 0 0 3px;
  color: inherit;
  font: 700 clamp(17px, 2.6vw, 20px)/1.3 system-ui, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}

#vls-cc p {
  margin: 0 0 8px;
  color: var(--vls-cc-muted);
  font: inherit;
}

#vls-cc [data-vls-dialog] .vls-cc-title {
  margin: 0;
  font-size: 17px;
}

#vls-cc #vls-cc-dialog-intro {
  margin-bottom: 12px;
}

#vls-cc [data-vls-banner] p {
  margin-bottom: 2px;
}

#vls-cc a,
#vls-cc .vls-cc-privacy {
  color: var(--vls-cc-green);
  text-decoration: underline;
  text-underline-offset: .16em;
}

#vls-cc button,
[data-vls-embed] button[data-vls-open],
.vls-cc-embed-notice button[data-vls-open] {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 7px 12px;
  color: var(--vls-cc-green, #214d38);
  background: var(--vls-cc-white, #fff);
  border: 1px solid currentColor;
  border-radius: 8px;
  font: 650 14px/1.3 system-ui, sans-serif;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
}

#vls-cc button:hover,
[data-vls-embed] button[data-vls-open]:hover,
.vls-cc-embed-notice button[data-vls-open]:hover {
  color: var(--vls-cc-green, #214d38);
  background: var(--vls-cc-sage, #f3f7f3);
}

#vls-cc :is(button, a, input, summary):focus-visible,
[data-vls-embed] button[data-vls-open]:focus-visible,
.vls-cc-embed-notice button[data-vls-open]:focus-visible,
.vls-cc-policy-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

#vls-cc .vls-cc-open {
  margin: 8px;
}

#vls-cc .vls-cc-open:last-child {
  display: flex;
  margin-inline: auto;
}

#vls-cc .vls-cc-actions,
#vls-cc .vls-cc-dialog-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

#vls-cc .vls-cc-dialog-header {
  flex-wrap: nowrap;
  justify-content: space-between;
}

#vls-cc button.vls-cc-close {
  min-width: 44px;
  font-size: 20px;
}

#vls-cc .vls-cc-dialog-footer .vls-cc-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#vls-cc .vls-cc-dialog-secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 14px;
  margin-top: 6px;
}

#vls-cc .vls-cc-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 14px;
  font-size: 13px;
}

#vls-cc .vls-cc-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

#vls-cc .vls-cc-dialog-body {
  padding: 3px;
  margin: -3px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

#vls-cc .vls-cc-group {
  margin: 0 0 7px;
  border: 1px solid var(--vls-cc-line);
  border-radius: 8px;
}

#vls-cc .vls-cc-group:last-child {
  margin-bottom: 0;
}

#vls-cc summary {
  cursor: pointer;
}

#vls-cc .vls-cc-group > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 10px;
  align-items: center;
  gap: 2px 10px;
  min-height: 52px;
  padding: 8px 12px;
  border-radius: 7px;
  list-style: none;
  line-height: 1.35;
}

#vls-cc .vls-cc-group > summary::-webkit-details-marker {
  display: none;
}

#vls-cc .vls-cc-group > summary:hover,
#vls-cc .vls-cc-group[open] > summary {
  background: var(--vls-cc-sage);
}

#vls-cc .vls-cc-group[open] > summary {
  border-radius: 7px 7px 0 0;
  border-bottom: 1px solid var(--vls-cc-line);
}

#vls-cc .vls-cc-group > summary::after {
  grid-area: 1 / 3 / span 2;
  justify-self: center;
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
  content: '';
}

#vls-cc .vls-cc-group[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}

#vls-cc .vls-cc-group-status,
#vls-cc .vls-cc-group-purpose {
  color: var(--vls-cc-muted);
  font-size: 13px;
}

#vls-cc .vls-cc-group-status {
  grid-area: 1 / 2 / span 2;
  text-align: end;
}

#vls-cc .vls-cc-group-purpose {
  grid-area: 2 / 1;
}

#vls-cc .vls-cc-group > label {
  margin: 4px 12px 0;
}

#vls-cc .vls-cc-service {
  padding: 8px 10px;
  margin: 0 12px;
  border-top: 1px solid var(--vls-cc-line);
  overflow-wrap: anywhere;
}

#vls-cc .vls-cc-service summary {
  margin-block: 3px;
  color: var(--vls-cc-green);
  font-size: 14px;
}

#vls-cc .vls-cc-service ul {
  padding-inline-start: 20px;
  margin: 5px 0 0;
  list-style: disc;
}

#vls-cc label {
  display: inline-flex;
  align-items: center;
  min-height: 33px;
  gap: 8px;
  margin: 0;
  color: inherit;
  cursor: pointer;
}

#vls-cc input[type='checkbox'] {
  appearance: auto;
  inline-size: 17px;
  block-size: 17px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--vls-cc-green);
}

[data-vls-embed] [data-vls-embed-message]:not([hidden]),
.vls-cc-embed-notice {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px;
  color: #202a23;
  background: #f3f7f3;
  text-align: center;
}

.vls-cc-policy-button[data-vls-open] {
  display: inline;
  padding: 0;
  color: #214d38;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: underline;
  text-underline-offset: .16em;
  text-transform: none;
  cursor: pointer;
}

.vls-cc-policy-button[data-vls-open]:hover {
  color: #173a2a;
  background: transparent;
}

.vls-cc-video-frame {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

@media (max-width: 760px) {
  #vls-cc [data-vls-banner] {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  #vls-cc [data-vls-banner] {
    inset-inline: 8px;
    padding: 10px 12px;
  }

  #vls-cc [data-vls-dialog] {
    padding: 12px;
  }

  #vls-cc [data-vls-banner] .vls-cc-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  #vls-cc [data-vls-banner] .vls-cc-actions [data-vls-open] {
    grid-column: 1 / -1;
  }
}
