:root {
  color: #13203a;
  background: #f3f6fa;
  font-family: "Noto Sans CJK SC", "Noto Sans SC", Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body, #app {
  width: 100%;
  min-width: 1280px;
  min-height: 100%;
  margin: 0;
}

html, body, #app { height: 100%; }

body { overflow: hidden; }

#app {
  position: relative;
  overflow: hidden;
  background: #e9eef6;
}

.hhy-native-template-host,
.hhy-r10-operation-host {
  display: block;
  width: 100vw;
  min-width: 1280px;
  height: 100vh;
  min-height: 720px;
  margin: 0;
  overflow: hidden;
  background: #f3f6fa;
  font-family: "Noto Sans CJK SC", "Noto Sans SC", Inter, system-ui, sans-serif;
}

.hhy-native-template-host[hidden] { display: none !important; }

.hhy-native-route-loading {
  position: absolute;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  min-width: 1280px;
  min-height: 720px;
  background: #edf2f8;
  color: #66758d;
  font-size: 13px;
}

.hhy-native-route-loading::before {
  content: "";
  width: 24px;
  height: 24px;
  margin: 0 12px -52px 0;
  border: 3px solid rgba(49, 92, 232, .16);
  border-top-color: #315ce8;
  border-radius: 50%;
  animation: hhy-native-spin .8s linear infinite;
}

.hhy-native-mount-error {
  min-height: 320px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #17233d;
  background: #f4f7fb;
}

.hhy-native-mount-error strong { font-size: 18px; }
.hhy-native-mount-error p { max-width: 540px; margin: 10px 0 18px; color: #778197; font-size: 12px; line-height: 1.7; }
.hhy-native-mount-error button { min-height: 40px; padding: 0 16px; border: 1px solid #315ce8; border-radius: 11px; color: #fff; background: #315ce8; font-weight: 750; }

.hhy-supplier-visual-neutralized {
  min-height: 22px !important;
  background: #eef1f5 !important;
  background-image: none !important;
  opacity: .55;
}

@keyframes hhy-native-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .hhy-native-route-loading::before { animation: none; }
}
