/* 阶段 3：统一订单面板 + 四态 */
.u-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 12px 0;
}
.u-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.u-order-no { font-size: 16px; font-weight: 700; color: #0d3b66; }
.u-muted { color: #64748b; font-size: 12px; margin-top: 2px; }
.u-section { margin: 10px 0; }
.u-section-title { font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 6px; }
.u-steps { list-style: none; margin: 0; padding: 0; }
.u-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 13px;
  color: #475569;
}
.u-step.done { color: #0f766e; background: #f0fdfa; font-weight: 600; }
.u-step .u-mark { width: 18px; text-align: center; }
.u-step code {
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
}
.u-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.u-actions .btn { flex: 1 1 140px; min-height: 42px; }
.u-docs {
  margin-top: 10px;
  padding: 8px 10px;
  background: #eff6ff;
  border-radius: 8px;
  font-size: 13px;
}
.u-docs a { color: #1d4ed8; font-weight: 600; text-decoration: none; }

/* 四态徽标 */
.u-sync {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.u-st-local { background: #f1f5f9; color: #475569; }
.u-st-submitting { background: #fef3c7; color: #92400e; }
.u-st-confirmed { background: #d1fae5; color: #065f46; }
.u-st-failed { background: #fee2e2; color: #991b1b; }
.u-sync small { font-weight: 400; opacity: 0.85; }

/* 固定同步状态条（顶部） */
.u-sync-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 6px 12px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
