.version-notice {
  position: fixed;
  inset: auto 0 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  box-sizing: border-box;
  padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-strong, #cdd6e2);
  background: var(--surface, #fffef9);
  color: var(--text, #071512);
  font: 400 14px/1.5 var(--font, "Segoe UI", system-ui, sans-serif);
}
.version-notice-copy { display: grid; gap: 2px; min-width: 0; }
.version-notice-title { font-weight: 700; }
.version-notice-action {
  flex: none;
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--primary, #0d8f80);
  color: var(--primary-ink, #fff);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.version-notice-action:focus-visible { outline: 3px solid var(--primary, #0d8f80); outline-offset: 3px; }
.version-notice-action:disabled { cursor: wait; opacity: .7; }
body.has-version-update { padding-bottom: var(--version-notice-height, 100px); }
body.has-version-update .bottom-nav { bottom: var(--version-notice-height, 100px); }
body.has-version-update .toast-region { bottom: calc(var(--bottom-h, 0px) + var(--version-notice-height, 100px) + 18px); }
body.has-version-update.mobile-conversations-open .panel.active,
body.has-version-update.mobile-thread-open .conversation-workspace .thread-pane { bottom: var(--version-notice-height, 100px); }
@media (max-width: 600px) {
  .version-notice { align-items: start; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); font-size: 13px; }
  .version-notice-action { padding: 10px 14px; }
}
