/* Shared privacy controls: scoped so the surrounding product keeps its own layout. */
.dc-consent {
  position: fixed;
  z-index: 120;
  inset: auto 20px max(20px, env(safe-area-inset-bottom)) auto;
  box-sizing: border-box;
  width: min(440px, calc(100vw - 40px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 22px;
  border-radius: 14px;
  background: #fff;
  color: #24322d;
  box-shadow: 0 12px 48px rgb(15 36 26 / 18%);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}
.dc-consent[hidden] { display: none; }
.dc-consent *, .dc-consent *::before, .dc-consent *::after { box-sizing: border-box; }
.dc-consent .dc-consent__title {
  margin: 0 0 8px;
  font-family: inherit;
  color: #24322d;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.dc-consent .dc-consent__text { margin: 0; color: #53635b; font-size: 14px; line-height: 1.55; }
.dc-consent .dc-consent__links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 9px; }
.dc-consent a, .dc-consent__link {
  color: #086b52;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dc-consent .dc-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.dc-consent .dc-consent__button {
  min-height: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #086b52;
  border-radius: 8px;
  background: #fff;
  color: #086b52;
  font: inherit;
  font-weight: 650;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 140ms ease, transform 140ms cubic-bezier(.23,1,.32,1);
}
.dc-consent .dc-consent__button[data-choice="granted"],
.dc-consent .dc-consent__button--accept { background: #086b52; color: #fff; }
.dc-consent .dc-consent__button:active { transform: scale(.98); }
.dc-consent .dc-consent__button:disabled { opacity: .65; cursor: wait; }
.dc-consent :is(a, button):focus-visible {
  outline: 3px solid #b98562;
  outline-offset: 4px;
}
.dc-consent .dc-consent__status { margin: 12px 0 0; color: #53635b; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.dc-consent .dc-consent__actions + .dc-consent__text { margin-top: 12px; font-size: 13px; }
.dc-consent .dc-consent__status:empty { display: none; }
.dc-consent .dc-consent__close { min-height: 44px; color: #53635b; font: inherit; cursor: pointer; }
.dc-cookie-settings {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
html[data-cookie-surface="app"] .dc-consent { right: auto; left: 20px; bottom: max(54px, env(safe-area-inset-bottom)); }
@media (hover: hover) and (pointer: fine) {
  .dc-consent .dc-consent__button:hover { background: #edf5f0; }
  .dc-consent .dc-consent__button[data-choice="granted"]:hover,
  .dc-consent .dc-consent__button--accept:hover { background: #07543f; }
}
@media (max-width: 600px) {
  .dc-consent {
    inset: auto 12px max(12px, env(safe-area-inset-bottom)) 12px;
    width: auto;
    padding: 18px;
    max-height: calc(100dvh - 24px);
    font-size: 13px;
  }
  .dc-consent .dc-consent__title { font-size: 17px; }
  .dc-consent .dc-consent__text { font-size: 13px; }
  .dc-consent .dc-consent__actions { gap: 8px; margin-top: 14px; }
  .dc-consent .dc-consent__button { padding-inline: 8px; font-size: 13px; }
  html[data-cookie-surface="app"] .dc-consent { right: 12px; left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .dc-consent .dc-consent__button { transition: none; }
}

.dc-consent .dc-consent__compact { display: none; }
@media (max-width: 360px) and (max-height: 640px) {
  .dc-consent { padding: 12px 14px; }
  .dc-consent .dc-consent__title,
  .dc-consent .dc-consent__title + .dc-consent__text { display: none; }
  .dc-consent .dc-consent__compact { display: block; margin: 0; color: #53635b; font-size: 13px; line-height: 1.4; }
  .dc-consent .dc-consent__actions { margin-top: 10px; }
  .dc-consent .dc-consent__button { padding: 6px 8px; font-size: 12px; }
  .dc-consent .dc-consent__actions + .dc-consent__text { margin-top: 8px; font-size: 12px; }
}

.dc-policy-page { margin: 0; background: #f2f6f3; color: #24322d; font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.dc-policy { box-sizing: border-box; max-width: 860px; margin: 32px auto; padding: 44px; background: #fff; border-radius: 14px; }
.dc-policy a { color: #086b52; text-underline-offset: 3px; }
.dc-policy__back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 16px; font-size: 14px; }
.dc-policy h1 { margin: 0 0 12px; color: #24322d; font-size: clamp(28px, 5vw, 40px); line-height: 1.2; letter-spacing: -.025em; }
.dc-policy h2 { margin: 36px 0 12px; font-size: 21px; line-height: 1.3; color: #24322d; }
.dc-policy p { margin: 0 0 16px; }
.dc-policy__date { color: #53635b; font-size: 14px; }
.dc-policy__table { overflow-x: auto; margin: 24px 0; }
.dc-policy table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.dc-policy caption { text-align: left; margin-bottom: 12px; font-weight: 650; }
.dc-policy th, .dc-policy td { vertical-align: top; padding: 12px 10px; border-bottom: 1px solid #dce3dd; overflow-wrap: anywhere; }
.dc-policy th { color: #086b52; }
.dc-policy__settings { min-height: 44px; margin: 12px 0 24px; padding: 12px 20px; border: 0; border-radius: 8px; background: #086b52; color: #fff; font: inherit; font-weight: 650; cursor: pointer; }
.dc-policy__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; border-top: 1px solid #dce3dd; font-size: 14px; }
.dc-policy :is(a, button):focus-visible { outline: 3px solid #b98562; outline-offset: 4px; }
@media (max-width: 600px) {
  .dc-policy { margin: 12px; padding: 24px 18px; }
  .dc-policy table { font-size: 12px; }
  .dc-policy th, .dc-policy td { padding: 10px 6px; }
}
