/* Shared by every brand (packages/im_features/web_shell); the brand's colours
   come from im_web_brand.css (--im-brand*, --im-load-*).
   "已在其他标签页打开" page (im_web_boot.js). */
.yx-busy {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #f5f6f8;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.yx-busy-card {
  max-width: 360px;
  width: 100%;
  padding: 32px 24px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
}
.yx-busy-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2329;
}
.yx-busy-text {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #646a73;
}
.yx-busy-button {
  margin-top: 24px;
  padding: 10px 28px;
  border: 0;
  border-radius: 8px;
  background: var(--im-busy-button, #b8862f);
  color: var(--im-busy-button-text, #fff);
  font-size: 15px;
  cursor: pointer;
}
.yx-busy-button:disabled {
  opacity: 0.6;
  cursor: default;
}
/* "正在退出…": over the running app (Flutter's view) until the reload. */
.yx-leaving {
  z-index: 2147483647;
}

/* Loading page until Flutter's first frame (im_web_boot.js showLoading).
   Same place and colours as the brand's Flutter start page: grey page, on
   wide screens a 420 column, the brand at its foot. */
.yx-load {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  background: #ecedef;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.yx-load-col {
  width: 420px;
  height: 100%;
  background: var(--im-load-column, #f0f0f0);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.yx-load-mid {
  box-sizing: border-box;
  flex: 1;
  width: 100%;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.yx-load-mark > svg, .yx-load-mark > img { width: 56px; height: 56px; color: var(--im-brand, #f5b01e); }
.yx-load-bar {
  margin-top: 28px;
  width: 240px;
  height: 6px;
  border-radius: 3px;
  background: #e0e1e3;
  overflow: hidden;
}
.yx-load-bar > i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 3px;
  background: var(--im-brand, #f5b01e);
  transition: width 0.3s ease-out;
}
.yx-load-text { margin-top: 14px; font-size: 14px; line-height: 20px; color: #4d4d4d; }
.yx-load-steps { margin-top: 18px; display: flex; gap: 18px; font-size: 12px; color: #a3a3a3; }
.yx-load-steps span { display: flex; align-items: center; gap: 4px; }
.yx-load-steps b {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #cfd0d2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 10px;
  color: #a3a3a3;
}
.yx-load-steps .done { color: #4d4d4d; }
.yx-load-steps .done b { background: var(--im-brand, #f5b01e); border-color: var(--im-brand, #f5b01e); color: #fff; }
.yx-load-steps .now { color: #1a1a1a; font-weight: 500; }
.yx-load-steps .now b { border-color: var(--im-brand, #f5b01e); color: var(--im-brand-strong, #b88100); }
.yx-load-sub { margin-top: 14px; font-size: 12px; line-height: 18px; color: #a3a3a3; text-align: center; }
.yx-load-brand { padding-bottom: 32px; display: flex; flex-direction: column; align-items: center; }
.yx-load-brand-row { display: flex; align-items: center; gap: 8px; }
.yx-load-brand-row > svg, .yx-load-brand-row > img { width: 36px; height: 36px; color: var(--im-brand, #f5b01e); }
.yx-load-name { font-size: 24px; line-height: 40px; font-weight: 600; color: var(--im-load-name, #1a1a1a); }
.yx-load-company { margin-top: 4px; font-size: 14px; line-height: 20px; color: #a3a3a3; }
.yx-load-retry {
  margin-top: 16px;
  padding: 8px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--im-brand, #f5b01e);
  color: var(--im-brand-on, #1a1a1a);
  font-size: 14px;
  cursor: pointer;
}
.yx-load-retry[hidden] { display: none; }
.yx-load-failed .yx-load-bar,
.yx-load-failed .yx-load-steps { display: none; }
@media (max-width: 600px) {
  .yx-load-col { width: 100%; box-shadow: none; }
  .yx-load-mid { padding: 0 16px; }
  .yx-load-steps { gap: 10px; }
}
