/* 空间智检弹窗 */
#analysisCtl { position: absolute; top: 72px; left: calc(50% - 170px); z-index: 22; width: 340px;
  background: rgba(255,255,255,.98); border: 1px solid rgba(15,118,110,.14); border-radius: 10px;
  box-shadow: 0 12px 34px rgba(15,23,42,.22); padding: 0 14px 13px; will-change: left, top; }
#analysisCtl.hidden { display: none; }
#analysisCtl.dragging { user-select: none; box-shadow: 0 18px 48px rgba(15,23,42,.34); }
.tool-pop-head { font-size: 14px; font-weight: 700; color: #1f2937; margin-bottom: 5px; }
#analysisCtl .tool-pop-head { display: flex; align-items: center; justify-content: space-between; margin: 0 -14px 10px;
  padding: 11px 14px 10px; border-radius: 10px 10px 0 0; cursor: grab; touch-action: none;
  background: linear-gradient(90deg, rgba(240,253,250,.98), rgba(248,250,252,.98));
  border-bottom: 1px solid rgba(15,118,110,.1); }
#analysisCtl.dragging .tool-pop-head { cursor: grabbing; }
#analysisCtl .tool-pop-head em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 400; color: #94a3b8; }
#analysisCtl .ana-close { width: 24px; height: 24px; margin-left: 8px; border: none; border-radius: 6px;
  background: transparent; color: #64748b; font-size: 20px; line-height: 22px; cursor: pointer; }
#analysisCtl .ana-close:hover { background: rgba(15,118,110,.1); color: #0f172a; }
.ana-sub { font-size: 11.5px; color: #64748b; line-height: 1.5; margin-bottom: 10px; }
#analysisCtl .dw-btns { margin: 8px 0; }
#analysisCtl .dw-b { padding: 8px 0; }
#analysisCtl .ana-primary { flex: none; width: 100%; border: none; background: #0f766e; color: #fff; font-weight: 700; }
#analysisCtl .ana-primary:hover:not(:disabled) { background: #0d665f; }
.ana-status { display: flex; align-items: center; gap: 9px; margin: 10px 0 6px; padding: 9px 10px;
  border-radius: 8px; background: #f0fdfa; border: 1px solid #bde8dd; color: #0f766e; font-size: 12px; }
.ana-status.hidden { display: none; }
.ana-status i { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(15,118,110,.24);
  border-top-color: #0f766e; animation: anaSpin .85s linear infinite; flex: none; }
@keyframes anaSpin { to { transform: rotate(360deg); } }

#smartScanModal { position: absolute; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 46%, rgba(14,165,233,.16), rgba(15,23,42,.38) 42%, rgba(15,23,42,.58));
  backdrop-filter: blur(2px); pointer-events: none; }
#smartScanModal.hidden { display: none; }
.scan-card { width: 360px; padding: 26px 28px 24px; border-radius: 14px; text-align: center; color: #ecfeff;
  background: linear-gradient(180deg, rgba(8,47,73,.88), rgba(15,118,110,.82));
  border: 1px solid rgba(165,243,252,.32); box-shadow: 0 24px 80px rgba(2,6,23,.45), inset 0 1px 0 rgba(255,255,255,.16); }
.scan-orbit { position: relative; width: 126px; height: 126px; margin: 0 auto 18px; border-radius: 50%;
  background: radial-gradient(circle, rgba(236,254,255,.2) 0 18%, rgba(34,211,238,.08) 19% 42%, transparent 43%); }
.scan-orbit::before, .scan-orbit::after, .scan-orbit i { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(165,243,252,.32); }
.scan-orbit::before { inset: 14px; animation: scanPulse 1.35s ease-out infinite; }
.scan-orbit::after { inset: 28px; border-style: dashed; animation: scanSpin 5s linear infinite; }
.scan-orbit i:nth-child(1) { inset: 5px; border-color: rgba(45,212,191,.36); animation: scanSpin 3.2s linear infinite; }
.scan-orbit i:nth-child(2) { inset: 20px; border-color: rgba(125,211,252,.28); animation: scanSpin 4.4s linear infinite reverse; }
.scan-orbit i:nth-child(3) { inset: 39px; border-color: rgba(240,253,250,.26); }
.scan-orbit b { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: #67e8f9; box-shadow: 0 0 20px #67e8f9, 0 0 46px rgba(45,212,191,.8); }
.scan-title { font-size: 20px; font-weight: 800; letter-spacing: 0; }
.scan-sub { margin-top: 8px; font-size: 12px; line-height: 1.6; color: #cffafe; }
.scan-bar { height: 4px; margin-top: 18px; border-radius: 99px; overflow: hidden; background: rgba(236,254,255,.18); }
.scan-bar span { display: block; width: 42%; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, transparent, #67e8f9, #a7f3d0); animation: scanBar 1.1s ease-in-out infinite; }
@keyframes scanSpin { to { transform: rotate(360deg); } }
@keyframes scanPulse { 0% { transform: scale(.78); opacity: .95; } 100% { transform: scale(1.18); opacity: 0; } }
@keyframes scanBar { 0% { transform: translateX(-105%); } 100% { transform: translateX(245%); } }
