.parseh-update-layer,
.parseh-update-layer * { box-sizing: border-box; }
.parseh-update-layer[hidden] { display: none !important; }
.parseh-update-layer { position: fixed; z-index: 2147483000; inset: 0; display: grid; place-items: center; padding: 24px; direction: rtl; font-family: inherit; }
.parseh-update-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: rgba(22, 31, 35, .58); backdrop-filter: blur(2px); cursor: default; }
.parseh-update-dialog { position: relative; width: min(100%, 424px); margin: 0; padding: 32px; border: 1px solid #eceeed; border-radius: 24px; background: #fff; color: #242f36; box-shadow: 0 24px 64px rgba(26, 45, 52, .22); text-align: center; animation: parseh-update-enter .24s ease-out both; }
.parseh-update-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 22px; display: grid; place-items: center; background: #e9f5f2; }
.parseh-update-icon img { width: 36px; height: 36px; filter: invert(49%) sepia(18%) saturate(1275%) hue-rotate(119deg) brightness(91%) contrast(88%); }
.parseh-update-copy h2 { margin: 0; color: #263238; font-size: 24px; font-weight: 800; line-height: 1.55; }
.parseh-update-copy p { max-width: 330px; margin: 8px auto 0; color: #6f7477; font-size: 15px; font-weight: 400; line-height: 1.9; }
.parseh-update-actions { display: grid; grid-template-columns: 1fr 112px; gap: 12px; margin-top: 24px; }
.parseh-update-actions button { min-height: 48px; margin: 0; padding: 0 20px; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 700; line-height: 1; cursor: pointer; transition: transform .16s ease, background-color .16s ease, border-color .16s ease; }
.parseh-update-actions button:focus-visible { outline: 3px solid rgba(52, 148, 131, .24); outline-offset: 2px; }
.parseh-update-actions button:active { transform: translateY(1px); }
.parseh-update-actions button:disabled { cursor: wait; opacity: .68; }
.parseh-update-primary { border: 1px solid #349483; background: #349483; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.parseh-update-primary:hover { border-color: #2c8274; background: #2c8274; }
.parseh-update-primary img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.parseh-update-dialog.is-updating .parseh-update-primary img { animation: parseh-update-spin .85s linear infinite; }
.parseh-update-secondary { border: 1px solid #dfe3e2; background: #fff; color: #5f6568; }
.parseh-update-secondary:hover { border-color: #c9d1cf; background: #f7f9f8; }
.parseh-update-status { margin: 14px 0 -6px; color: #349483; font-size: 13px; font-weight: 600; line-height: 1.7; }
html.parseh-update-open { overflow: hidden; }
@keyframes parseh-update-enter { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes parseh-update-spin { to { transform: rotate(-360deg); } }
@media (max-width: 575px) {
  .parseh-update-layer { place-items: end stretch; padding: 0; }
  .parseh-update-dialog { width: 100%; padding: 28px 20px calc(20px + env(safe-area-inset-bottom)); border-width: 1px 0 0; border-radius: 24px 24px 0 0; animation-name: parseh-update-enter-mobile; }
  .parseh-update-icon { width: 64px; height: 64px; margin-bottom: 16px; border-radius: 20px; }
  .parseh-update-icon img { width: 32px; height: 32px; }
  .parseh-update-copy h2 { font-size: 21px; }
  .parseh-update-copy p { max-width: 315px; font-size: 14px; line-height: 1.85; }
  .parseh-update-actions { grid-template-columns: 1fr; margin-top: 20px; }
  .parseh-update-actions button { width: 100%; }
  .parseh-update-primary { grid-row: 1; }
  .parseh-update-secondary { grid-row: 2; }
}
@keyframes parseh-update-enter-mobile { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .parseh-update-dialog,
  .parseh-update-dialog.is-updating .parseh-update-primary img { animation-duration: .01ms; animation-iteration-count: 1; }
}
