.nw-preboot {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 20%, rgba(47, 118, 212, .16), transparent 42%), #f1f5f8;
}

#nw-object-preboot-overlay {
  display: none;
}

html.nw-object-preboot #nw-object-preboot-overlay {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: block;
  overflow: auto;
  opacity: 1;
  transition: opacity .12s ease;
}

html.nw-object-preboot #nw-object-preboot-overlay.nw-object-preboot--leaving {
  opacity: 0;
  pointer-events: none;
}

.nw-preboot__default {
  display: grid;
  place-items: center;
}

.nw-preboot__spinner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(47, 118, 212, .18);
  border-top-color: #2f76d4;
  border-radius: 50%;
  animation: nw-preboot-spin .8s linear infinite;
}

.nw-preboot__object {
  display: none;
}

html.nw-object-preboot .nw-preboot {
  min-height: 100vh;
  display: block;
  background: #f4f7fb;
  color: #20314a;
  font-family: Arial, sans-serif;
}

html.nw-object-preboot .nw-preboot__default {
  display: none;
}

html.nw-object-preboot .nw-preboot__object {
  display: block;
}

.nw-object-preboot__topbar {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 0 28px;
  background: #071724;
  color: #fff;
}

.nw-object-preboot__brand {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.6px;
}

.nw-object-preboot__nav {
  width: min(520px, 45vw);
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.24) 0 16%, transparent 16% 20%, rgba(255,255,255,.16) 20% 38%, transparent 38% 43%, rgba(255,255,255,.16) 43% 64%, transparent 64% 69%, rgba(255,255,255,.16) 69% 86%);
}

.nw-object-preboot__body {
  width: min(1220px, calc(100vw - 44px));
  margin: 0 auto;
  padding: 30px 0 42px;
}

.nw-object-preboot__status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid #dce8f5;
  border-radius: 16px;
  background: linear-gradient(120deg, #f7fbff, #eff8ff 58%, #effbf7);
  box-shadow: 0 12px 28px rgba(35, 76, 122, .08);
}

.nw-object-preboot__mark {
  width: 138px;
  height: 34px;
  display: flex;
  align-items: center;
  flex: 0 0 138px;
}

.nw-object-preboot__mark img {
  display: block;
  width: 138px;
  height: auto;
  max-height: 34px;
  object-fit: contain;
}

.nw-object-preboot__copy strong,
.nw-object-preboot__copy span {
  display: block;
}

.nw-object-preboot__copy strong {
  margin-bottom: 4px;
  color: #15243a;
  font-size: 20px;
  line-height: 24px;
}

.nw-object-preboot__copy span {
  color: #718198;
  font-size: 14px;
}

.nw-object-preboot__progress {
  position: relative;
  height: 4px;
  margin: 14px 8px 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfebf7;
}

.nw-object-preboot__progress::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -38%;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1679dc, #2db5a0);
  animation: nw-object-progress 1.15s ease-in-out infinite;
}

.nw-object-preboot__tabs {
  display: flex;
  gap: 10px;
  margin: 0 0 14px;
}

.nw-object-preboot__tabs i {
  width: 120px;
  height: 36px;
  border-radius: 10px;
  background: #e4edf6;
}

.nw-object-preboot__tabs i:first-child {
  background: #d8eaff;
}

.nw-object-preboot__layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(260px, .8fr);
  gap: 16px;
}

.nw-object-preboot__panel {
  padding: 22px;
  border: 1px solid #dde6ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(36, 68, 105, .06);
}

.nw-object-preboot__title,
.nw-object-preboot__line,
.nw-object-preboot__field b,
.nw-object-preboot__field span,
.nw-object-preboot__preview {
  position: relative;
  overflow: hidden;
  background: #e9eff5;
}

.nw-object-preboot__title::after,
.nw-object-preboot__line::after,
.nw-object-preboot__field b::after,
.nw-object-preboot__field span::after,
.nw-object-preboot__preview::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.82), transparent);
  animation: nw-object-shimmer 1.35s ease-in-out infinite;
}

.nw-object-preboot__title {
  width: 38%;
  height: 22px;
  margin-bottom: 22px;
  border-radius: 7px;
}

.nw-object-preboot__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.nw-object-preboot__field span,
.nw-object-preboot__field b {
  display: block;
  border-radius: 6px;
}

.nw-object-preboot__field span {
  width: 42%;
  height: 9px;
  margin-bottom: 8px;
}

.nw-object-preboot__field b {
  width: 100%;
  height: 36px;
}

.nw-object-preboot__line {
  height: 13px;
  margin-top: 21px;
  border-radius: 6px;
}

.nw-object-preboot__line--medium {
  width: 64%;
}

.nw-object-preboot__preview {
  height: 154px;
  border-radius: 12px;
  background: #dce7f1;
}

@keyframes nw-object-shimmer {
  100% { transform: translateX(100%); }
}

@keyframes nw-object-progress {
  0% { left: -38%; }
  100% { left: 138%; }
}

@keyframes nw-preboot-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 760px) {
  .nw-object-preboot__topbar {
    padding: 0 18px;
  }

  .nw-object-preboot__nav {
    display: none;
  }

  .nw-object-preboot__body {
    width: calc(100vw - 24px);
    padding-top: 18px;
  }

  .nw-object-preboot__layout,
  .nw-object-preboot__fields {
    grid-template-columns: 1fr;
  }

  .nw-object-preboot__panel--side {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nw-object-preboot__progress::after,
  .nw-object-preboot__title::after,
  .nw-object-preboot__line::after,
  .nw-object-preboot__field b::after,
  .nw-object-preboot__field span::after,
  .nw-object-preboot__preview::after {
    animation: none;
  }
}
