.involis-privacy-controls,
.involis-privacy-controls * {
  box-sizing: border-box;
}

.involis-privacy-controls {
  position: relative;
  z-index: 2147483000;
  color: #0f172a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.involis-privacy-panel {
  position: fixed;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  display: flex;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0.75rem 0.875rem;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #cbd5e1;
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 38px -24px rgba(15, 23, 42, 0.48);
}

.involis-privacy-copy {
  max-width: 31rem;
}

.involis-privacy-copy h2 {
  margin: 0;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
}

.involis-privacy-copy p {
  margin: 0.25rem 0 0;
  color: #475569;
  font-size: 0.75rem;
  line-height: 1.45;
}

.involis-privacy-copy a,
.privacy-page a {
  color: #047857;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.involis-privacy-status {
  font-weight: 500;
}

.involis-privacy-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.involis-privacy-button {
  min-height: 2.75rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid #0f172a;
  border-radius: 0.625rem;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 500;
}

.involis-privacy-button:hover {
  background: #f1f5f9;
}

.involis-privacy-button:focus-visible,
.privacy-page a:focus-visible,
.privacy-page button:focus-visible {
  outline: 3px solid rgba(16, 185, 129, 0.35);
  outline-offset: 2px;
}

.involis-privacy-button--quiet {
  border-color: transparent;
  color: #475569;
}

.involis-privacy-settings {
  position: fixed;
  right: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border-color: #cbd5e1;
  box-shadow: 0 10px 28px -16px rgba(15, 23, 42, 0.5);
}

.involis-privacy-settings svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-page {
  min-height: 100%;
  margin: 0;
  background: #f4f7fa;
  color: #0f172a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.privacy-page * {
  box-sizing: border-box;
}

.privacy-page__header,
.privacy-page__main,
.privacy-page__footer {
  width: min(100% - 2rem, 48rem);
  margin-inline: auto;
}

.privacy-page__header {
  padding: 1.5rem 0;
}

.privacy-page__brand {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.75rem;
  color: #0f172a !important;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none !important;
}

.privacy-page__brand img {
  width: 2rem;
  height: 2rem;
}

.privacy-page__main {
  padding: 2rem;
  border: 1px solid #dbe3ec;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 20px 50px -40px rgba(15, 23, 42, 0.5);
}

.privacy-page h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
}

.privacy-page h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.privacy-page p,
.privacy-page li,
.privacy-page address {
  color: #475569;
  font-size: 0.9375rem;
  font-style: normal;
  line-height: 1.7;
}

.privacy-page p {
  margin: 0.75rem 0 0;
}

.privacy-page ul {
  padding-left: 1.25rem;
}

.privacy-page__meta {
  margin-top: 0.75rem !important;
  font-size: 0.8125rem !important;
}

.privacy-page__settings {
  margin-top: 1rem;
}

.privacy-page__footer {
  padding: 1.5rem 0 6rem;
  color: #64748b;
  font-size: 0.8125rem;
}

@media (max-width: 720px) {
  .involis-privacy-panel {
    max-width: 30rem;
    align-items: stretch;
    flex-direction: column;
  }

  .involis-privacy-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .involis-privacy-button--quiet {
    grid-column: 1 / -1;
  }

  .privacy-page__main {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .involis-privacy-panel {
    animation: involis-privacy-enter 180ms ease-out;
  }
}

@keyframes involis-privacy-enter {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
}
