/* Hummtech：按目标工作区结构生成的紧凑导航骨架与同页按钮等待态。 */
.bnw-hummtech-live { position: fixed; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bnw-hummtech-loader[hidden] { display: none !important; }
.bnw-hummtech-loader {
  position: fixed;
  z-index: 2147482000;
  inset: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(circle at 90% 12%, rgba(15, 109, 242, .12), transparent 30%),
    linear-gradient(180deg, rgba(238, 246, 255, .985), rgba(226, 237, 252, .985));
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
html.bnw-hummtech-page-loading,
html.bnw-hummtech-page-loading body { cursor: progress; }
html.bnw-hummtech-page-loading .bnw-hummtech-loader { opacity: 1; pointer-events: auto; }
.bnw-hummtech-loader::before {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, #0f6df2, #0a9278, #d39d1f, transparent);
  background-size: 220% 100%;
  box-shadow: 0 0 18px rgba(15, 109, 242, .28);
  animation: bnw-hummtech-beam 1.5s linear infinite;
}
.bnw-hummtech-loader-shell { width: min(1060px, calc(100% - 38px)); margin: 0 auto; padding: clamp(22px, 3.5vw, 40px) 0 28px; }
.bnw-hummtech-loader-status { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; color: #12234a; }
.bnw-hummtech-loader-status > span:last-child { display: grid; gap: 3px; }
.bnw-hummtech-loader-status strong { font-size: 15px; }
.bnw-hummtech-loader-status small { color: #5c7096; font-size: 12px; }
.bnw-hummtech-loader-signal {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(15, 109, 242, .28);
  border-radius: 13px;
  background: linear-gradient(145deg, #102650, #0b5bc8);
  box-shadow: 0 10px 22px rgba(59, 96, 163, .16);
}
.bnw-hummtech-loader-signal::before {
  position: absolute;
  inset: 9px;
  border: 2px solid rgba(255, 255, 255, .25);
  border-top-color: #fff;
  border-right-color: #65dec5;
  border-radius: 50%;
  content: "";
  animation: bnw-hummtech-spin .8s linear infinite;
}

.bnw-hummtech-skeleton { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 12px; }
.bnw-hummtech-skeleton main,
.bnw-hummtech-dashboard-grid,
.bnw-hummtech-screening-grid,
.bnw-hummtech-balance-grid,
.bnw-hummtech-detail-grid { display: grid; align-content: start; gap: 12px; min-width: 0; }
.bnw-hummtech-dashboard-grid { grid-template-columns: minmax(0, 1.65fr) minmax(190px, .62fr); }
.bnw-hummtech-screening-grid { grid-template-columns: minmax(0, 1.5fr) minmax(210px, .68fr); }
.bnw-hummtech-balance-grid,
.bnw-hummtech-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.bnw-hummtech-nav-shape,
.bnw-hummtech-skeleton article,
.bnw-hummtech-metrics i,
.bnw-hummtech-plan-grid i {
  border: 1px solid rgba(177, 203, 239, .92);
  border-radius: 14px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 8px 22px rgba(59, 96, 163, .07);
}
.bnw-hummtech-nav-shape { display: grid; align-content: start; gap: 12px; min-height: 330px; padding: 17px 14px; }
.bnw-hummtech-skeleton article { min-height: 0; padding: 16px; }
.bnw-hummtech-skeleton article > header { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 11px; border-bottom: 1px solid #dce8f8; }
.bnw-hummtech-skeleton article > header i:first-child { width: 42%; }
.bnw-hummtech-skeleton article > header i:last-child { width: 18%; }
.bnw-hummtech-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bnw-hummtech-metrics i { min-height: 84px; }
.bnw-hummtech-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bnw-hummtech-plan-grid i { min-height: 122px; }

.bnw-hummtech-skeleton i { position: relative; overflow: hidden; }
.bnw-hummtech-nav-shape i,
.bnw-hummtech-skeleton article i,
.bnw-hummtech-document-tabs i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #dce9fb;
}
.bnw-hummtech-skeleton i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(104deg, transparent 20%, rgba(255,255,255,.86) 44%, rgba(15,109,242,.20) 50%, rgba(255,255,255,.86) 56%, transparent 80%);
  transform: translateX(-115%);
  animation: bnw-hummtech-shimmer 1.6s cubic-bezier(.4,0,.2,1) infinite;
}

.bnw-hummtech-filter-row,
.bnw-hummtech-table-head,
.bnw-hummtech-table-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.bnw-hummtech-filter-row { margin: 11px 0; }
.bnw-hummtech-filter-row i { height: 29px !important; border-radius: 7px !important; }
.bnw-hummtech-table-head { padding: 8px 2px; border-bottom: 1px solid #dce8f8; }
.bnw-hummtech-table-row { min-height: 34px; align-items: center; padding: 8px 2px; border-bottom: 1px solid #edf3fb; }
.bnw-hummtech-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.bnw-hummtech-field-grid i { height: 34px !important; border-radius: 8px !important; }
.bnw-hummtech-field-grid i:first-child { grid-column: 1 / -1; }
.bnw-hummtech-action-row { display: flex; justify-content: flex-end; padding-top: 12px; }
.bnw-hummtech-action-row i { width: 112px; height: 33px !important; border-radius: 8px !important; }
.bnw-hummtech-pricing-card,
.bnw-hummtech-code-card,
.bnw-hummtech-insight-card,
.bnw-hummtech-balance-card,
.bnw-hummtech-balance-actions { align-content: start; display: grid; gap: 13px; min-height: 176px !important; }
.bnw-hummtech-pricing-card i:nth-child(2),
.bnw-hummtech-balance-card i:nth-child(2) { width: 70%; height: 24px; }
.bnw-hummtech-document-tabs { display: flex; gap: 8px; padding: 10px 12px; border: 1px solid #b1cbef; border-radius: 12px; background: rgba(255,255,255,.92); }
.bnw-hummtech-document-tabs i { width: 112px; height: 28px; border-radius: 7px; }
.bnw-hummtech-detail-hero { min-height: 108px !important; align-content: center; display: grid; gap: 10px; }
.bnw-hummtech-detail-hero i:nth-child(2) { width: 62%; height: 24px; }
.bnw-hummtech-detail-grid article { display: grid; gap: 12px; min-height: 150px; }

.bnw-hummtech-control-loading { position: relative !important; cursor: wait !important; pointer-events: none !important; }
.bnw-hummtech-control-loading::after {
  display: inline-block;
  width: .9em;
  height: .9em;
  margin-left: .55em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  vertical-align: -.12em;
  animation: bnw-hummtech-spin .75s linear infinite;
}
.bnw-hummtech-card-busy { position: relative; isolation: isolate; box-shadow: 0 0 0 1px rgba(15, 109, 242, .22), 0 10px 24px rgba(59, 96, 163, .1) !important; }
.bnw-hummtech-card-busy::before { position: absolute; z-index: 4; inset: 0 0 auto; height: 2px; content: ""; background: linear-gradient(90deg, #0f6df2, #0a9278); opacity: .8; }

@keyframes bnw-hummtech-beam { to { background-position: -220% 0; } }
@keyframes bnw-hummtech-spin { to { transform: rotate(360deg); } }
@keyframes bnw-hummtech-shimmer { to { transform: translateX(115%); } }

@media (max-width: 780px) {
  .bnw-hummtech-skeleton { grid-template-columns: 1fr; }
  .bnw-hummtech-nav-shape { display: none; }
  .bnw-hummtech-dashboard-grid,
  .bnw-hummtech-screening-grid,
  .bnw-hummtech-balance-grid,
  .bnw-hummtech-detail-grid { grid-template-columns: 1fr; }
  .bnw-hummtech-pricing-card,
  .bnw-hummtech-code-card,
  .bnw-hummtech-insight-card { min-height: 110px !important; }
}
@media (max-width: 540px) {
  .bnw-hummtech-loader-shell { width: min(100% - 24px, 520px); }
  .bnw-hummtech-metrics,
  .bnw-hummtech-plan-grid { grid-template-columns: 1fr 1fr; }
  .bnw-hummtech-metrics > :last-child,
  .bnw-hummtech-plan-grid > :last-child { display: none; }
  .bnw-hummtech-field-grid { grid-template-columns: 1fr; }
  .bnw-hummtech-field-grid i:first-child { grid-column: auto; }
  .bnw-hummtech-table-head > :nth-child(n + 3),
  .bnw-hummtech-table-row > :nth-child(n + 3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bnw-hummtech-loader::before,
  .bnw-hummtech-loader-signal::before,
  .bnw-hummtech-skeleton i::after,
  .bnw-hummtech-control-loading::after { animation: none !important; }
}
