/* Privacy Policy update notice (policy-notice.js). Uses the studio's colour tokens: the editor and
   Settings tokens (--ed-*, light or dark with the chosen theme), then the welcome page's (--ui-*). */
.policy-notice {
  position: fixed;
  z-index: 2147483000;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  box-sizing: border-box;
  width: min(640px, calc(100% - 32px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 12px 16px;
  border: 1px solid var(--ed-border, var(--ui-border, #71879b));
  border-radius: var(--ed-radius-md, 12px);
  background: var(--ed-paper, var(--ui-panel-raised, #354d63));
  color: var(--ed-ink, var(--ui-heading, #e3e9ef));
  box-shadow: var(--ed-shadow, 0 8px 24px rgb(0 0 0 / 0.25));
  font: 14px/1.5 var(--ed-font, inherit);
}
.policy-notice p {
  margin: 0;
}
.policy-notice a {
  color: var(--ed-accent, var(--ui-accent, #7acde0));
  font-weight: 600;
  text-underline-offset: 3px;
}
.policy-notice-dismiss {
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--ed-border, var(--ui-border, #71879b));
  border-radius: var(--ed-radius-sm, 8px);
  background: var(--ed-surface, var(--ui-panel, #2b4054));
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.policy-notice-dismiss:hover {
  background: var(--ed-tint, var(--ui-panel, #2b4054));
}
.policy-notice :is(a, button):focus-visible {
  outline: 2px solid var(--ed-focus, var(--ui-accent, #7acde0));
  outline-offset: 2px;
}
@media (max-width: 560px) {
  .policy-notice {
    bottom: 12px;
  }
  .policy-notice-dismiss {
    width: 100%;
  }
}
@media print {
  .policy-notice {
    display: none;
  }
}
