/* NOVA WORK HOME V5 — полный CSS поля Weblium. */
#nw-home-embed {
  transition: opacity 180ms ease-out;
}
#nw-home-embed:not(.nw-home-ready) {
  opacity: 0;
  visibility: hidden !important;
}
#nw-home-embed.nw-home-ready {
  opacity: 1;
  visibility: visible !important;
}
#nw-home-recovery {
  box-sizing: border-box;
  position: relative;
  z-index: 1000;
  max-width: 880px;
  margin: 18px auto;
  padding: 18px 20px;
  border: 1px solid #c5d5e7;
  border-radius: 14px;
  background: #f0f5fb;
  color: #20364e;
  font: 500 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
#nw-home-recovery p { margin: 0 0 12px; }
#nw-home-recovery .nw-recovery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#nw-home-recovery a, #nw-home-recovery button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid #a9bfda;
  border-radius: 9px;
  background: #fff;
  color: #164b87;
  font: 600 14px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif;
  text-decoration: none;
  cursor: pointer;
}
#nw-home-recovery a:focus-visible, #nw-home-recovery button:focus-visible {
  outline: 2px solid #377cc3;
  outline-offset: 3px;
}
html[data-nw-theme="dark"] #nw-home-recovery {
  background: #172a43;
  color: #eef5ff;
  border-color: #3f5877;
}
html[data-nw-theme="dark"] #nw-home-recovery a,
html[data-nw-theme="dark"] #nw-home-recovery button {
  background: #213c5c;
  color: #edf5ff;
  border-color: #587797;
}
@media (max-width: 600px) {
  #nw-home-recovery { margin: 12px; padding: 15px; font-size: 14px; }
  #nw-home-recovery .nw-recovery-actions > * { flex: 1 1 140px; }
}

@media (prefers-reduced-motion: reduce) {
  #nw-home-embed { transition: none !important; }
}
