/* First-visit privacy notice: a small card bottom-left (the assistant sits bottom-right); full width on phones. */
.bt-pn { position: fixed; z-index: 9995; left: 20px; bottom: 20px; width: min(460px, calc(100vw - 40px)); }
.bt-pn-card {
  margin: 0; padding: 18px 20px; border-radius: 18px;
  background: var(--c-brand); color: var(--c-white);
  box-shadow: 0 18px 50px -12px var(--c-black-a33), inset 0 0 0 1px var(--c-white-a14);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  animation: bt-pn-in .35s ease-out both;
}
.bt-pn-title { margin: 0 0 6px; font: 600 15px/1.35 "Space Grotesk", "DM Sans", system-ui, sans-serif; color: var(--c-lime); }
.bt-pn-text { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--c-white-ac9); }
.bt-pn-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.bt-pn-accept {
  appearance: none; border: 0; cursor: pointer; padding: 10px 22px; border-radius: 999px;
  background: var(--c-lime); color: var(--c-brand); font: 600 14px/1 "DM Sans", system-ui, sans-serif;
  transition: transform .15s ease, filter .15s ease;
}
.bt-pn-accept:hover { filter: brightness(1.05); transform: translateY(-1px); }
.bt-pn-accept:focus-visible, .bt-pn-link:focus-visible { outline: 2px solid var(--c-lime); outline-offset: 3px; }
.bt-pn-accept:disabled { opacity: .7; cursor: default; transform: none; }
.bt-pn-link { color: var(--c-white); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.bt-pn-link:hover { color: var(--c-lime); }
@keyframes bt-pn-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bt-pn-card { animation: none; } }
@media (max-width: 640px) {
  .bt-pn { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .bt-pn-card { padding: 16px; }
  .bt-pn-accept { flex: 1; }
  /* keep the closed assistant button above the notice */
  body.bt-pn-open .bt-ai[data-mode="widget"]:not(.is-open) { bottom: calc(var(--bt-pn-h, 0px) + 24px); }
}
@media print { .bt-pn { display: none; } }
